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

   ### Describe the bug
   
   ```
   > SELECT COUNT(*) OVER (PARTITION BY 1 ORDER BY cast(1 as decimal(10, 0)) 
DESC RANGE BETWEEN CURRENT ROW AND 1 FOLLOWING) from (select 1);
   Internal error: Uncomparable values: Decimal128(Some(0),11,0), 
Decimal128(Some(1),10,0).
   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
   ```
   
   
   The same query runs fine in DuckDB or Postgres
   
   ### To Reproduce
   
   _No response_
   
   ### 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