Skip to content

Commit

Permalink
use case resolver for listPaginatedTables as well
Browse files Browse the repository at this point in the history
  • Loading branch information
aimethed committed Jan 7, 2025
1 parent fcb51fe commit 934e318
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ protected ListTablesResponse listPaginatedTables(final Connection connection, fi
int t = token != null ? Integer.parseInt(token) : 0;

LOGGER.info("Starting pagination at {} with page size {}", token, pageSize);
List<TableName> paginatedTables = getPaginatedTables(connection, listTablesRequest.getSchemaName(), t, pageSize);
String casedSchemaName = OracleCaseResolver.getAdjustedSchemaName(connection, listTablesRequest.getSchemaName(), configOptions);
List<TableName> paginatedTables = getPaginatedTables(connection, casedSchemaName, t, pageSize);
LOGGER.info("{} tables returned. Next token is {}", paginatedTables.size(), t + pageSize);
return new ListTablesResponse(listTablesRequest.getCatalogName(), paginatedTables, Integer.toString(t + pageSize));
}
Expand Down

0 comments on commit 934e318

Please sign in to comment.