I wonder what you think about moving the creation of the actual RecordBatch from ValuesExec::try_new to execute -- the rationale would be to make PhysicalPlan creation faster and push the actual work into execute where if can potentially be run concurrently with other parts
Given the size of data in a VALUES statement, this is not likely to be any real difference so I am fine with leaving the creation in the same place too -- I just wanted to mention it.
Originally posted by @alamb in #1165 (comment)
I wonder what you think about moving the creation of the actual
RecordBatchfromValuesExec::try_newtoexecute-- the rationale would be to makePhysicalPlancreation faster and push the actual work intoexecutewhere if can potentially be run concurrently with other partsGiven the size of data in a
VALUESstatement, this is not likely to be any real difference so I am fine with leaving the creation in the same place too -- I just wanted to mention it.Originally posted by @alamb in #1165 (comment)