Skip to content

Commit

Permalink
Add catalog name to DeltaLakeTestUtils.getColumnCommentOnTrino
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Jun 6, 2023
1 parent d2f273d commit 44a8a7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static Optional<DatabricksVersion> getDatabricksRuntimeVersion()
public static String getColumnCommentOnTrino(String schemaName, String tableName, String columnName)
{
return (String) onTrino()
.executeQuery("SELECT comment FROM information_schema.columns WHERE table_schema = '" + schemaName + "' AND table_name = '" + tableName + "' AND column_name = '" + columnName + "'")
.executeQuery("SELECT comment FROM delta.information_schema.columns WHERE table_schema = '" + schemaName + "' AND table_name = '" + tableName + "' AND column_name = '" + columnName + "'")
.getOnlyValue();
}

Expand Down

0 comments on commit 44a8a7c

Please sign in to comment.