Skip to content

pruning support cast/try_cast expr #3414

Closed

Description

@liukun4515

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

In many case with the filter expr like c1 < 1, the filter expr many be cast to other data type through the type coercion logic.

After the optimizer, the filter may be added the cast/try_cast expr, but it can't be pruned with statistical data

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. liukun4515 commented on Sep 9, 2022

    @liukun4515
    ContributorAuthor

    This also resolve the failed case in #3396

  2. alamb commented on Sep 9, 2022

    @alamb
    Contributor

    I think this is a dupe of #3377

  3. liukun4515 commented on Sep 10, 2022

    @liukun4515
    ContributorAuthor

    I think this is a dupe of #3377

    Thank, I think i missing the issue in the list.
    This issue are just inspired from the test case #3396

  4. liukun4515 commented on Sep 10, 2022

    @liukun4515
    ContributorAuthor

    in order to make the correctness described in #3377, we should make the sure the type of value has order.

    Now we will have the plan to support them:

  5. liukun4515 commented on Sep 13, 2022

    @liukun4515
    ContributorAuthor

    in order to make the correctness described in #3377, we should make the sure the type of value has order.

    Now we will have the plan to support them:

    it is mentioned in the #3442

    I will close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions