Commit 828112b
[Bugfix] Populate table name from the identifier in Iceberge conversion
What is the problem?
While converting the iceberg table to other format such as Hudi,
the icerberg source table do not populate the table name. This is
due to iceberg table's behavior as it is treated as Hadoop tables.
This leads to table identified as table-location, leading to confusing
conversation.
Solution:
This commit handles the conversation logic, when icebege table manager
provides HadoopTable, it populate the table name from provided input
TableIdentifier. This ensures that source table name is carried over
to the transformation.
Testing:
- Added unit test to cover this scenario.
Co-authored-by: Tim Brown <[email protected]>1 parent 14967dd commit 828112b
File tree
2 files changed
+10
-2
lines changed- xtable-core/src
- main/java/org/apache/xtable/iceberg
- test/java/org/apache/xtable/iceberg
2 files changed
+10
-2
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
126 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments