hudi
hudi copied to clipboard
[SUPPORT] I have some questions for hudi clustering
- does the mapping of [<key,partitionpath> -> fileGroupId ] changed after clustering ? the record may wrote to another filegroup?
- clusting sort the columns, does it change the physical path of the record to different location which not a partition path by using inlinefs ?
- does clustering work on full hudi table or we can choose some partitions?
- why clustering ignore the file which size over the targetFileSize? if we ignore it, we should cost time for full scan this file.
- when some file is compacting , does clutering scheduler will ignore these files , and then clustering running will still ignore these files whatever the file is compacted ?
cc @satishkotha @lw309637554 do you want to take this?
- does the mapping of [<key,partitionpath> -> fileGroupId ] changed after clustering ? the record may wrote to another filegroup?
- clusting sort the columns, does it change the physical path of the record to different location which not a partition path by using inlinefs ?
- does clustering work on full hudi table or we can choose some partitions?
- why clustering ignore the file which size over the targetFileSize? if we ignore it, we should cost time for full scan this file.
- when some file is compacting , does clutering scheduler will ignore these files , and then clustering running will still
@shenbinglife @vinothchandar hello, i can reply it .
- yes, the mapping changed. Will write to another file group.
- clustering sort ,just make the records in a filegroup are sorted. It use spark RDDCustomColumnsSortPartitioner.
- Now it will work on full table. And every time will choose "hoodie.clustering.plan.strategy.daybased.lookback.partitions" num partition to clustering. You can set the param.
- Clustering will make small file to large file. Because with large file spark or presto can split it . Performance better.
- yes
Thanks a lot