andygrove commented on issue #1246:
URL:
https://github.com/apache/datafusion-comet/issues/1246#issuecomment-2942272255
Making notes as I learn more about this functionality. We currently only
support Int and Long for ranges (Spark supports other numeric and temporal
types). We also convert the range to Long and we have no type coercion so if
the value is not a long then the query fails.
```scala
val offset = e.eval() match {
case i: Integer => i.toLong
case l: Long => l
case _ => return None
}
```
--
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]