wForget opened a new issue, #11100:
URL: https://github.com/apache/incubator-gluten/issues/11100

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   sql:
   ```
   set 
spark.sql.optimizer.excludedRules=org.apache.spark.sql.catalyst.optimizer.ConstantFolding;
   set spark.sql.legacy.timeParserPolicy=LEGACY;
   select date_format('2025-11-17 00:00:00', 'u');
   ```
   
   Got an error on gluten:
   
   ```
   Caused by: org.apache.gluten.exception.GlutenException: Exception: 
VeloxUserError
   Error Source: USER
   Error Code: INVALID_ARGUMENT
   Reason: bad expected access
   Retriable: False
   Context: Top-level Expression: 
date_format(2025-11-16T16:00:00.000000000:TIMESTAMP, u:VARCHAR)
   Function:
   File: UNKNOWN
   Stack trace:
   Stack trace has been disabled. Use 
--velox_exception_user_stacktrace_enabled=true to enable it.
   
        at 
org.apache.gluten.vectorized.ColumnarBatchOutIterator.nativeHasNext(Native 
Method)
        at 
org.apache.gluten.vectorized.ColumnarBatchOutIterator.hasNext0(ColumnarBatchOutIterator.java:57)
        at 
org.apache.gluten.iterator.ClosableIterator.hasNext(ClosableIterator.java:39)
        ... 29 more
   ```
   
   spark result: `1`
   
   ### Gluten version
   
   Gluten-1.5
   
   ### Spark version
   
   Spark-3.5.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]

Reply via email to