Skip to content

Commit

Permalink
Sqlserver in the query editor always returns UPPERCASE table names is…
Browse files Browse the repository at this point in the history
…sue fix (#2435)

Co-authored-by: ejeffrli <[email protected]>
  • Loading branch information
VenkatasivareddyTR and ejeffrli authored Jan 9, 2025
1 parent bb00b44 commit 09e8689
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ public GetTableResponse doGetTable(final BlockAllocator blockAllocator, final Ge
{
try (Connection connection = getJdbcConnectionFactory().getConnection(getCredentialProvider())) {
Schema partitionSchema = getPartitionSchema(getTableRequest.getCatalogName());
TableName tableName = new TableName(getTableRequest.getTableName().getSchemaName().toUpperCase(), getTableRequest.getTableName().getTableName().toUpperCase());
TableName tableName = new TableName(getTableRequest.getTableName().getSchemaName().toUpperCase(), getTableRequest.getTableName().getTableName());
return new GetTableResponse(getTableRequest.getCatalogName(), tableName, getSchema(connection, tableName, partitionSchema),
partitionSchema.getFields().stream().map(Field::getName).collect(Collectors.toSet()));
}
Expand Down

0 comments on commit 09e8689

Please sign in to comment.