-
Notifications
You must be signed in to change notification settings - Fork 301
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
Upgraded Arrow to 18 #2576
Upgraded Arrow to 18 #2576
Conversation
8feaed1
to
cad94a7
Compare
...st/java/com/amazonaws/athena/connectors/clickhouse/ClickHouseMuxJdbcMetadataHandlerTest.java
Outdated
Show resolved
Hide resolved
6523849
to
f6a57c6
Compare
} | ||
if (columnType != null && !SupportedTypes.isSupported(columnType)) { | ||
columnType = Types.MinorType.VARCHAR.getType(); | ||
if (columnType.isPresent() && !SupportedTypes.isSupported(columnType.get())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These 2 conditions can be combined
} | ||
|
||
LOGGER.debug("columnType: " + columnType); | ||
if (columnType != null && SupportedTypes.isSupported(columnType)) { | ||
schemaBuilder.addField(FieldBuilder.newBuilder(columnName, columnType).build()); | ||
if (columnType.isPresent() && SupportedTypes.isSupported(columnType.get())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These 2 conditions can be combined
} | ||
|
||
if (columnType != null && SupportedTypes.isSupported(columnType)) { | ||
LOGGER.debug("Adding column {} to schema of type {}", columnName, columnType); | ||
if (columnType.isPresent() && SupportedTypes.isSupported(columnType.get())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isPresent no really necessary here as 344 will handle
f6a57c6
to
bff0d07
Compare
Discuss with team, refactoring part will comes as a separate PR |
- Upgraded Arrow to 18 (#2576) - Fixed Encoding Warning (#2595) - Fix codecov format error (#2594) - Update Code Cov on Daily Validation Tests (#2593) - Allow custom glue endpoint to be used (#2587) - Msk connector was throwing null pointer exception when entire record is null, issue fix. (#2588) - Kafka connector was throwing null pointer exception when entire record is null, issue fix. (#2575)
Issue #, if available:
Upgrading to Arrow 18; this will move of from few CVEs as well as bring us closer to the latest version of arrow. requires further testing; release testing, etc.
Description of changes:
Most notable changes are:
Optional
; this helps readability and better than null checkinggoogle-big-query
; version 15 was coming instead of 18. This requires manual testing ofgoogle-big-query
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.