Skip to content

Commit

Permalink
empty
Browse files Browse the repository at this point in the history
  • Loading branch information
findinpath committed Nov 21, 2023
1 parent 56246b3 commit ad5ed6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ public static TableInput convertTable(Table table)
Map<String, String> tableParameters = table.getParameters();
Optional<String> comment = Optional.empty();
if (!isTrinoView(table) && !isTrinoMaterializedView(table)) {
comment = Optional.ofNullable(tableParameters.get(TABLE_COMMENT));
tableParameters = tableParameters.entrySet().stream()
.filter(entry -> !entry.getKey().equals(TABLE_COMMENT))
.collect(toImmutableMap(Entry::getKey, Entry::getValue));
comment = Optional.ofNullable(table.getParameters().get(TABLE_COMMENT));
}

TableInput input = new TableInput();
Expand Down

0 comments on commit ad5ed6e

Please sign in to comment.