You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "mingyi6666 (via GitHub)" <gi...@apache.org> on 2025/09/06 09:12:31 UTC
[I] NumberFormatException in WindowFunctionNode.setBound() [incubator-gluten]
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: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org