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

chore(query): introduce EmptyResultScan plan #16411

Merged
merged 11 commits into from
Sep 7, 2024

Conversation

sundy-li
Copy link
Member

@sundy-li sundy-li commented Sep 6, 2024

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

EmptyResultScan is a subtype of ConstantTableScan if rows is zero.

Example:

statement ok
create table t2(a int, b int);

query T
explain select * from t1 where a = 1 and a = 2;
----
EmptyResultScan

Add more test codes about udf server.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Sep 6, 2024
@github-actions github-actions bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Sep 6, 2024
@dosubot dosubot bot added A-query Area: databend query pr-refactor this PR changes the code base without new features or bugfix labels Sep 6, 2024
@sundy-li sundy-li requested a review from xudong963 September 6, 2024 08:43
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Sep 6, 2024
@sundy-li sundy-li added the ci-benchmark-cloud Benchmark: run only cloud tests for tpch/hits label Sep 7, 2024
Copy link
Contributor

github-actions bot commented Sep 7, 2024

Docker Image for PR

  • tag: pr-16411-57183c4-1725682445

note: this image tag is only available for internal use,
please check the internal doc for more details.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 7, 2024
Copy link
Contributor

github-actions bot commented Sep 7, 2024

Docker Image for PR

  • tag: pr-16411-57183c4-1725690834

note: this image tag is only available for internal use,
please check the internal doc for more details.

@BohuTANG BohuTANG merged commit fb6e250 into databendlabs:main Sep 7, 2024
101 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query Area: databend query ci-benchmark-cloud Benchmark: run only cloud tests for tpch/hits lgtm This PR has been approved by a maintainer pr-chore this PR only has small changes that no need to record, like coding styles. pr-refactor this PR changes the code base without new features or bugfix size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants