Repository navigation
Commit 69a5bae
committed
Fix row ID scan with a filter when a column is named __iceberg_file_position
When `_row_id` is projected together with a row filter, the reader adds a
temporary position column under a fixed name. A data column with that name
made the lookup fail with a duplicate field KeyError. Pick a free name for
the temporary column instead, as `_determine_partitions` does.1 parent b84df8d commit 69a5bae
2 files changed
Lines changed: 48 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1842 | 1842 | | |
1843 | 1843 | | |
1844 | 1844 | | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
1845 | 1849 | | |
1846 | | - | |
| 1850 | + | |
1847 | 1851 | | |
1848 | 1852 | | |
1849 | | - | |
1850 | | - | |
| 1853 | + | |
| 1854 | + | |
1851 | 1855 | | |
1852 | 1856 | | |
1853 | 1857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4645 | 4645 | | |
4646 | 4646 | | |
4647 | 4647 | | |
| 4648 | + | |
| 4649 | + | |
| 4650 | + | |
| 4651 | + | |
| 4652 | + | |
| 4653 | + | |
| 4654 | + | |
| 4655 | + | |
| 4656 | + | |
| 4657 | + | |
| 4658 | + | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
| 4663 | + | |
| 4664 | + | |
| 4665 | + | |
| 4666 | + | |
| 4667 | + | |
| 4668 | + | |
| 4669 | + | |
| 4670 | + | |
| 4671 | + | |
| 4672 | + | |
| 4673 | + | |
| 4674 | + | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
| 4678 | + | |
| 4679 | + | |
| 4680 | + | |
| 4681 | + | |
| 4682 | + | |
| 4683 | + | |
| 4684 | + | |
| 4685 | + | |
| 4686 | + | |
| 4687 | + | |
| 4688 | + | |
4648 | 4689 | | |
4649 | 4690 | | |
4650 | 4691 | | |
| |||
0 commit comments