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

[CALCITE-6664] Replace GREATEST, LEAST functions in Spark library wit… #4090

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joeyutong
Copy link

GREATEST or LEAST function in Spark library returns null if any of its parameters are null, it is not consistent with the description of Spark docs

Returns the greatest value of all parameters, skipping null values.

This PR tries to replacement the implementation of these functions with the implementation in PostgreSQL Library

Copy link
Contributor

@NobiGo NobiGo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't change the SqlKind, this issue will become simple.

Copy link
Contributor

@NobiGo NobiGo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mihaibudiu mihaibudiu added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Dec 16, 2024
@mihaibudiu
Copy link
Contributor

please squash the commits so we can merge this

@NobiGo
Copy link
Contributor

NobiGo commented Dec 17, 2024

Commit Info needs to be consistent with Jira Summary and I think Jira summary is good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LGTM-will-merge-soon Overall PR looks OK. Only minor things left.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants