Skip to content

Conversation

@zy-kkk
Copy link
Member

@zy-kkk zy-kkk commented Nov 6, 2024

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #42102

Problem Summary:

When a predicate involves multiple nested functions, there will be some implicit type casts, so it cannot be pushed down. We need to set enable_jdbc_cast_predicate_push_down to true to push down similar predicates.

Check List (For Committer)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No colde files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.
  • Release note

    None

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@zy-kkk
Copy link
Member Author

zy-kkk commented Nov 6, 2024

run buildall

Copy link
Contributor

@morningman morningman 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 Nov 7, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2024

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2024

PR approved by anyone and no changes requested.

@zy-kkk zy-kkk merged commit 60b6e56 into apache:master Nov 7, 2024
@zy-kkk zy-kkk deleted the fix_ck_case1106 branch November 7, 2024 09:05
github-actions bot pushed a commit that referenced this pull request Nov 7, 2024
…#43348)

When a predicate involves multiple nested functions, there will be some implicit type casts, so it cannot be pushed down. We need to set `enable_jdbc_cast_predicate_push_down` to true to push down similar predicates.
github-actions bot pushed a commit that referenced this pull request Nov 7, 2024
…#43348)

When a predicate involves multiple nested functions, there will be some implicit type casts, so it cannot be pushed down. We need to set `enable_jdbc_cast_predicate_push_down` to true to push down similar predicates.
zy-kkk added a commit that referenced this pull request Nov 11, 2024
…#43348)

When a predicate involves multiple nested functions, there will be some implicit type casts, so it cannot be pushed down. We need to set `enable_jdbc_cast_predicate_push_down` to true to push down similar predicates.
zy-kkk added a commit that referenced this pull request Nov 11, 2024
…sh down case (#43429)

Cherry-picked from #43348

Co-authored-by: zy-kkk <zhongyongkang@selectdb.com>
morningman pushed a commit that referenced this pull request Nov 11, 2024
…sh down case (#43431)

Cherry-picked from #43348

Co-authored-by: zy-kkk <zhongyk10@gmail.com>
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. dev/2.1.8-merged dev/3.0.3-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants