-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Evaluate ValuesExec's exprs during execution #11736
Comments
Could we serialize the record batch using arrow IPC? |
I think we could. But serializing exprs seems cheaper as the generated record batch might be large. |
In the other hand, many Exprs may be expensive too -- I bet that for small/medium sized values I bet it would be straightforward to test using https://docs.rs/arrow-ipc/52.2.0/arrow_ipc/writer/struct.StreamWriter.html to write to a |
For example, |
It would be fascinating to run a profile / flamegraph and see where the time was going... We should probably also change the EXPLAIN code to truncate showing the contents of VALUES after a while... |
Is your feature request related to a problem or challenge?
Now ValuesExec's exprs will be evaluated during planning. This might make planning longer and ValuesExec can't be serialized in protobuf.
What about making ValuesExec contains physical exprs and evaluating during execution?
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: