suxiaogang223 opened a new issue, #12370:
URL: https://github.com/apache/hudi/issues/12370

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   The url is valid and page not found :(
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected].
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   
   When I use spark to write a table with timestamp type, there is a difference 
in accuracy between the results found using spark and the hive results.
   ```sql
   create table test_timestamp(id int, time timestamp)using hudi;
   insert into test_timestamp values(1,timestamp('2024-11-28 12:00:00.123456'));
   
   select time from test_timestamp;
   -- result
   2024-11-28 12:00:00.123456
   
   -- result from hive
   2024-11-28 04:00:00.123
   ```
   Is this behavior expected, and are there any plans to improve it in the 
future?
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   **Expected behavior**
   
   A clear and concise description of what you expected to happen.
   
   **Environment Description**
   
   * Hudi version :
   * hudi-0.15
   
   * Spark version :
   * 3.4.2
   
   * Hive version :
   * 3.1.3
   
   * Hadoop version :
   * 3.1
   
   * Storage (HDFS/S3/GCS..) :
   
   * Running on Docker? (yes/no) :
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```Add the stacktrace of the error.```
   
   


-- 
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]

Reply via email to