Skip to content

Commit

Permalink
Update datafusion/sqllogictest/test_files/errors.slt
Browse files Browse the repository at this point in the history
Co-authored-by: Sherin Jacob <[email protected]>
  • Loading branch information
buraksenn and jcsherin authored Nov 11, 2024
1 parent 7a8a760 commit 073d8e8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions datafusion/sqllogictest/test_files/errors.slt
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,12 @@ from aggregate_test_100
order by c9

# WindowFunction wrong signature
statement error
statement error DataFusion error: Error during planning: Error during planning: Coercion from \[Int32, Int64, Int64\] to the signature OneOf\(\[Any\(0\), Any\(1\), Any\(2\)\]\) failed
select
c9,
nth_value(c5, 2, 3) over (order by c9) as nv1
from aggregate_test_100
order by c9
----
DataFusion error: Error during planning: Error during planning: Coercion from [Int32, Int64, Int64] to the signature OneOf([Any(0), Any(1), Any(2)]) failed. No function matches the given name and argument types 'nth_value(Int32, Int64, Int64)'. You might need to add explicit type casts.
Candidate functions:
nth_value()
nth_value(Any)
nth_value(Any, Any)


# nth_value with wrong name
Expand Down

0 comments on commit 073d8e8

Please sign in to comment.