askalt opened a new issue, #19809:
URL: https://github.com/apache/datafusion/issues/19809

   ### Describe the bug
   
   Extended clickbench query (benchmarks/queries/clickbench/extended/q6.sql) 
plan is failed with the error:  
   
   ```
   Internal error: Expect 
TypeSignatureClass::Native(LogicalType(Native(String), String)) but received 
NativeType::Binary, DataType: BinaryView.
   ```
   
   
   ### To Reproduce
   
   Run datafusion-cli:
   
   ```
   > CREATE EXTERNAL TABLE hits STORED AS PARQUET LOCATION 
"../benchmarks/data/hits_partitioned"
   
   > SELECT COUNT(*) AS ShareCount FROM hits WHERE "IsMobile" = 1 AND 
"MobilePhoneModel" LIKE 'iPhone%' AND "SocialAction" = 'share' AND 
"SocialSourceNetworkID" IN (5, 12) AND "ClientTimeZone" BETWEEN -5 AND 5 AND 
regexp_match("Referer", '\/campaign\/(spring|summer)_promo') IS NOT NULL AND 
CASE WHEN split_part(split_part("URL", 'resolution=', 2), '&', 1) ~ '^\d+$' 
THEN split_part(split_part("URL", 'resolution=', 2), '&', 1)::INT ELSE 0 END > 
1920 AND levenshtein(CAST("UTMSource" AS STRING), CAST("UTMCampaign" AS 
STRING)) < 3;
   
   type_coercion
   caused by
   Internal error: Expect 
TypeSignatureClass::Native(LogicalType(Native(String), String)) but received 
NativeType::Binary, DataType: BinaryView.
   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
   $ 
   ```
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to