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

Revert [Coral-Trino] PR#442 Remove UnionSqlCallTransformer #495

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

aastha25
Copy link
Contributor

@aastha25 aastha25 commented Mar 5, 2024

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

This reverts commit 4bb38a1. [PR: https://github.com//pull/442 ]

OSS Trino community contributed a patch PR#442 to Cast char fields, if necessary, to varchar type to ensure that the char fields from the inner SELECT statements have the same type as the output field types of the set operation (example UNION). This code change has led to a large number of modifications in generated trino SQLs, which has introduced complexities in the review process of production datasets. To avoid any potential regression, this commit is being rolled back in the hotfix branch. The commit will be reexamined and reintroduced at a later point with a deployment plan.

How was this patch tested?

./gradlew build
i-tested against production views.

@aastha25 aastha25 changed the title Revert "[Coral-Trino] PR#442 UnionSqlCallTransformer Revert [Coral-Trino] PR#442 Remove UnionSqlCallTransformer Mar 5, 2024
@aastha25 aastha25 merged commit 31078d6 into linkedin:li-trino-hotfix Mar 5, 2024
1 check passed
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.

2 participants