diff --git a/src/Storages/StorageDelta.cpp b/src/Storages/StorageDelta.cpp index 5fa60206360..518c25c2dff 100644 --- a/src/Storages/StorageDelta.cpp +++ b/src/Storages/StorageDelta.cpp @@ -20,8 +20,8 @@ namespace DB namespace ErrorCodes { - extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int S3_ERROR; + extern const int BAD_ARGUMENTS; } void DeltaLakeMetadata::add(const String & key, uint64_t timestamp) diff --git a/src/Storages/StorageHudi.cpp b/src/Storages/StorageHudi.cpp index b4eba258d0e..f3e16d2969a 100644 --- a/src/Storages/StorageHudi.cpp +++ b/src/Storages/StorageHudi.cpp @@ -17,7 +17,7 @@ namespace DB namespace ErrorCodes { - extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; + extern const int BAD_ARGUMENTS; extern const int S3_ERROR; }