-
Notifications
You must be signed in to change notification settings - Fork 13
Subquery (SubPlan) pushdown #289
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -71,8 +71,20 @@ $(EXTENSION)-$(DISTVERSION).zip: | |
| git archive-all -v --prefix "$(EXTENSION)-$(DISTVERSION)/" --force-submodules $(EXTENSION)-$(DISTVERSION).zip | ||
|
|
||
| .PHONY: test/schedule # Depends on $(TESTS), so always rebuild. | ||
| # The subquery-pushdown tests exercise SubPlan pushdown, which is gated on | ||
| # ClickHouse 25.8+ (older analyzers error on the correlated SQL). When CH_RELEASE | ||
| # names an older server, drop those tests and emit a GitHub Actions warning | ||
| # rather than carry a second set of "not pushed down" expected files. CH_RELEASE | ||
| # is unset for local runs and the Postgres matrix (which use the latest CH), so | ||
| # they keep the tests. | ||
|
Comment on lines
+74
to
+79
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This confuses me. CH_RELEASE is currently set in the GitHub workflow but nowhere else. Someone downloading it and running the tests won't have it set. I don't have it set! The |
||
| test/schedule: | ||
| @echo "test: $(patsubst test/sql/%.sql,%,$(TESTS))" > $@ | ||
| @tests='$(patsubst test/sql/%.sql,%,$(TESTS))'; \ | ||
| maj=$${CH_RELEASE%%.*}; rest=$${CH_RELEASE#*.}; min=$${rest%%.*}; \ | ||
| if [ -n "$$CH_RELEASE" ] && echo "$$maj$$min" | grep -qE '^[0-9]+$$' && [ $$((maj * 100 + min)) -lt 2508 ]; then \ | ||
| tests=$$(echo "$$tests" | tr ' ' '\n' | grep -vxE 'subplan_pushdown|subquery_eq' | tr '\n' ' '); \ | ||
| echo "::warning::Skipping subquery-pushdown tests (subplan_pushdown, subquery_eq): they require ClickHouse 25.8+, but this run uses ClickHouse $$CH_RELEASE"; \ | ||
| fi; \ | ||
| echo "test: $$tests" > $@ | ||
|
|
||
| installcheck: test/schedule | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for this change?