lasdf1234 opened a new issue, #15048:
URL: https://github.com/apache/gravitino/issues/15048

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   Follow-up from 
[#14883](https://github.com/apache/gravitino/pull/14883#discussion_r4595120275).
   
   For a Gravitino hierarchical schema such as `a:b:c` (separator `:`), the 
compaction adapter produces a logical `table_identifier` like `a:b:c.events`. 
The Iceberg Spark `CALL rewrite_data_files` path currently forwards that value 
unchanged. Spark expects a physical namespace (dotted components), so strategy 
submission can fail to resolve the table even when field-path quoting is 
correct.
   
   #14883 intentionally deferred this: it fixed nested field quoting / 
`FromIcebergPartitionSpec` conversion, and removed tests that mixed 
hierarchical `table_identifier` with dotted Spark namespaces.
   
   ### Error message and/or stacktrace
   
   N/A as a single fixed stack. Failure mode: Spark cannot resolve the table 
when `CALL` receives the adapter’s logical hierarchical identifier unchanged 
(see Jerry’s note on 
[#14883](https://github.com/apache/gravitino/pull/14883#discussion_r4595120275)).
   
   ### How to reproduce
   
   1. Use a metalake/catalog with hierarchical schema `a:b:c` and an Iceberg 
table under it.
   2. Run TMS compaction strategy submission so the adapter emits 
`table_identifier=a:b:c.<table>`.
   3. Observe the production CALL path forwarding that identifier without 
translating logical → physical namespace components.
   4. Contrast with Spark regressions that supply a dotted namespace directly 
and therefore bypass this step.
   
   ### Additional context
   
   - Deferred reply on #14883: 
https://github.com/apache/gravitino/pull/14883#discussion_r4596333574
   - Related broader TMS partition work: #10358
   - Scope of this issue: translate adapter-produced table identifier for Spark 
(and cover with a real CALL regression that feeds the adapter output through).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to