Skip to content
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

Parse map(k1,v1,k2,v2) from hive to trino #98

Closed
wants to merge 1 commit into from

Conversation

JiajunBernoulli
Copy link
Contributor

For hive, SELECT MAP(k1, v1, k2, v2) is

{k1=v1, k2=v2};

but for trino, sql should be SELECT MAP(ARRAY[k1,k2], ARRAY[v1,v2])

KevinGe00 added a commit to KevinGe00/coral that referenced this pull request Feb 16, 2024
KevinGe00 added a commit that referenced this pull request Apr 11, 2024
…de layer (#491)

* Initial commit for migrating Cast

* add type derivation changes

* type derivation enhance and test debug

* remove testing files

* spotlessapply + comment out failing unit test

* update unit tests

* fix regression by TypeDerivationUtil on casts with join on simple aliases

* generalize case of casting with join on simple aliases

* remove extraneous input to dummy select

* temporary removal of type util postprocessor for i-test

* revert

* spotless checks

* update calcite version for linkedin-calcite #98/#99

* remove Calcite2TrinoUDFConverter

* clean up tests

* unused imports

* spotless

* improve javadoc/documentation

* fix javadoc

* improve javadoc

* grammar

* refactor + clean up

---------

Co-authored-by: aastha25 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant