awslabs / aws-athena-query-federation

The Amazon Athena Query Federation SDK allows you to customize Amazon Athena with your own data sources and code.
Apache License 2.0
551 stars 283 forks source link

Hbase uppercase table #2019

Closed aimethed closed 1 week ago

aimethed commented 2 weeks ago

Description of changes: Previously, hbase would fail when trying to access tables with uppercase characters because athena does not support uppercase tables. This change allows querying of hbase uppercase tables by handling uppercase names the same way the dynamodb connector handles this: by getting all tables in the hbase namespace and mapping the normal case name to its lowercase name. This ensures that if multiple hbase tables would have the same lowercase name (ex: Table and tAble would both be table), an error is thrown.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AbdulR3hman commented 2 weeks ago

I believe we should preserve the original behavior; and put this change behind a feature flag as it will change what existing customers are expecting the default connector behavior.

aimethed commented 1 week ago

Summary of changes: