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

[SPARK-37468][SQL] Support ANSI intervals and TimestampNTZ for UnionEstimation #34716

Closed
wants to merge 3 commits into from

Conversation

sarutak
Copy link
Member

@sarutak sarutak commented Nov 26, 2021

What changes were proposed in this pull request?

This PR proposes to support ANSI intervals and TimestampNTZ for UnionEstimation.
Currently, UnionEstimation doesn't support ANSI intervals and TimestampNTZ. But I think it can support those types because their underlying types are integer or long, which UnionEstimation can compute stats for.

Why are the changes needed?

To make CBO better.

Does this PR introduce any user-facing change?

No. Not interferes with the current behavior.

How was this patch tested?

Modified UnionEstimationSuite.

@github-actions github-actions bot added the SQL label Nov 26, 2021
@HyukjinKwon HyukjinKwon changed the title [SPARK-37468][SQL][ Support ANSI intervals and TimestampNTZ for UnionEstimation [SPARK-37468][SQL] Support ANSI intervals and TimestampNTZ for UnionEstimation Nov 26, 2021
@SparkQA
Copy link

SparkQA commented Nov 26, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50115/

@SparkQA
Copy link

SparkQA commented Nov 26, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50115/

@SparkQA
Copy link

SparkQA commented Nov 26, 2021

Test build #145646 has finished for PR 34716 at commit 7927295.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@sarutak
Copy link
Member Author

sarutak commented Nov 29, 2021

cc: @cloud-fan @gengliangwang @MaxGekk

sarutak and others added 2 commits November 30, 2021 00:30
…s/logical/statsEstimation/UnionEstimation.scala

Co-authored-by: Maxim Gekk <[email protected]>
…s/logical/statsEstimation/UnionEstimation.scala

Co-authored-by: Maxim Gekk <[email protected]>
@SparkQA
Copy link

SparkQA commented Nov 29, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50194/

@SparkQA
Copy link

SparkQA commented Nov 29, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50194/

@MaxGekk
Copy link
Member

MaxGekk commented Nov 29, 2021

+1, LGTM. Merging to master.
Thank you, @sarutak .

@MaxGekk MaxGekk closed this in 7484c1b Nov 29, 2021
@SparkQA
Copy link

SparkQA commented Nov 29, 2021

Test build #145724 has finished for PR 34716 at commit 9dc56f1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants