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

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   This UT can repro the issue
   ```scala
   test("to_timestamp") {
       spark.sql("create table abc (ts_str string) using parquet")
       spark.sql("insert into abc values ('2025-02-25 03:07:22.123456')")
       val df = spark.sql("select * from abc").
         withColumn("timestamp", to_timestamp(col("ts_str"), "yyyy-MM-dd 
HH:mm:ss.SSSSSS"))
       df.collect().foreach(println)
     }
   ```
   
   Expected result (Spark):
   `[2025-02-25 03:07:22.123456,2025-02-25 03:07:22.123456]`
   
   Actual result:
   `[2025-02-25 03:07:22.123456,2025-02-25 03:07:22.123]`
   
   Seems it shows till milliseconds only
   
   ### Gluten version
   
   main branch
   
   ### 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