Skip to content

[Optimize](functions)Reconstruct basic process for default function implementation.#17830

Merged
HappenLee merged 1 commit intoapache:masterfrom
zclllyybb:const_column
Mar 17, 2023
Merged

[Optimize](functions)Reconstruct basic process for default function implementation.#17830
HappenLee merged 1 commit intoapache:masterfrom
zclllyybb:const_column

Conversation

@zclllyybb
Copy link
Contributor

@zclllyybb zclllyybb commented Mar 15, 2023

Proposed changes

Problem summary

The constant/nullable deal logic relies on weird recursion. And to avoid infinite recursion, we need an unequal logic for const columns. Now we don't anymore.
After, all const-constraint could and must be dealt with in get_arguments_that_are_always_constant.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

need to fix scattered checks in functions.

@github-actions github-actions bot added area/sql/function Issues or PRs related to the SQL functions area/vectorization labels Mar 15, 2023
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@HappenLee
Copy link
Contributor

run buildall

@zclllyybb zclllyybb changed the title [Optimize-WIP](functions)Reconstruct basic process for default function implementation. [Optimize](functions)Reconstruct basic process for default function implementation. Mar 16, 2023
@zclllyybb
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Mar 16, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

1 similar comment
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@HappenLee HappenLee merged commit b95cd7e into apache:master Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/sql/function Issues or PRs related to the SQL functions area/vectorization reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants