You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an ordinary append table partitioned by pt, with no primary key and bucket=-1. Write rows under pt='a,b' and pt='plain'.
Configure both partition input paths with Hadoop's FileInputFormat.setInputPaths, as HiveInputFormat does before requesting splits from the table's input format. Hadoop escapes the comma in pt=a,b in the stored input directory list; its getInputPaths returns the original two paths.
Request splits through HiveSplitGenerator.generateSplits. The executable regression uses the actual Hadoop producer and a table written through Paimon's batch writer, with Avro files.
What doesn't meet your expectations?
Only the plain partition produces a split. The a,b partition is silently omitted because locationsToPlan splits the escaped input list with String.split(",") and never decodes the escaped path. Both committed partitions should be planned, with their original paths and rows.
Anything else?
This is distinct from #9077/#9080, which decode percent-escaped partition values after a path has been selected. This problem occurs earlier, while separating Hadoop's escaped input paths.
Activity