Repository navigation
harness: the Oracle ledger parity cell derives its declared TIMESTAMP(9) column from the ledger row, not from a declarable marker the row no longer carries - #1243
Merged
Conversation
…(9) column from the ledger row, not from a declarable marker the row no longer carries
… the undeclared text and the declared column, so it stays out of the weak-only count
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.
Why
Nightly Live run 45622453303, job E2E (4/4):
live_cdc_type_parity::oracle_batch_and_cdc_deliver_every_ledger_row_alikepanics attests/live/live_cdc_type_parity.rs:147:28withengines.oracle: no `declarable` row TIMESTAMP(9).Root cause: #1234 made the undeclared Oracle TIMESTAMP(9) a delivered row (
delivery: iso_timestamp_nanos) and dropped itsrefusesanddeclarable: true. The test still looked the row up by that marker, so it found nothing. The marker was a second place that had to agree with the row. After #1234 no row in any engine carries it.What
declared_timestamp_rowfinds the ledger row bynative_typealone, with no marker.C{declared_at}), not by filtering on the native name. The ledger now also holds the undeclared TIMESTAMP(9) text row, so a name filter would match two columns.declarablemarker: the guard check and itsROW_KEYSentry (tests/offline/type_capability_matrix_guard.rs), the key doc indocs/type-capability-matrix.yaml, and the clause indev/release_oracle/property_no_silent_null.py::columns.Evidence (devbox, same env as CI: COMPOSE_PROJECT_NAME=rivet, through live_slot + build_lock)
panicked at tests/live/live_cdc_type_parity.rs:147:28,test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 3499 filtered outtest result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 3499 filtered out; finished in 52.18s, with RIVET-ORACLE-PASS lines for the CDC, batch and warehouse grades (diff_columns: [])let declared = "# N")panicked at tests/common/duckdb.rs:78:9,BinderException ... strftime(VARCHAR, STRING_LITERAL),1 failed. Restored from a snapshot copy;git statusclean, mutant text count 0.type_capability_matrix_guard)pre-push: okBoth TIMESTAMP(9) columns (undeclared text and declared
timestamp) are now graded in the one table on batch, CDC and the warehouse leg.Not verified
columns()is unchanged for rows without it.src/change, so no Invariants section.