pandaStudy opened a new issue, #5805:
URL: https://github.com/apache/hudi/issues/5805
The partition column name is not at the end, which will cause the inserted
data column to be confused.
**To Reproduce**
Steps to reproduce the behavior:
1.create table
create table IF NOT EXISTS table_xxx (
par_name string,
struin string,
ts long
) using hudi
partitioned by (par_name)
options (
type = 'mor'
)
tblproperties (
primaryKey = 'struin',
preCombineField = 'ts'
);
2. insert
INSERT INTO table_xxx select '1' as par_name,'2' as struin, 3 as ts;
3. select
select * from table_xxx;
Query result :
|struin | ts | par_name |
| ---- | ---- | ---- |
| 1 | 2 | 3 |
**Environment Description**
* Hudi version : 0.11.0
* Spark version : 3.1.2
--
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]