diff --git a/libtsuba/src/RDGCore.cpp b/libtsuba/src/RDGCore.cpp index 5562b30c2e..8d329207f0 100644 --- a/libtsuba/src/RDGCore.cpp +++ b/libtsuba/src/RDGCore.cpp @@ -57,7 +57,8 @@ UpsertProperties( if (!next->schema()->HasDistinctFieldNames()) { return KATANA_ERROR( - tsuba::ErrorCode::Exists, "column names are not distinct"); + tsuba::ErrorCode::Exists, "column names are not distinct: {}", + fmt::join(next->schema()->field_names(), ", ")); } *to_update = next;