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
Describe the bug
I'm attempting to use the ROW_NUMBER() function, and encountering the following error:
Arrow error: External error: Arrow error: Invalid argument error: batches[2] schema is different with argument schema.
The query in question:
SELECT ROW_NUMBER() OVER (PARTITION BY part_id ORDER BY range_begin) AS rownum
FROM __temp_inverted_ranges_phase_1
The error no longer occurs if the PARTITION BY clause is omitted.
Expected behavior
Successfully executed ROW_NUMBER function, or meaningful explanation of the schema failure.
Additional context
The table in question is the result from a preceding query; when attempting to perform a similar ROW_NUMBER invocation against that data, no errors occur.
When viewing the schema for the data backing the failing query:
Describe the bug
I'm attempting to use the
ROW_NUMBER()
function, and encountering the following error:The query in question:
The error no longer occurs if the
PARTITION BY
clause is omitted.Expected behavior
Successfully executed
ROW_NUMBER
function, or meaningful explanation of the schema failure.Additional context
The table in question is the result from a preceding query; when attempting to perform a similar ROW_NUMBER invocation against that data, no errors occur.
When viewing the schema for the data backing the failing query:
An illustrative dataset is as shown below:
The text was updated successfully, but these errors were encountered: