Skip to content

Blaze Sort->MergeJoin reduces key row and column conversion#1078

Merged
richox merged 4 commits intomasterfrom
dev-output-key-rows
Jul 30, 2025
Merged

Blaze Sort->MergeJoin reduces key row and column conversion#1078
richox merged 4 commits intomasterfrom
dev-output-key-rows

Conversation

@eden123456789
Copy link
Contributor

Which issue does this PR close?

Closes #1077.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@eden123456789 eden123456789 requested a review from richox July 29, 2025 08:27
@eden123456789 eden123456789 changed the title smj optimization Blaze Sort->MergeJoin reduces key row and column conversion Jul 29, 2025
Modify joiner and implement

fix key_has_nulls logic

add exclude_time

refactor

adjust poll_time

projected

row_null_checker
Copy link
Contributor

@richox richox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are some bugs in row_null_checker, please fix them

DataType::Float32 => FieldConfig::new_primitive(sort_options, 5), // 1 byte null
// flag + 4 bytes
// value
DataType::Float64 => FieldConfig::new_primitive(sort_options, 9), // 1 byte null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should add DataType::Decimal128 as primitive type here

}
_ => {
// For unsupported types, treat as variable length
FieldConfig::new_variable(sort_options)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should panic when meeting unsupported types

@richox richox merged commit 952da0f into master Jul 30, 2025
619 checks passed
@cxzl25 cxzl25 deleted the dev-output-key-rows branch September 5, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blaze Sort->MergeJoin reduces key row and column conversion

2 participants