You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "rangareddy (via GitHub)" <gi...@apache.org> on 2025/12/16 05:05:31 UTC

Re: [I] INSERT_OVERWRITE(/TABLE) in spark sql should not fail time travel queries for older timestamps [hudi]

rangareddy commented on issue #15401:
URL: https://github.com/apache/hudi/issues/15401#issuecomment-3658862409

   I have successfully reproduced this issue using the following code snippet. This issue should be prioritized for a fix in an upcoming release.
   
   **Code:**
   
   ```sql
   CREATE TABLE hudi_cow_test_tbl (
       id bigint,
       name string,
       ts bigint,
       dt string,
       hh string) 
   USING hudi
   TBLPROPERTIES (
       type = 'cow',
       primaryKey = 'id',
       preCombineField = 'ts',
       'hoodie.sql.insert.mode' = 'non-strict',
       'hoodie.sql.bulk.insert.enable' = 'true'
   ) LOCATION '/user/hive/warehouse/hudi_cow_test_tbl';
   
   insert into hudi_cow_test_tbl select 1, 'a1', 1001, '2021-12-09', '11';
   
   insert overwrite hudi_cow_test_tbl select 3, 'a3', 1001, '2021-12-09', '11';
   ```
   
   


-- 
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@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org