Insert DML results in incorrect record batch schema (doesn't correctly identify values as non-nullable), leading to errors in future queries that are sensitive to them #7693
Labels
bug
Something isn't working
Describe the bug
Filing on behalf of xhwhis
When inserting values into a table (memtable) that has a schema where each field is non-nullable and and then performing a window function with a partition by clause, the following runtime panic occurs.
To Reproduce
To illustrate, @xhwhis created a minimal reproducible example below. Note that the
insert
query and thepartition
keyword in the window function are required to throw an error.Expected behavior
No panic, the schema set at insert time should reflect that of the table it was inserted into
Additional context
No response
The text was updated successfully, but these errors were encountered: