Skip to content

Support serialization/deserialization for custom physical exprs in proto - #11387

Merged
alamb merged 4 commits into
apache:mainfrom
lewiszlw:physical-extension-expr-codec
Jul 13, 2024
Merged

alamb merged 4 commits into
apache:mainfrom
lewiszlw:physical-extension-expr-codec

Conversation

@lewiszlw

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #11350.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@lewiszlw
lewiszlw marked this pull request as draft July 10, 2024 10:11
@lewiszlw
lewiszlw marked this pull request as ready for review July 11, 2024 02:57

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @lewiszlw -- this makes sense to me

cc @thinkharderdev and @joroKr21 as I think this may also relate to your usecase

.downcast_ref::<CustomPredicateExpr>()
.is_some()
{
buf.extend_from_slice("CustomPredicateExpr".as_bytes());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice

@alamb
alamb merged commit f5d88d1 into apache:main Jul 13, 2024
@alamb

alamb commented Jul 13, 2024

Copy link
Copy Markdown
Contributor

Thanks again @lewiszlw

findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
…oto (apache#11387)

* Add PhysicalExtensionExprNode

* regen proto

* Add ser/de extension expr logic

* Add test and fix clippy lint
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this pull request Jul 17, 2024
…oto (apache#11387)

* Add PhysicalExtensionExprNode

* regen proto

* Add ser/de extension expr logic

* Add test and fix clippy lint
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this pull request Jul 18, 2024
…oto (apache#11387)

* Add PhysicalExtensionExprNode

* regen proto

* Add ser/de extension expr logic

* Add test and fix clippy lint
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.

Support serialization/deserialization for custom physical exprs in proto

2 participants