We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
There are more inconsistency between can_cast_types and cast_with_options that is cast_with_options can cast but can_cast_types reports false.
can_cast_types
cast_with_options
false
For example,
thread 'test_can_cast_types' panicked at 'Was able to cast array DictionaryArray {keys: PrimitiveArray<Int8> [ 0, 1, ] values: PrimitiveArray<Int32> [ 1, 2, ]} from Dictionary(Int8, Int32) to Decimal128(38, 0) but can_cast_types reported false', arrow/tests/array_cast.rs:83:21
thread 'test_can_cast_types' panicked at 'Was not able to cast array ListArray [ PrimitiveArray<Int32> [ 0, 1, 2, ], PrimitiveArray<Int32> [ 3, 4, 5, ], PrimitiveArray<Int32> [ 6, 7, ], ] from List(Field { name: "item", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }) to Dictionary(Int16, Utf8) but can_cast_types reported true. Error was CastError("Cannot cast list to non-list data types")', arrow/tests/array_cast.rs:87:21
To Reproduce
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered:
label_issue.py automatically added labels {'arrow'} from #3238
label_issue.py
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
There are more inconsistency between
can_cast_types
andcast_with_options
that iscast_with_options
can cast butcan_cast_types
reportsfalse
.For example,
To Reproduce
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: