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

HIVE-28362: Fail to materialize a CTE with VOID #5335

Closed
wants to merge 1 commit into from

Conversation

okumin
Copy link
Contributor

@okumin okumin commented Jul 5, 2024

What changes were proposed in this pull request?

Allow materialized CTEs to hold NULL literals.
https://issues.apache.org/jira/browse/HIVE-28362

Why are the changes needed?

Materialized CTEs should keep the original semantics of the CTEs. Regular CTEs allow a VOID type, then materialized CTEs also allow it.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

Tested by the new qtest.

Copy link

sonarcloud bot commented Jul 5, 2024

@okumin
Copy link
Contributor Author

okumin commented Jul 5, 2024

Based on the discussion in JIRA, it is not a good idea to accept VOID because some data formats like Parquet or ORC don't support it.

@okumin okumin closed this Jul 5, 2024
@okumin okumin deleted the HIVE-28362-cte-mat-null branch July 5, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants