Skip to content

Handle dictionary values in ScalarValue serde#10563

Merged
thinkharderdev merged 3 commits intoapache:mainfrom
coralogix:issue-10562
May 17, 2024
Merged

Handle dictionary values in ScalarValue serde#10563
thinkharderdev merged 3 commits intoapache:mainfrom
coralogix:issue-10562

Conversation

@thinkharderdev
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #10562

Rationale for this change

What changes are included in this PR?

  1. Handle serde for ScalarValue which includes nested dictionary fields
  2. Fix two places where we panic instead of returning an error during physical expr deserialization

Are these changes tested?

Yes

Are there any user-facing changes?

Protobuf message for ScalarNestedValue is changed but in backward compatible way

@github-actions github-actions bot added the substrait Changes to the substrait crate label May 17, 2024
@github-actions github-actions bot removed the substrait Changes to the substrait crate label May 17, 2024
Copy link
Copy Markdown
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

lgtm thanks @thinkharderdev

@thinkharderdev thinkharderdev merged commit e7858ff into apache:main May 17, 2024
@thinkharderdev thinkharderdev deleted the issue-10562 branch May 17, 2024 21:09
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
* Handle dictionary values in ScalarValue serde

* Do not panic on failed physical expr decoding (apache#241)

* revert clippy change
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.

ScalarValue serialization does not handle nested dictionary values

2 participants