You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ossie.apache.org by "Haoranli503 (via GitHub)" <gi...@apache.org> on 2026/10/02 20:05:38 UTC

[PR] test(databricks): cover import-direction converter behavior [ossie]

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

   ## Summary
   
   Port nine import-direction (Metric View -> Apache Ossie) scenarios from the Python converter suite that the Java suite lacked, each asserting the Java converter's actual behavior. Test-only: no source, spec, ontology, validation, or example changes. Toward Java/Python parity before the Python converter is deprecated.
   
   Covered:
   - `fields:` accepted as a v1.1 alias for `dimensions:`, and `dimensions` wins (with a notice) when both are set;
   - top-level source validation: a non-3-part / empty-part / whitespace-part source is rejected, and a `WITH(...)` subquery source is accepted;
   - a join named `source` is rejected case-insensitively, and a join name colliding with the fact is rejected as a duplicate;
   - a one_to_many join flips from/to and round-trips its cardinality via the DATABRICKS stash; `rely.at_most_one_match` recovers a `unique_keys` entry;
   - a non-string join name or measure expr raises a clean error.
   
   ## Related Issues
   
   None (pure test coverage).
   
   ## Checklist
   
   ### Specification
   - [ ] Spec changes are included in `core-spec/` and follow the existing structure
   - [ ] Spec changes have been discussed on the mailing list or in a linked issue
   - [ ] Breaking changes to the spec are clearly called out in the summary
   
   ### Ontology
   - [ ] Ontology changes in `ontology/` are consistent with spec changes
   - [ ] New or modified terms are defined and documented
   
   ### Converters
   - [ ] Converter logic in `converters/` is updated to reflect spec or ontology changes
   - [ ] New converters include tests under the converter's test directory
   - [ ] If adding a new converter, `.github/labeler.yml` is updated with the new path
   
   ### Validation
   - [ ] Validation rules in `validation/` are updated if the spec changed
   - [ ] New validation cases are covered by tests
   
   ### Documentation
   - [ ] `docs/` is updated to reflect any user-facing changes
   - [ ] New features or behaviors are documented with examples where appropriate
   - [ ] `CONTRIBUTING.md` is updated if the contribution process changed
   
   ### Examples
   - [ ] `examples/` are added or updated for any new spec constructs or converter support
   
   ### Tests
   - [x] All existing tests pass (`pytest` / CI green)
   - [x] New functionality is covered by tests
   
   ### Compliance
   - [x] ASF license headers are present on all new source files
   - [x] No third-party dependencies are added without PMC/IPMC approval
   - [x] If third-party source code is vendored/copied (not just declared as a dependency), `NOTICE` and/or `LICENSE` have been updated per [ASF policy](https://infra.apache.org/licensing-howto.html)
   


-- 
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] test(databricks): cover import-direction converter behavior [ossie]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre merged PR #500:
URL: https://github.com/apache/ossie/pull/500


-- 
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