Repository navigation
Move the models to Ossie schema 0.3.0.dev0 and dactopus-ossie-clickhouse 0.16.0 - #78
Merged
Merged
Conversation
Ossie renamed custom_extensions (apache/ossie#522), and dactopus-ossie-clickhouse 0.16.0 reads the new name only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The spec puts the date part first, DATEDIFF(day, d1, d2). sqlglot's default dialect reads the arguments in another order, so the DuckDB engine of tests/run_canon.py sent orders.order_weekday to the extension as an expression DuckDB rejects. Read every expression as Snowflake does and write it for DuckDB: the weekday question now matches, and the two known differences of each package remain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
apache/ossie#691 moved the spec's version to 0.3.0.dev0; there will be no 0.2.0. dactopus-ossie-clickhouse 0.15.0 and newer read only the new version, so CI moves its pin from 0.14.0 to 0.16.0, and AGENTS.md drops the old name custom_extensions it kept until the pin moved. Nothing else in the models changes. The DuckDB extension (0.3.0) reads the new version and answers as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AGENTS.md and CONTRIBUTING.md said the models use the CLICKHOUSE namespace's dedup key; no model has ever carried an extension. The namespace stays the only one allowed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
apache/ossie#691 moved the spec's version to
0.3.0.dev0; there will be no 0.2.0. dactopus-ossie-clickhouse 0.15.0 and newer read only the new version, and 0.16.0 (Dactopus/dactopus-ossie-clickhouse#97) also reads the extensions under their new name,nonportable_extensions(apache/ossie#522).0.3.0.dev0; README, CONTRIBUTING, AGENTS.md anddocs/index.htmlname it. Nothing else in the models changes.==0.16.0instead of==0.14.0.nonportable_extensions. AGENTS.md and CONTRIBUTING.md no longer say the models use theCLICKHOUSEnamespace'sdedupkey: no model has carried an extension.tests/run_canon.py --engine duckdbreadsDATEDIFF's date part first, as the spec writes it, soorders.order_weekdayreaches DuckDB as a valid expression.Breaking for a deployment: dactopus-ossie-clickhouse 0.14.0 and earlier refuse the models as an unsupported version. The CHANGELOG says so.
Checks run locally:
dactopus-ossie-clickhouse validate entities/*.yamlon 0.16.0: ok. On 0.14.0:unsupported version '0.3.0.dev0'.tests/check_contracts.py: contracts agree.tests/run_canon.pyon ClickHouse with 0.16.0: shopify 48 of 48, woocommerce 52 of 52, windows 4 of 4 each.tests/run_canon.py --engine duckdb(extension 0.3.0): shopify 38 of 48 with 8 refused, woocommerce 39 of 52 with 11 refused; the two remaining differences per package are the known ones. Before the DATEDIFF fix, 37 and 38, and the same with0.2.0.dev0.🤖 Generated with Claude Code