Repository navigation
test: set_options refuses an unknown compression name and keeps the stored one; encode_effort seeds the ledger (#1341) - #1371
Conversation
jdatcmd
left a comment
There was a problem hiding this comment.
Approving ed40487. Reproduced on PG18.
- Green: 12/12.
- Red: I replaced the compression-name guard in
set_options(pgcolumnar--1.0-alpha5.sql:531-534) with a comment. Both arms fail:
FAIL an unknown compression name is refused: got [no ( set_options …)] want [yes]
FAIL and the compression set before it is still the one stored: got [brotli] want [zstd] - Ledger: the 12 seeded rows match the 12 checks, and the two dated rows are those two arms. No duplicate keys.
Before merge: it conflicts with main 9b3c181. Main's ceiling is already 245 from #1362, so the rebase must restate it to 244 and restate the census on top of 1821.
ed40487 to
65d4ff2
Compare
|
Rebased onto 57f6e0e (#1401), on top of #1403. The new head is 65d4ff2. Only the count files changed, so this needs your re-approval.
🤖 Generated with Claude Code |
|
Re-run finished on the tree after #1403 (758039f or later). Everything is green, so the head above stands:
🤖 Generated with Claude Code |
65d4ff2 to
cad2dfa
Compare
|
Rebased onto 7da848d (#1432, #1409). The new head is cad2dfa; only the count files changed, so please re-approve this head.
🤖 Generated with Claude Code |
cad2dfa to
0a50162
Compare
|
Rebased onto 1f7b5da (#1411, #1412, #1417, #1418). The new head is 0a50162. Only the count files changed, plus TESTS.md section numbers where main took 115, so please re-approve this head.
🤖 Generated with Claude Code |
|
The PG18 re-run on this head (0a50162, on 1f7b5da with #1412's index-build change) is all green:
🤖 Generated with Claude Code |
|
Rebased onto 37ea557 (#1414, #1425). The new head is 44c60ad. Only the count files changed, so please re-approve this head.
🤖 Generated with Claude Code |
44c60ad to
f65e22d
Compare
|
Rebased onto f2bd5f1 (#1427). The new head is f65e22d. Only the count files changed, so please re-approve this head.
🤖 Generated with Claude Code |
|
Rebased onto d5c0a5e (#1391). The new head is 714a628, so please re-approve this head.
🤖 Generated with Claude Code |
f65e22d to
714a628
Compare
|
Rebased onto 2d1a77f (#1413–#1424). The new head is c2dd031, so please re-approve this head.
🤖 Generated with Claude Code |
714a628 to
c2dd031
Compare
jdatcmd
left a comment
There was a problem hiding this comment.
Re-approved at c2dd031, the rebase onto 2d1a77f. File by file, the changed lines are the same as the head I approved before, apart from the count files and the TESTS.md section number.
🤖 Generated with Claude Code
…ws are reworded The mutation column is a ';'-separated set, written back sorted. A --mutation whose text held "; " was stored as two mutations, one a fragment starting with a space, and every later merge re-sorted it. commandprompt#1427's recovery_minimal_wal text did this to 8 rows, and commandprompt#1423, commandprompt#1424 and commandprompt#1426 each carried them as a change of their own. Four older harness_selftest rows were split the same way. - merge refuses a --mutation holding ';' (rc 2, ledger untouched). - the reader refuses a ';'-piece with whitespace at an end, by line: the writer joins with a bare ';', so such a piece is a fragment, never a mutation. - the 12 rows are reworded without ';', from their original text in history. Only field 6 changes; the census stays 3007 / 2282 / 725. Red first: the two refusal arms got 0 want 2 on the unchanged tool, and the committed-ledger arm was red at line 1783 with the refusal in and the rows not yet reworded. guard_tests 435 -> 438 by collection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rompt#1341 item 75) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…ment-mark mutation (commandprompt#1341 item 75) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…wn privileges, in both twins (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…d the refused tier writes no file, in both twins (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…ITY DEFINER (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
… back; both its branches echoed "ran" (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…uals (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…x, and the twin fails it by name rather than raising (commandprompt#1383 review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
commandprompt#1383 review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…name (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… arm runs with the configured list empty, in both twins (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n comparing two empty strings (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…andprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d the shell names 'empty' itself (commandprompt#1379 review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…dated (commandprompt#1379 review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjTxfQJj5pnii9wzmPP9Ho
…l's name (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…0) and leaves nothing declared, in both twins (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts connections (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Restated for the chain you asked for. The new head is b8cd124, so please re-approve this head.
🤖 Generated with Claude Code |
c2dd031 to
b8cd124
Compare
jdatcmd
left a comment
There was a problem hiding this comment.
Re-approved at b8cd124, its place in the chain on 17420be. This PR's own commits, measured from the link below it, change the same lines as the head I approved before, apart from the count files and the TESTS.md section number.
🤖 Generated with Claude Code
…emise: prefix (commandprompt#1341) Review of commandprompt#1375 by jdatcmd: CI's suites (PG 17) ledger gate found the row seeded as 'premise: the drop really removed the projection' while projections.sh:410 and test_projections.py:795 name the check without the prefix, so the gate saw one check not in the ledger and one orphan row. The row is renamed and keeps its other fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e writing any statistics, in both twins (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…blings do (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… dated (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ys so (commandprompt#1341) test_a_named_column_that_does_not_exist_is_refused calls pgcolumnar.analyze(), which needs PostgreSQL 18, so it declines on 15, 16 and 17 like the other analyze_function twins. It was missing from expected_unrunnable.txt, so CI's PG17 cluster job collected and passed 578 and still exited 67 on the unexpected decline. Measured on PG17: test_analyze_function.py exits 67 without these rows and 0 with them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tored one (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dated (commandprompt#1341) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
b8cd124 to
f41f38b
Compare
|
Restacked onto #1375's fix (875429d, its projections row renamed). The new head is f41f38b, so please re-approve this head. This PR's own commits are unchanged, and nothing in its diff moved. 🤖 Generated with Claude Code |
jdatcmd
left a comment
There was a problem hiding this comment.
Re-approved at f41f38b. This PR's own commits are the same as the head I approved, rebased onto the fixed #1375.
🤖 Generated with Claude Code
Part of #1341: the medium sql-objects item "set_options refuses an unknown compression name". The guard in
pgcolumnar--1.0-alpha5.sqlhad no arm. Without it, an unknown name is stored, and the C reader maps a name it doesn't know to −1 and falls back to the instance default. So the table would compress as something else, with nothing said.Arms (
encode_effort.sh, beside the encode_effort refusal they mirror)set_options(compression => 'brotli')must raiseunknown columnar compression "brotli".zstdset just before it must still be the stored value.PG17, main ff09c2c against this branch, with the compression-name check removed:
Shell only:
encode_efforthas no pytest twin.Evidence
encode_efforthad no rows, so it is seeded with all 12. 2353 → 2365 rows, the census 1798 → 1808, and suites_not_covered 246 → 245. The two arms are dated.🤖 Generated with Claude Code