mingyi6666 opened a new issue, #10644:
URL: https://github.com/apache/incubator-gluten/issues/10644
### Backend
VL (Velox)
### Bug description
### sql:
```
CREATE TEMPORARY VIEW t AS SELECT 1;
SELECT COUNT(*) OVER (PARTITION BY 1 ORDER BY cast(1 as double) DESC RANGE
BETWEEN CURRENT ROW AND 1 FOLLOWING) FROM t;
```
### result:
```
java.lang.NumberFormatException: For input string: "1.0"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at java.lang.Long.valueOf(Long.java:803)
at
org.apache.gluten.substrait.expression.WindowFunctionNode.setBound(WindowFunctionNode.java:124)
at
org.apache.gluten.substrait.expression.WindowFunctionNode.toProtobuf(WindowFunctionNode.java:181)
at
org.apache.gluten.substrait.rel.WindowRelNode.toProtobuf(WindowRelNode.java:77)
at
org.apache.gluten.substrait.plan.PlanNode.toProtobuf(PlanNode.java:78)
```
### Gluten version
main branch, Gluten-1.4, Gluten-1.3
### Spark version
Spark-3.3.x
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
```bash
```
--
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]