Skip to content

Conversation

@SkyFan2002
Copy link
Member

@SkyFan2002 SkyFan2002 commented Sep 3, 2025

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

Summary

root@localhost:8000/default> explain analyze select * from t1,t2 where t1.c = t2.c;

explain analyze
select
  *
from
  t1,
  t2
where
  t1.c = t2.c

-[ EXPLAIN ]-----------------------------------
Exchange
├── output columns: [t2.c (#1), t1.c (#0)]
├── exchange type: Merge
└── HashJoin
    ├── cpu time: 12.40604ms
    ├── wait time: 147.428037ms
    ├── exchange bytes: 554.00 B
    ├── output rows: 11
    ├── output bytes: 92.00 B
    ├── runtime filter build time: 491.1µs
    ├── output columns: [t2.c (#1), t1.c (#0)]
    ├── join type: INNER
    ├── build keys: [t1.c (#0)]
    ├── probe keys: [t2.c (#1)]
    ├── keys is null equal: [false]
    ├── filters: []
    ├── build join filters:
    │   └── filter id:0, build key:t1.c (#0), probe key:t2.c (#1), filter type:bloom,inlist,min_max
    ├── estimated rows: 20.00
    ├── Exchange(Build)
    │   ├── output columns: [t1.c (#0)]
    │   ├── exchange type: Broadcast
    │   └── TableScan
    │       ├── cpu time: 3.685373ms
    │       ├── output rows: 10
    │       ├── output bytes: 42.00 B
    │       ├── bytes scanned: 42.00 B
    │       ├── table: default.default.t1
    │       ├── output columns: [c (#0)]
    │       ├── read rows: 11
    │       ├── read size: < 1 KiB
    │       ├── partitions total: 2
    │       ├── partitions scanned: 2
    │       ├── pruning stats: [segments: <range pruning: 2 to 2>, blocks: <range pruning: 2 to 2>]
    │       ├── push downs: [filters: [], limit: NONE]
    │       └── estimated rows: 11.00
    └── TableScan(Probe)
        ├── cpu time: 5.28238ms
        ├── output rows: 11
        ├── output bytes: 46.00 B
        ├── bytes scanned: 46.00 B
        ├── runtime filter bloom time: 1.146703ms
        ├── runtime filter bloom rows filtered: 9.99 thousand
        ├── runtime filter inlist/min-max time: 599.606µs
        ├── table: default.default.t2
        ├── output columns: [c (#1)]
        ├── read rows: 20001
        ├── read size: 45.21 KiB
        ├── partitions total: 3
        ├── partitions scanned: 3
        ├── pruning stats: [segments: <range pruning: 3 to 3>, blocks: <range pruning: 3 to 3>]
        ├── push downs: [filters: [], limit: NONE]
        ├── apply join filters: [#0]
        └── estimated rows: 20001.00

54 rows explain in 0.299 sec. Processed 0 rows, 0 B (0 row/s, 0 B/s)

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

@SkyFan2002 SkyFan2002 requested a review from BohuTANG September 3, 2025 05:27
@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 3, 2025
# Conflicts:
#	src/query/service/src/pipelines/processors/transforms/hash_join/runtime_filter/builder.rs
#	src/query/storages/fuse/src/operations/read/parquet_data_source_deserializer.rs
#	src/query/storages/fuse/src/operations/read/parquet_data_transform_reader.rs
@SkyFan2002 SkyFan2002 requested a review from zhang2014 September 3, 2025 05:33
@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2025

🤖 Smart Auto-retry Analysis

Workflow: 17423989691

📊 Summary

  • Total Jobs: 83
  • Failed Jobs: 1
  • Retryable: 0
  • Code Issues: 1

NO RETRY NEEDED

All failures appear to be code/test issues requiring manual fixes.

🔍 Job Details

  • linux / test_unit: Not retryable (Code/Test)

🤖 About

Automated analysis using job annotations to distinguish infrastructure issues (auto-retried) from code/test issues (manual fixes needed).

@BohuTANG BohuTANG merged commit f80614b into databendlabs:main Sep 3, 2025
87 of 89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-chore this PR only has small changes that no need to record, like coding styles.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants