-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Clean up Snowflake type mapping code #21405
Conversation
/test-with-secrets sha=98fe1e1753ab733347114007af44dd971cd0966f |
The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/8562287121 |
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake/SnowflakeClient.java
Outdated
Show resolved
Hide resolved
Please rebase on master to resolve conflicts. |
@ebyhr Thanks for the review. Just addressed the comments. Added as a separate commit so please help squash them when merging. |
/test-with-secrets sha=105a60a2b50baa7dab33873d684f39d2eda53cee |
The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/8654894697 |
1. Replace maps with switch/case statements to avoid repetitive building of the maps. 2. Re-order types so that the order is consistent with other connectors. 3. Inlining/renaming some methods for better readability.
Description
Splitting #21012 into incremental ones. This is the first part of it.
Description:
Additional context and related issues
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: