You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Substrait specification project relations emit all if the input fields followed by the list of new expressions. Datafusion only emits the new expressions.
To Reproduce
Pass a Substrait plan such as the following to Datafusion. (A literal can be used instead of a window function but this is what I had handy.)
The result of the plan above would be 4 columns to match the 4 names provided. The current behavior is that Datafusion returns just one column (row_number) for the project.
Additional context
No response
The text was updated successfully, but these errors were encountered:
IIRC DF also never reads the "emit" directive overall, which I think would need to be fixed as a precursor to fixing this issue, as otherwise there's no way to drop columns at all.
Describe the bug
According to the Substrait specification project relations emit all if the input fields followed by the list of new expressions. Datafusion only emits the new expressions.
To Reproduce
Pass a Substrait plan such as the following to Datafusion. (A literal can be used instead of a window function but this is what I had handy.)
Expected behavior
The result of the plan above would be 4 columns to match the 4 names provided. The current behavior is that Datafusion returns just one column (row_number) for the project.
Additional context
No response
The text was updated successfully, but these errors were encountered: