Skip to content

Commit

Permalink
chore(tpcds64): add generated sql from tpcds64 and scriptlet
Browse files Browse the repository at this point in the history
There is some _weird_ stuff happening _only_ inside Pytest when running
this query on DuckDB.  This doesn't happen with any other tpc-ds
queries, and the query in question seems to run without issue on the
other backends that can run the tpc-ds queries.

If I generate sf=1 tpc-ds data in the DuckDB CLI, then run the included
sql file (which is the SQL generated by Ibis for this query), it runs in
about half a second.

If I `%load ibis_tpcds_64_local.py` and then run the `expr` there (which
is a copy-paste of the test code), it takes about half a second.

If I remove the `pytest.timeout` from the `tpc_test` decorator, this
same query, even at sf=.45 (which is empty at that size), takes
_minutes_ to run.
  • Loading branch information
gforsyth committed Aug 28, 2024
1 parent 5e02500 commit 53b154a
Show file tree
Hide file tree
Showing 2 changed files with 757 additions and 0 deletions.
Loading

0 comments on commit 53b154a

Please sign in to comment.