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

where condition lose predicate #52593

Open
LZGH opened this issue Nov 4, 2024 · 0 comments
Open

where condition lose predicate #52593

LZGH opened this issue Nov 4, 2024 · 0 comments
Labels
type/bug Something isn't working

Comments

@LZGH
Copy link

LZGH commented Nov 4, 2024

Steps to reproduce the behavior (Required)

In the following scenario, 'dt > ' condition will not be pushed down, 'dt = ' will normal push down

with from_dt as (
    select
        '20241101' as dt
)
SELECT
    count(*) a
FROM
    hive.db.table
WHERE
    dt > (
        select
            dt
        from
            from_dt
    )

Expected behavior (Required)

where condition push down.

Real behavior (Required)

where condition will not be pushed down

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version()
    3.3.4
@LZGH LZGH added the type/bug Something isn't working label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant