gene-bordegaray opened a new issue, #24695:
URL: https://github.com/apache/datafusion/issues/24695
### 4 Physical-plan serialization
Before `ProjectionExecNode` serialized:
```protobuf
PhysicalPlanNode input = 1;
repeated PhysicalExprNode expr = 2;
repeated string expr_name = 3;
```
On decode, DataFusion reconstructed the projection which is fine when the
complete output schema can be derivde from the expression and input but
metadata cannot be:
Given:
```text
Input field:
value: Int32
metadata: {}
Expression: value@0 AS value
---
derives...
---
Output field:
value: Int32
metadata: {}
Receiving process gets...
---
ProjectionExec
output schema:
value: Int32
field metadata: {}
schema metadata: {}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]