This commit is contained in:
jsc0218 2024-12-09 19:44:59 +00:00
parent e83921d2cb
commit 04d59c7a7c
2 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ PostgreSQLTableStructure::ColumnsInfoPtr readNamesAndTypesList(
{
throw Exception(
ErrorCodes::BAD_ARGUMENTS,
"PostgreSQL cannot infer dimensions of an empty array: {}.{}",
"PostgreSQL cannot infer dimensions of an empty array: {}.{}. Make sure no empty array values in the first row.",
postgres_table,
postgres_column);
}

View File

@ -267,7 +267,7 @@ def test_postgres_array_ndim_error_messges(started_cluster):
assert False
except Exception as error:
assert (
'PostgreSQL cannot infer dimensions of an empty array: array_ndim_view."Mixed-case with spaces"'
'PostgreSQL cannot infer dimensions of an empty array: array_ndim_view."Mixed-case with spaces". Make sure no empty array values in the first row.'
in str(error)
)