Skip to content

Commit

Permalink
Extended QPT to JDBC Multiplexing (#1959)
Browse files Browse the repository at this point in the history
Enables QPT for Multiplexing JDBC-based connectors.
  • Loading branch information
AbdulR3hman authored May 7, 2024
1 parent 17fba43 commit b81300d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ public GetTableResponse doGetTable(BlockAllocator blockAllocator, GetTableReques
return this.metadataHandlerMap.get(getTableRequest.getCatalogName()).doGetTable(blockAllocator, getTableRequest);
}

@Override
public GetTableResponse doGetQueryPassthroughSchema(final BlockAllocator blockAllocator, final GetTableRequest getTableRequest)
throws Exception
{
validateMultiplexer(getTableRequest.getCatalogName());
return this.metadataHandlerMap.get(getTableRequest.getCatalogName()).doGetQueryPassthroughSchema(blockAllocator, getTableRequest);
}

@Override
public void getPartitions(final BlockWriter blockWriter, final GetTableLayoutRequest getTableLayoutRequest, QueryStatusChecker queryStatusChecker)
throws Exception
Expand Down

0 comments on commit b81300d

Please sign in to comment.