-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Introduce TypeSignatureClass::Any
#19485
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,9 +95,12 @@ SELECT arrow_cast('1', 'Int16') | |
| query error | ||
| SELECT arrow_cast('1') | ||
|
|
||
| query error DataFusion error: Execution error: arrow_cast requires its second argument to be a non\-empty constant string | ||
| query error Expect TypeSignatureClass::Native\(LogicalType\(Native\(String\), String\)\) but received NativeType::Int64, DataType: Int64 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably should start looking in #19004 properly to try pretty up these new error messages 🤔
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are really ugly I agree it would be nice if it was neater. But the current status quo is not good so this is no better or worse imo. |
||
| SELECT arrow_cast('1', 43) | ||
|
|
||
| query error DataFusion error: Execution error: arrow_cast requires its second argument to be a non\-empty constant string | ||
| SELECT arrow_cast('1', arrow_cast('Utf8', 'Utf8')) | ||
|
|
||
| query error DataFusion error: Execution error: Unsupported type 'unknown'\. Must be a supported arrow type name such as 'Int32' or 'Timestamp\(ns\)'\. Error unknown token: unknown | ||
| SELECT arrow_cast('1', 'unknown') | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻