-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB2/DB2as400 glue get table api issue fix #2506
DB2/DB2as400 glue get table api issue fix #2506
Conversation
157e43e
to
5687505
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2506 +/- ##
============================================
+ Coverage 61.09% 61.19% +0.09%
- Complexity 3738 3752 +14
============================================
Files 576 577 +1
Lines 21348 21430 +82
Branches 2654 2659 +5
============================================
+ Hits 13043 13114 +71
- Misses 7037 7046 +9
- Partials 1268 1270 +2 ☔ View full report in Codecov by Sentry. |
5687505
to
95fb6a9
Compare
...b2-as400/src/main/java/com/amazonaws/athena/connectors/db2as400/Db2As400MetadataHandler.java
Outdated
Show resolved
Hide resolved
athena-db2/src/main/java/com/amazonaws/athena/connectors/db2/Db2MetadataHandler.java
Outdated
Show resolved
Hide resolved
question; has this been tested with and without glue connection? |
Please find test document attached for both glue and without glue. |
Issue #, if available:
Description of changes:
The DB2/DB2as400 Glue Get Table API was not retrieving data as expected due to a case-sensitivity issue with the PARTITION_NUMBER. By converting the PARTITION_NUMBER column to lowercase, we achieved successful data retrieval through the Glue API.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.