Skip to content

Commit

Permalink
Fix logical merge conflict in VerticaClient
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Oct 31, 2024
1 parent 167adf2 commit c65c454
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import io.trino.plugin.jdbc.ConnectionFactory;
import io.trino.plugin.jdbc.JdbcColumnHandle;
import io.trino.plugin.jdbc.JdbcJoinCondition;
import io.trino.plugin.jdbc.JdbcMetadata;
import io.trino.plugin.jdbc.JdbcStatisticsConfig;
import io.trino.plugin.jdbc.JdbcTableHandle;
import io.trino.plugin.jdbc.JdbcTypeHandle;
Expand Down Expand Up @@ -161,7 +162,7 @@ public TableStatistics getTableStatistics(ConnectorSession session, JdbcTableHan
return TableStatistics.empty();
}
try (Connection connection = connectionFactory.openConnection(session)) {
return readTableStatistics(connection, handle, () -> this.getColumns(session, handle));
return readTableStatistics(connection, handle, () -> JdbcMetadata.getColumns(session, this, handle));
}
catch (SQLException | RuntimeException e) {
throwIfInstanceOf(e, TrinoException.class);
Expand Down

0 comments on commit c65c454

Please sign in to comment.