Commit e93dd04
authored
fix: fix location generator (#1479)
## Which issue does this PR close?
- It seems we enforce that the `write.data.path` must be a subdirectory
of the table location, but it is unnecessary. I met this issue when
integrating Databricks's managed iceberg table.
- Closes #.
## What changes are included in this PR?
- Use `write.data.path` directly if provided.
## Are these changes tested?
<!--
Specify what test covers (unit test, integration test, etc.).
If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->1 parent ec92bc5 commit e93dd04
File tree
1 file changed
+15
-26
lines changed- crates/iceberg/src/writer/file_writer
1 file changed
+15
-26
lines changedLines changed: 15 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | | - | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
67 | 57 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 58 | + | |
72 | 59 | | |
73 | 60 | | |
74 | 61 | | |
| |||
222 | 209 | | |
223 | 210 | | |
224 | 211 | | |
225 | | - | |
226 | 212 | | |
227 | 213 | | |
228 | 214 | | |
229 | 215 | | |
230 | 216 | | |
231 | | - | |
232 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
233 | 222 | | |
234 | 223 | | |
0 commit comments