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

[Coral-Spark] Migrate convertToZeroBasedArrayIndex to SqlNode layer + Remove IRRelToSparkRelTransformer #2

Draft
wants to merge 13 commits into
base: single-unions
Choose a base branch
from

Conversation

KevinGe00
Copy link
Owner

What changes are proposed in this pull request, and why are they necessary?

Changes:

  1. Migrate convertToZeroBasedArrayIndex from RelNode layer in IRRelToSparkRelTransformer to SqlNode layer.
  2. Remove IRRelToSparkRelTransformer since convertToZeroBasedArrayIndex was the last transformation in the RelNode layer of coral-spark.

How was this patch tested?

  • clean build
  • regression tests pending

KevinGe00 and others added 13 commits July 22, 2024 17:07
…former (linkedin#512)

* fix redundant transforms/casts

* spotless

* fix fuzzyunionsqlrewriter incorrect struct type when building structs

* remove unused

* spotless

* spotless
* add precision for int and bigint for hive type system

* use static final variables for precisions

* spotless check

* fix converting type to typespec bug

* add UT

* add tinyint and smallint precisions

* spotless

* spotless

* spotless

* new UTs

* add tableInt to rel to trino tests

* spotless

* remove redundant test
* fix single uniontypes in Coral

* remove SingleUnionFieldReferenceTransformer

* remove field reference fix to put in separate PR

* spotless

* update comments

* fix comment + add single uniontype test for RelDataTypeToHiveTypeStringConverter

* spotless

* improve Javadoc for ExtractUnionFunctionTransformer

* use html brackets in javadoc
… conversion (linkedin#521)

* temp

* temp

* use coralsqldialect in trino reltosql

* Import class not member
…ence on UDF calls (linkedin#510)

* fix field reference bug in coral schema

* bring back override tag

* address nits
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.

3 participants