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

🪲 Variation of TPC-H query fails #1974

Closed
joocer opened this issue Sep 2, 2024 · 0 comments · Fixed by #1975
Closed

🪲 Variation of TPC-H query fails #1974

joocer opened this issue Sep 2, 2024 · 0 comments · Fixed by #1975
Labels
Bug 🪲 Something isn't working

Comments

@joocer
Copy link
Contributor

joocer commented Sep 2, 2024

select
    sum(l_extendedprice* (1 - l_discount)) as revenue
from
    testdata.tpch_tiny.lineitem,
    testdata.tpch_tiny.part
where
    (
        p_partkey = l_partkey
        and p_brand = 'Brand#32'
        and p_container in ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG')
        and l_quantity >= 7 and l_quantity <= 7 + 10
        and p_size between 1 and 5
        and l_shipmode in ('AIR', 'AIR REG')
        and l_shipinstruct = 'DELIVER IN PERSON'
    )

appears to fail when the WHERE clause returns zero rows- but that's seen elsewhere so may be not that.

@joocer joocer added the Bug 🪲 Something isn't working label Sep 2, 2024
joocer added a commit that referenced this issue Sep 2, 2024
@joocer joocer mentioned this issue Sep 2, 2024
4 tasks
joocer added a commit that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🪲 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant