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

fixed a bug: coredump caused by transform a row batch with empty required columns into DB::Block #141

Merged
merged 2 commits into from
Oct 24, 2022

Conversation

lgbo-ustc
Copy link

@lgbo-ustc lgbo-ustc commented Oct 9, 2022

the required columns could be empty in spark plan, and cause a coredump in SparkRowToCHColumn

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

When there is no required columns in a row batch, we try to an anonymous const column in the result block of SparkRowToCHColumn. This could happend in some cases. E.g count(*)

This doesn't break the execution

Information about CI checks: https://clickhouse.tech/docs/en/development/continuous-integration/

close #140

@kyligence-git
Copy link
Collaborator

Can one of the admins verify this patch?

@liuneng1994
Copy link
Collaborator

test this please

1 similar comment
@liuneng1994
Copy link
Collaborator

test this please

the required columns could be empty in spark plan, and cause a coredump in SparkRowToCHColumn
Copy link
Collaborator

@liuneng1994 liuneng1994 left a comment

Choose a reason for hiding this comment

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

LGTM

@liuneng1994 liuneng1994 merged commit 057f1e9 into Kyligence:clickhouse_backend Oct 24, 2022
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.

Failure on shuffle hash join
3 participants