Skip to content

Commit 4819149

Browse files
committed
better logging
1 parent cf4d137 commit 4819149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Databases/DataLake/GlueCatalog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ bool GlueCatalog::classifyTimestampTZ(const String & column_name, const TableMet
428428
metadata_path = metadata_path.substr(pos + 1);
429429
}
430430
else
431-
throw DB::Exception(DB::ErrorCodes::BAD_ARGUMENTS, "Metadata specific properties should be defined");
431+
throw DB::Exception(DB::ErrorCodes::BAD_ARGUMENTS, "Failed to read table metadata, reason why table is unreadable: {}", table_metadata.getReasonWhyTableIsUnreadable());
432432

433433
if (!metadata_objects.get(metadata_path))
434434
{

0 commit comments

Comments
 (0)