Zouxxyy opened a new issue, #6452:
URL: https://github.com/apache/hudi/issues/6452
**A clear and concise description of the problem.**
When `hoodie.sql.bulk.insert.enable` is enabled, executing insert overwrite
will delete the table and then recreate a table, so time travel cannot be
performed.
I don't know if this is a reasonable design or if it's a bug.
**Steps to reproduce the behavior:**
1. 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'
);
2. insert into hudi_cow_test_tbl select 1, 'a1', 1001, '2021-12-09', '11';
3. insert overwrite hudi_cow_test_tbl select 3, 'a3', 1001, '2021-12-09',
'11';
**Environment Description**
* Hudi version : 0.10.1
--
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]