askalt commented on issue #19809: URL: https://github.com/apache/datafusion/issues/19809#issuecomment-3749290242
Reduced example: ```sql > CREATE TABLE t (b bytea); > SELECT COUNT(*) FROM t WHERE CASE WHEN split_part(split_part(b, 'resolution=', 2), '&', 1) ~ '^\d+$' THEN split_part(split_part(b, 'resolution=', 2), '&', 1)::INT ELSE 0 END > 1920; type_coercion caused by Internal error: Expect TypeSignatureClass::Native(LogicalType(Native(String), String)) but received NativeType::Binary, DataType: Binary. This issue was likely caused by a bug in DataFusion's code. Please help us to resolve this by filing a bug report in our issue tracker: https://github.com/apache/datafusion/issues ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
