NoahKusaba opened a new issue, #2955: URL: https://github.com/apache/datafusion-ballista/issues/2955
**Describe the bug** With the adaptive planner, this query never finishes. The static planner answers it at once. **To Reproduce** Standalone Ballista on `main` (446fa54c9) with `ballista.planner.adaptive.enabled = true` and default settings otherwise. ```sql WITH empty AS (SELECT 10 WHERE false) SELECT NULL IN (SELECT * FROM empty), NULL NOT IN (SELECT * FROM empty) FROM (SELECT 1) t; ``` **Expected behavior** `false`, `true`, as DataFusion and the static planner return. **Additional context** Found by running DataFusion's sqllogictest files on Ballista (#2945). With a 300 s limit per file, 10 files time out on the adaptive planner only: `window`, `sort_pushdown`, `functional_dependencies`, `order`, `null_aware_multi_column`, `piecewise_merge_join_matrix`, `predicates`, `subquery_projection`, `subquery` and `union`. This query is the only one I've reduced so far. In the other files, the statement that stalls passes when run alone, so an earlier query seems to leave the cluster unable to finish later jobs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
