You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ossie.apache.org by "ralfbecher (via GitHub)" <gi...@apache.org> on 2026/07/17 13:55:15 UTC

[PR] orionbelt converter: dimension round-trip fidelity (name restoration, N-per-column) [ossie]

ralfbecher opened a new pull request, #223:
URL: https://github.com/apache/ossie/pull/223

   Follow-up to #206. Mirrors two further canonical converter fixes from ralfbecher/orionbelt-semantic-layer into `converters/orionbelt/`. Both build on #206's `_extract_dimensions` work, which is why they land now that #206 has merged.
   
   ## Restore the OBML dimension name (canonical #228)
   
   The OSI field name is the physical column code, so a round trip renamed every dimension to its code and could trip #206's collision fallback for names that were unique in the source. The name is now preserved in an `obml_dimension_name` extension and restored on import, so the space-qualified collision fallback is genuinely **foreign-OSI only** - for an OBML-origin model it no longer fires (this is the concern @khush-bhatia raised on #206). Non-string values are ignored so a foreign payload cannot crash the converter on an unhashable dict key.
   
   ## Preserve N dimensions over one column (canonical #229)
   
   OBML allows many dimensions on one column (grain variants, role-playing); OSI is field-centric (one dimension per field). The converter used to drop every dimension past the first, silently. Extras are now preserved in an `obml_extra_dimensions` list extension with a fidelity **warning** (warn, not raise) and rebuilt on import. Both primary and extra dimensions carry their own synonyms and vendor extensions, with shape guards on the opaque extension data.
   
   ## Also
   
   Adds the ASF license header to `test_osi_converter_roundtrip_robustness.py`, which was missing it (the sibling converter files have it).
   
   ## Tests
   
   `tests/test_osi_converter_roundtrip_robustness.py` (dimension name restoration, N-per-column, synonym/extension preservation, malformed-payload guards) plus updated `test_osi_converter_properties.py`. **177 converter tests pass; ruff clean.**
   
   Canonical changes: ralfbecher/orionbelt-semantic-layer#228, #229 (both merged).


-- 
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: issues-unsubscribe@ossie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] orionbelt converter: dimension round-trip fidelity (name restoration, N-per-column) [ossie]

Posted by "ralfbecher (via GitHub)" <gi...@apache.org>.
ralfbecher closed pull request #223: orionbelt converter: dimension round-trip fidelity (name restoration, N-per-column)
URL: https://github.com/apache/ossie/pull/223


-- 
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: issues-unsubscribe@ossie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] orionbelt converter: dimension round-trip fidelity (name restoration, N-per-column) [ossie]

Posted by "ralfbecher (via GitHub)" <gi...@apache.org>.
ralfbecher commented on PR #223:
URL: https://github.com/apache/ossie/pull/223#issuecomment-5710304759

   Closing: this no longer applies cleanly (files were renamed in #288, and #396 reworks the same code), and it was framed as a mirror of a downstream repo, which isn't how this converter is maintained anymore. The two fixes (dimension name restoration, N dimensions per column) are still missing on `main`. I'll re-submit them as a fresh PR on top of #396 once that lands.


-- 
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: issues-unsubscribe@ossie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org