@metabase/cli 0.4.0-alpha.release-65-integration-branch.31ca6bb → 0.4.1-alpha.fix-transform-test-ee-path.b41b46c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-collection-B-Kczwcj.mjs → add-collection-CcjydN8e.mjs} +3 -3
- package/dist/{alert-Ne0ivd5m.mjs → alert-DBTU8iHe.mjs} +7 -7
- package/dist/{alerts-Fakzg9iP.mjs → alerts-DsgnumqY.mjs} +6 -6
- package/dist/{append-DCDVqPmR.mjs → append-DUFn3_Og.mjs} +4 -4
- package/dist/{archive-DCCkQTjQ.mjs → archive-BEzfnrwM.mjs} +3 -3
- package/dist/{archive-CGmvQht4.mjs → archive-BTfOiOnx.mjs} +5 -5
- package/dist/{archive-CL8wqAzm.mjs → archive-Bxl1oeJr.mjs} +3 -3
- package/dist/{archive-BbNqts-V.mjs → archive-CC6THE3k.mjs} +3 -3
- package/dist/{archive-CpCSY4RT.mjs → archive-CI-WE7dA.mjs} +5 -5
- package/dist/{archive-CSdktxvW.mjs → archive-CWs273rN.mjs} +5 -5
- package/dist/{archive-C93UR4Uc.mjs → archive-CcPTctIo.mjs} +3 -3
- package/dist/{archive-DCE087yD.mjs → archive-DVgglC0F.mjs} +4 -4
- package/dist/{archive-DIZu7o4C.mjs → archive-DjQkD1WI.mjs} +4 -4
- package/dist/{archive-DEef7eB8.mjs → archive-jwyopr47.mjs} +3 -3
- package/dist/{archive-BNJit8eD.mjs → archive-sfqadV_a.mjs} +3 -3
- package/dist/{auth-Bx4QQhqt.mjs → auth-IQKgyb_x.mjs} +5 -5
- package/dist/{body-CB2eDFFb.mjs → body-CT1cQrhp.mjs} +3 -3
- package/dist/{branch-flag-pFQPNYKr.mjs → branch-flag-Czh8JT1G.mjs} +1 -1
- package/dist/{branches-B6ilUG-7.mjs → branches-ByUeNOBP.mjs} +3 -3
- package/dist/{breaking-Dg3-8yDF.mjs → breaking-BKR88YVq.mjs} +6 -6
- package/dist/{broken-BNBD4Eo3.mjs → broken-DeS3_Cg2.mjs} +8 -8
- package/dist/{bulk-discard-values-DfKXuZpR.mjs → bulk-discard-values-DY7svs0d.mjs} +5 -5
- package/dist/{bulk-edit-oUCfDQ_M.mjs → bulk-edit-3EfcsqCu.mjs} +4 -4
- package/dist/{bulk-rescan-values-B8pNlXUH.mjs → bulk-rescan-values-BpwnC_WY.mjs} +4 -4
- package/dist/{bulk-sync-schema-tRp7jBJt.mjs → bulk-sync-schema-Dwbs0TsG.mjs} +4 -4
- package/dist/{cancel-Bl4BMkwI.mjs → cancel-Nz4jJ-Ey.mjs} +3 -3
- package/dist/{cancel-task-CWWo7vLf.mjs → cancel-task-CX_qYiJ0.mjs} +2 -2
- package/dist/{card-P5mBknsl.mjs → card-Bv4ZN0oV.mjs} +12 -2
- package/dist/{card-CQNUT9pm.mjs → card-DSrgU7lT.mjs} +1 -1
- package/dist/card-DmQO85ej.mjs +25 -0
- package/dist/{cards-BIUYdSIR.mjs → cards-FUW8-5PO.mjs} +4 -4
- package/dist/cli.mjs +69 -58
- package/dist/{client-BHIFvEg2.mjs → client-5y-BaV3d.mjs} +13 -560
- package/dist/collection-BPVrTfTv.mjs +21 -0
- package/dist/{collection-D3KXhvnc.mjs → collection-BgPYl2c5.mjs} +1 -1
- package/dist/{collection-BG3Ksea-.mjs → collection-DPiztU_l.mjs} +1 -1
- package/dist/{collection-namespace-ZQePD67z.mjs → collection-namespace-Q_up_tSg.mjs} +2 -2
- package/dist/{content-translation-BRdNdAmn.mjs → content-translation-CSkaKlqa.mjs} +3 -3
- package/dist/{copy-CbDfVZRC.mjs → copy-WlNBviDZ.mjs} +6 -6
- package/dist/{copy-BMEaYmTb.mjs → copy-fikpWJO4.mjs} +4 -4
- package/dist/{copy-flags-anRhAvB5.mjs → copy-flags-j38p0var.mjs} +2 -2
- package/dist/{create-CBSsW8Hm.mjs → create-9sPJd45D.mjs} +6 -6
- package/dist/{create-c2zR9y4J.mjs → create-BI73JzZN.mjs} +4 -4
- package/dist/{create-SqmOf6WQ.mjs → create-BmCz5lro.mjs} +6 -6
- package/dist/{create-zpJIRn9j.mjs → create-C0MNevKK.mjs} +5 -5
- package/dist/{create-5cDaZcRL.mjs → create-C4dDHOzR.mjs} +3 -3
- package/dist/{create-BEN-2XFK.mjs → create-CC89lXeE.mjs} +3 -3
- package/dist/{create-C7O9tPL2.mjs → create-CEezFRTJ.mjs} +5 -5
- package/dist/{create-D_pNX7d0.mjs → create-CLLcjbzq.mjs} +3 -3
- package/dist/{create-C8hsOv_D.mjs → create-CO6gBV7I.mjs} +6 -6
- package/dist/{create-CG6WWY6k.mjs → create-COv2mYmk.mjs} +4 -4
- package/dist/{create-C3TmU1Bi.mjs → create-CYqqBKhE.mjs} +4 -4
- package/dist/{create-D2Shlb7t.mjs → create-Ci7o6-Fk.mjs} +3 -3
- package/dist/create-DQM_AB3I.mjs +34 -0
- package/dist/{create-R0Q-nRlq.mjs → create-DdnC7PkI.mjs} +4 -4
- package/dist/{create-DVEqry26.mjs → create-Dp1597uC.mjs} +4 -4
- package/dist/{create-xt4ff6fP.mjs → create-DqGen4jU.mjs} +3 -3
- package/dist/{create-branch-Cb3CWojg.mjs → create-branch-Cflee_NY.mjs} +2 -2
- package/dist/{create-BTQB1lqX.mjs → create-yLNBBrwG.mjs} +4 -4
- package/dist/{csv-CRNOhy4X.mjs → csv-CX1wws5-.mjs} +4 -4
- package/dist/{current-task-DFo1ZJ51.mjs → current-task-BTnORR7t.mjs} +3 -3
- package/dist/dashboard-c_wOMtS9.mjs +35 -0
- package/dist/{database-BT7DVgSr.mjs → database-D-CRyRIv.mjs} +1 -1
- package/dist/{database-Kq2AL5jH.mjs → database-MlUPpitM.mjs} +1 -1
- package/dist/{dataset-BmvCxGoE.mjs → dataset-p5oNPQgL.mjs} +1 -1
- package/dist/{db-C8lj73Dz.mjs → db-DNevs1XU.mjs} +7 -7
- package/dist/{delete-D_ZNoYVv.mjs → delete-BJ18ifIG.mjs} +4 -4
- package/dist/{delete-CYgNpHl7.mjs → delete-CCUYbNae.mjs} +4 -4
- package/dist/delete-CZTG4wI2.mjs +44 -0
- package/dist/{delete-qwdN0N7e.mjs → delete-Ch797MmM.mjs} +4 -4
- package/dist/{delete-My8TX-B2.mjs → delete-ChmqxYa7.mjs} +4 -4
- package/dist/{delete-I4eFpsed.mjs → delete-D5Jy83V-.mjs} +4 -4
- package/dist/{delete-HWeQtc4M.mjs → delete-dfrM_M6T.mjs} +4 -4
- package/dist/{delete-runtime-BbmRg_in.mjs → delete-runtime-Cc7TASG7.mjs} +1 -1
- package/dist/{delete-table-BCvjX7bh.mjs → delete-table-0xxoSknN.mjs} +4 -4
- package/dist/{dependencies-BAE4YPXX.mjs → dependencies-GvzMLOS2.mjs} +5 -5
- package/dist/{dependency-zElFM-os.mjs → dependency-BZxbh7qe.mjs} +2 -2
- package/dist/dependency-D6DMbPVm.mjs +15 -0
- package/dist/{dependency-DzLH3J8P.mjs → dependency-DaGeVAHF.mjs} +2 -2
- package/dist/{dependents-Dv6tLdSs.mjs → dependents-BRqKb0Pu.mjs} +9 -9
- package/dist/{dirty-CZORg0i0.mjs → dirty-Bq2cf5AG.mjs} +3 -3
- package/dist/{discard-values-DKnP-JHr.mjs → discard-values-k5-ePxWl.mjs} +5 -5
- package/dist/{document-C18b5rM6.mjs → document-BsaKF8UR.mjs} +1 -1
- package/dist/{document-DFCj1Az_.mjs → document-COQzVLjW.mjs} +1 -1
- package/dist/document-DCqe5MO9.mjs +20 -0
- package/dist/{download-BImtTll0.mjs → download-Dpbarf8I.mjs} +2 -2
- package/dist/{eid-D0FxhT9H.mjs → eid-BEc1p_um.mjs} +4 -4
- package/dist/{entity-DWp9WJbU.mjs → entity-c_Br4SFc.mjs} +2 -2
- package/dist/{entry-flags-3sDWwa90.mjs → entry-flags-z8cZTfaQ.mjs} +4 -4
- package/dist/{events-BzCjVA3-.mjs → events-DBpOpy2y.mjs} +4 -4
- package/dist/{export-CjqjDnaZ.mjs → export-F-R_vF48.mjs} +5 -5
- package/dist/{export-flags-BETJHNcw.mjs → export-flags-QbLI0sKz.mjs} +3 -3
- package/dist/{export-preflight-DzvIP6TB.mjs → export-preflight-0BvDa8Oz.mjs} +3 -3
- package/dist/field-CcCQ0goz.mjs +21 -0
- package/dist/{fields-C-au1eLO.mjs → fields-DOdrazv2.mjs} +4 -4
- package/dist/{filter-flags-BIFcA2TT.mjs → filter-flags-DiUgZ6vZ.mjs} +4 -5
- package/dist/{fks-83QIm8xb.mjs → fks-41Ig_ZQ2.mjs} +5 -5
- package/dist/{get-C9sq2boy.mjs → get-2l2CbHc6.mjs} +3 -3
- package/dist/{get-Z36_0HX_.mjs → get-B8hREA2A.mjs} +4 -4
- package/dist/{get-CkXc0Xld.mjs → get-BAV-KpLU.mjs} +5 -5
- package/dist/{get-Dvr_69L7.mjs → get-BVaN-tgY.mjs} +3 -3
- package/dist/{get-BMHbEGbr.mjs → get-Bby33eun.mjs} +4 -4
- package/dist/{get-DXBXhPrU.mjs → get-BjJdy_Iw.mjs} +5 -5
- package/dist/{get-D_v1IAL1.mjs → get-BlLUy1G0.mjs} +3 -3
- package/dist/{get-YPDWhgm_2.mjs → get-CPhMYZDP.mjs} +4 -4
- package/dist/{get-BTCOzSkl.mjs → get-CVJFF8Lb.mjs} +3 -3
- package/dist/{get-BawLhSwW.mjs → get-CfeNeyGE.mjs} +3 -3
- package/dist/{get-D7h7uH4k.mjs → get-CjK2GzFn.mjs} +5 -5
- package/dist/{get-CqNEVAX_2.mjs → get-D1c-C-_Q2.mjs} +3 -3
- package/dist/{get-Cggv6yLC.mjs → get-DaxwG0AP.mjs} +4 -4
- package/dist/{get-C-R_Fdsi.mjs → get-DwUB0K2G.mjs} +3 -3
- package/dist/{get-DkzO3G5p.mjs → get-Dwp_BfIp.mjs} +5 -5
- package/dist/get-DxpDAUz4.mjs +32 -0
- package/dist/{get-NOMvMvYJ.mjs → get-OKOOd2yb.mjs} +3 -3
- package/dist/{get-BjqqFG2m.mjs → get-TbBkN-jS.mjs} +3 -3
- package/dist/{get-DTTsPd-c.mjs → get-YinpF0y5.mjs} +4 -4
- package/dist/{get-C73V2KsB.mjs → get-aC5jUA1y.mjs} +5 -5
- package/dist/{get-run-v1QHn-Mx.mjs → get-run-PeXiUJwf.mjs} +4 -4
- package/dist/git-sync-CO199xCu.mjs +29 -0
- package/dist/{glossary-BlNCrYbw.mjs → glossary-CdW6RFId.mjs} +1 -1
- package/dist/{glossary-LmZWwCNP.mjs → glossary-Del97Jqg.mjs} +1 -1
- package/dist/glossary-LdAlftZW.mjs +14 -0
- package/dist/{graph-B6OliqnW.mjs → graph-M7V_js_w.mjs} +6 -6
- package/dist/{group-bpD_KcjA.mjs → group-D4w87fXL.mjs} +1 -1
- package/dist/{has-remote-changes-iTRCU9j0.mjs → has-remote-changes-D7uABGR0.mjs} +2 -2
- package/dist/{import-CdSs5CtT.mjs → import-CABYSyWS.mjs} +5 -5
- package/dist/{input-D8qW-KtR.mjs → input-DjHsV-kD.mjs} +1 -1
- package/dist/{is-dirty-B5fj9NeS.mjs → is-dirty-DpQBXuVa.mjs} +2 -2
- package/dist/{items-BxWnNEh7.mjs → items-BqUCPf-J.mjs} +6 -6
- package/dist/{key-BynJSK9u.mjs → key-BTaxFn_7.mjs} +1 -1
- package/dist/{library-Ck0EK5bi.mjs → library-C4M8TF2N.mjs} +1 -1
- package/dist/{library-BHHgurW0.mjs → library-DDrpsgMv.mjs} +5 -5
- package/dist/{library-BOv5SY24.mjs → library-DmkpcZPb.mjs} +1 -1
- package/dist/{list-CPWgBkPa.mjs → list-BFAc460G.mjs} +4 -4
- package/dist/{list-hN_Tu2T6.mjs → list-BQXq0A65.mjs} +6 -6
- package/dist/{list-DFJt2-fY.mjs → list-BXRUiZuH.mjs} +4 -4
- package/dist/{list-DA9KsA0o.mjs → list-BygxQkq7.mjs} +5 -5
- package/dist/{list-CNC-XHbN.mjs → list-C9H24xr5.mjs} +6 -6
- package/dist/{list-By9XJRiv.mjs → list-CEU9UXaZ.mjs} +3 -3
- package/dist/{list-Dzzt6Yee.mjs → list-CHUwj_Qh.mjs} +3 -3
- package/dist/{list-DbXnSL2x.mjs → list-CLRezReA.mjs} +5 -5
- package/dist/{list-DW4-u7eO.mjs → list-CONZkA9i.mjs} +5 -5
- package/dist/list-CQJABPGk.mjs +35 -0
- package/dist/{list-DE9gYY3I.mjs → list-CZF_gQnI.mjs} +3 -3
- package/dist/{list-ZHLsjxXg.mjs → list-D0MlsdSX.mjs} +4 -4
- package/dist/{list-zyKxxNvn.mjs → list-D217irjK.mjs} +3 -3
- package/dist/{list-BTgAbqeS.mjs → list-DO767sO1.mjs} +4 -4
- package/dist/{list-e7yvJYMw.mjs → list-Dd9o6Tut.mjs} +3 -3
- package/dist/{list-DUcnAb1h.mjs → list-Hiq5T4Bt.mjs} +3 -3
- package/dist/{list-BPMOLrwn.mjs → list-ISpYiawJ.mjs} +5 -5
- package/dist/{list-Bop1NTbU.mjs → list-aHFBopQd.mjs} +6 -6
- package/dist/{list-BTcEm4td.mjs → list-glgnTw7w.mjs} +3 -3
- package/dist/{list-Cpa0Se7M.mjs → list-yDJq3wNs.mjs} +5 -5
- package/dist/{login-B7nGQDZK.mjs → login-DCWam2ec.mjs} +6 -6
- package/dist/{logout-pZffAh1G.mjs → logout-CmrJqhkc.mjs} +2 -2
- package/dist/{measure-AtnrCTCC.mjs → measure-c_VUyXFN.mjs} +6 -6
- package/dist/{notification-DOYdl0ao.mjs → notification-Cuuwoksm.mjs} +1 -1
- package/dist/{parameter-values-CxTkEjCs.mjs → parameter-values-CnwWZrJ_.mjs} +3 -3
- package/dist/{parse-enum-CLIXMsd8.mjs → parse-enum-BPKULOSw.mjs} +1 -1
- package/dist/{parse-id-7ja3HUdB.mjs → parse-id-aMXePsUP.mjs} +1 -1
- package/dist/{parse-ref-Cw5fa4FI.mjs → parse-ref-8bVX_9IN.mjs} +1 -1
- package/dist/{parse-text-T0lTXzTZ.mjs → parse-text-Bm6eUa-p.mjs} +1 -1
- package/dist/{path-DM4vyihl.mjs → path-CGbz-QSr.mjs} +4 -4
- package/dist/{poll-Dz4tUm2f.mjs → poll-DFZRtTA_.mjs} +2 -2
- package/dist/{preflight-DaZ2z2C1.mjs → preflight-ChJ0pemy.mjs} +3 -3
- package/dist/{process-D0HdqZ3r.mjs → process-B3Di_HtV.mjs} +1 -1
- package/dist/{publish-C0HCL04a.mjs → publish-7ke00CtK.mjs} +4 -4
- package/dist/{pulse-D1uh8UIU.mjs → pulse-CIza18rO.mjs} +1 -1
- package/dist/{query-BC-C6efK.mjs → query-8M7ZN2Ca.mjs} +6 -6
- package/dist/{query-CAFPlqfi.mjs → query-DNa-fGS7.mjs} +10 -11
- package/dist/{remapping-CgA6UJGU.mjs → remapping-Cy1CEown.mjs} +4 -4
- package/dist/{remove-collection-DoctJa9g.mjs → remove-collection-B2CL66No.mjs} +3 -3
- package/dist/{render-Bvm9mta6.mjs → render-ColPG5G7.mjs} +2 -2
- package/dist/{replace-CaFJd9fO.mjs → replace-COC3ggyx.mjs} +4 -4
- package/dist/{rescan-values-7VOGCLMe.mjs → rescan-values-DUX58myu.mjs} +4 -4
- package/dist/{rescan-values-sJRwcHsk.mjs → rescan-values-DXzXTw9a.mjs} +5 -5
- package/dist/{run-COHDQ5J4.mjs → run-C5wf-lug.mjs} +3 -3
- package/dist/run-C_nqwWmC.mjs +63 -0
- package/dist/{run-RXpFlDAB.mjs → run-T2a4m1x9.mjs} +7 -7
- package/dist/{runs-CUYdCKiE.mjs → runs-Datc76Wu.mjs} +5 -5
- package/dist/{runtime-B8RtMb4B.mjs → runtime-C3AL15Dp.mjs} +2 -2
- package/dist/{schema-tables-CO5qyZBe.mjs → schema-tables-CR2S5mNc.mjs} +5 -5
- package/dist/{schemas-CzHHgDdF.mjs → schemas-OrGjEuVc.mjs} +4 -4
- package/dist/{search-Cc9vHNae.mjs → search-BEXBlfak.mjs} +5 -5
- package/dist/{search-BWb052_b.mjs → search-CJYSB5eP.mjs} +5 -5
- package/dist/{segment-C_rsUkHK.mjs → segment-Tt8GaRnc.mjs} +6 -6
- package/dist/{send-C-3bkpni.mjs → send-uNLODakO.mjs} +3 -3
- package/dist/{set-BDkT37OT.mjs → set-DRp3F4wz.mjs} +4 -4
- package/dist/{set-active-CDJTfQEc.mjs → set-active-CAt6ieXS.mjs} +3 -3
- package/dist/{set-sensitivity-DVrINHde.mjs → set-sensitivity--Qq2RXVE.mjs} +4 -4
- package/dist/{setting-CoLzd08x.mjs → setting-DMqvipRp.mjs} +4 -4
- package/dist/{setup-C4F4XYbU.mjs → setup-B2PC1NVz.mjs} +3 -3
- package/dist/{signal-CxWeLszu.mjs → signal-0Yt8JTMn.mjs} +1 -1
- package/dist/{skill-list-BgihWuPf.mjs → skill-list-Cyx1935Q.mjs} +2 -2
- package/dist/{skills-BWEFRpUj.mjs → skills-D7wu2iff.mjs} +3 -3
- package/dist/{skills-4qDjKRSk.mjs → skills-Dlp0MK6g.mjs} +2 -2
- package/dist/snippet-D-5bKT_U.mjs +19 -0
- package/dist/{stash-CZ1x0rox.mjs → stash-CHeQPI8Z.mjs} +4 -4
- package/dist/{status-BM6eYW7I.mjs → status-Bdt5XWrQ.mjs} +3 -3
- package/dist/{status-gqpPZvue.mjs → status-gTN3G-rs.mjs} +4 -4
- package/dist/{subscription-pSuO241O.mjs → subscription-C9alueg1.mjs} +6 -6
- package/dist/{subscriptions-n5zJ9rYZ.mjs → subscriptions-DJKbcxDy.mjs} +6 -6
- package/dist/{summary-DvIf2EiO.mjs → summary-kaC0aINr.mjs} +3 -3
- package/dist/{sync-schema-Cc21crxQ.mjs → sync-schema-C29bGCtt.mjs} +4 -4
- package/dist/{sync-schema-D1t8rhdQ.mjs → sync-schema-CyKovAb9.mjs} +6 -6
- package/dist/{sync-task-CXFoqlpF.mjs → sync-task-BAMOf6_t.mjs} +3 -2
- package/dist/table-8c-V5afO.mjs +26 -0
- package/dist/{table-CxvaDiIZ.mjs → table-BFIOH6Pb.mjs} +1 -1
- package/dist/{table-selector-flags-BVZvnhUa.mjs → table-selector-flags-CSoedTgm.mjs} +2 -2
- package/dist/{text-DaNkPRwt.mjs → text-CdtEI6l6.mjs} +1 -1
- package/dist/timeline-BetOmLYk.mjs +21 -0
- package/dist/{timeline-event-jn1SOKd4.mjs → timeline-event-DN3y8vwW.mjs} +6 -6
- package/dist/{transform-CNBIV7No.mjs → transform-D4z70PIN.mjs} +1 -1
- package/dist/transform-job-DALBzYVV.mjs +22 -0
- package/dist/transform-p-6_thIh.mjs +28 -0
- package/dist/{transform-tag-C0jzV6Dk.mjs → transform-tag-CIKnNaQH.mjs} +5 -5
- package/dist/transform-test-BjjCQ2xm.mjs +169 -0
- package/dist/transform-test-C5Havg4o.mjs +16 -0
- package/dist/transform-test-DHGKeuHa.mjs +32 -0
- package/dist/{transforms-DwTy_Quh.mjs → transforms-BQjwZKTN.mjs} +5 -5
- package/dist/transport-DuU3fLui.mjs +313 -0
- package/dist/{tree-p2j6IVy-.mjs → tree-C21CG5rm.mjs} +3 -3
- package/dist/{unpublish-B-961jX1.mjs → unpublish-C7MRZTmS.mjs} +3 -3
- package/dist/{unreferenced-Dxy-aYI7.mjs → unreferenced-BJUIC_Ct.mjs} +6 -6
- package/dist/{update-CHkVN69L.mjs → update-9b4JHJWR.mjs} +4 -4
- package/dist/{update-MD1Kwq1P.mjs → update-B2F22ryV.mjs} +4 -4
- package/dist/update-BQben_Xm.mjs +41 -0
- package/dist/{update-BnIEN390.mjs → update-BXFGGYT8.mjs} +5 -5
- package/dist/{update-BGeaPntx.mjs → update-C0QcHFIP.mjs} +5 -5
- package/dist/{update-CYGYUCFQ.mjs → update-CBcJTZo6.mjs} +4 -4
- package/dist/{update-DXxJHC8y.mjs → update-CCHTQjsP.mjs} +6 -6
- package/dist/{update-CKqL9PmU.mjs → update-CVO8Srng.mjs} +5 -5
- package/dist/{update-D4TGE6FS.mjs → update-CYy-r_Jq.mjs} +5 -5
- package/dist/{update-D7xi-0bU.mjs → update-CZ2eSAV5.mjs} +4 -4
- package/dist/{update-CALlEgIC.mjs → update-CuYvtXQY.mjs} +4 -4
- package/dist/{update-DK77vtFF.mjs → update-D6oHLn1g.mjs} +6 -6
- package/dist/{update-DiJK0uRG.mjs → update-DDH6FTe6.mjs} +8 -8
- package/dist/{update-BFYRBbRu.mjs → update-DEnsF5zT.mjs} +5 -5
- package/dist/{update-qDZvnwvf.mjs → update-DX1s6KnO.mjs} +7 -7
- package/dist/{update-DKDQTlnV.mjs → update-Duxk_-dC.mjs} +5 -5
- package/dist/{update-hvO4VpfZ.mjs → update-EpHReUGk.mjs} +7 -7
- package/dist/{update-tltXCUwR.mjs → update-IEVAFvpi.mjs} +4 -4
- package/dist/{update-dashcard-DuTjOh14.mjs → update-dashcard-C4ZndfvP.mjs} +4 -4
- package/dist/{upgrade-Ca-Ss5jb.mjs → upgrade-o2DpB66j.mjs} +4 -4
- package/dist/upload-BqNErDXE.mjs +13 -0
- package/dist/{upload-t6dkccqn.mjs → upload-CEtKrueq.mjs} +3 -3
- package/dist/{upload-C2fhpKkP.mjs → upload-DJB7DMA1.mjs} +2 -2
- package/dist/{uuid-BMlJZT8z.mjs → uuid-D9oozo8p.mjs} +2 -2
- package/dist/{validate-D7e110oU.mjs → validate-D_iikPkc.mjs} +1 -1
- package/dist/{validate-query-BzbZmenf.mjs → validate-query-BEYjmSv2.mjs} +3 -7
- package/dist/{values-CXN4xTTh.mjs → values-De8aGDiJ.mjs} +3 -3
- package/dist/{verify-k-JB-k3D.mjs → verify-DKmz4xJs.mjs} +3 -3
- package/dist/{verify-CPVfwKSu.mjs → verify-DVjaammv.mjs} +3 -3
- package/dist/{verify-t-CEmvoG.mjs → verify-ob8JSLxv.mjs} +3 -3
- package/dist/{wait-KSkq7kKW.mjs → wait-BN_MzTng.mjs} +5 -5
- package/dist/{wait-flags-KX7NHdj4.mjs → wait-flags-DQlX2yM_.mjs} +2 -2
- package/dist/{window-CI_QD04s.mjs → window-2ybHqui2.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +7 -1
- package/skill-data/native-sql/SKILL.md +1 -1
- package/skill-data/transform/SKILL.md +63 -1
- package/skill-data/transform-test-plan/SKILL.md +82 -0
- package/skill-data/transform-test-plan/references/checklist.md +32 -0
- package/skill-data/transform-test-plan/references/checks.md +156 -0
- package/dist/archive-55sDfnHf.mjs +0 -32
- package/dist/card-CQD4D8mw.mjs +0 -25
- package/dist/collection-CuaTd10G.mjs +0 -21
- package/dist/create-BJG630xB.mjs +0 -48
- package/dist/dashboard-D11YAa7I.mjs +0 -35
- package/dist/data-action-BiHjjVjc.mjs +0 -24
- package/dist/data-action-DZxVB_hD.mjs +0 -85
- package/dist/data-action-R9qxJDPA.mjs +0 -40
- package/dist/delete-09O7BTNw.mjs +0 -44
- package/dist/dependency-CIam7zmr.mjs +0 -15
- package/dist/document-uxz96Lah.mjs +0 -20
- package/dist/execute-BhHbkBqf.mjs +0 -45
- package/dist/field-fBpiGiqr.mjs +0 -21
- package/dist/get-DGmE5fmp.mjs +0 -31
- package/dist/git-sync-VAqASCQ5.mjs +0 -29
- package/dist/glossary-Brnk2PBi.mjs +0 -14
- package/dist/list-DgsM9YQX.mjs +0 -28
- package/dist/query-BKtMP5eH.mjs +0 -13
- package/dist/snippet-CYd8D9SK.mjs +0 -19
- package/dist/table-Dc0dLfyg.mjs +0 -26
- package/dist/timeline-BqU5sOb6.mjs +0 -21
- package/dist/transform-BUIlFqpv.mjs +0 -28
- package/dist/transform-job-DsbY9mme.mjs +0 -22
- package/dist/update-CuQy2g51.mjs +0 -52
- package/dist/upload-Dw7mVr9u.mjs +0 -13
- package/skill-data/data-action/SKILL.md +0 -125
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as MeasureUpdateInput, t as Measure } from "./measure-CtfjqJFP.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-BEYjmSv2.mjs";
|
|
8
8
|
import { t as measureView } from "./measure-4P0bOlZ3.mjs";
|
|
9
9
|
//#region src/commands/measure/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { c as CardUpdateInput, t as Card } from "./card-
|
|
7
|
-
import { n as cardView } from "./card-
|
|
8
|
-
import {
|
|
6
|
+
import { c as CardUpdateInput, t as Card } from "./card-Bv4ZN0oV.mjs";
|
|
7
|
+
import { n as cardView } from "./card-DSrgU7lT.mjs";
|
|
8
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-BEYjmSv2.mjs";
|
|
9
9
|
//#region src/commands/card/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
|
|
7
7
|
import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { d as DashcardPatchInput, l as Dashcard } from "./dashboard-Phz3XpRM.mjs";
|
|
7
7
|
import { r as dashcardView } from "./dashboard-XSTr9QCr.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as HttpError, R as parseJson, T as USER_AGENT, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as throwIfAborted, t as combineAborts } from "./signal-
|
|
4
|
-
import { n as streamProcess } from "./process-
|
|
1
|
+
import { H as version, J as outputFlags, T as promptConfirm, V as name, _ as writeText, ft as TimeoutError, ht as errorMessage, it as AbortError, pt as UnknownError, t as interruptSignal, u as renderItem, ut as NetworkError } from "./cli.mjs";
|
|
2
|
+
import { P as HttpError, R as parseJson, T as USER_AGENT, t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { n as throwIfAborted, t as combineAborts } from "./signal-0Yt8JTMn.mjs";
|
|
4
|
+
import { n as streamProcess } from "./process-B3Di_HtV.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { realpathSync } from "node:fs";
|
|
7
7
|
import { compare, valid } from "semver";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-D4w87fXL.mjs";
|
|
2
|
+
//#region src/commands/upload/index.ts
|
|
3
|
+
var upload_default = defineCommandGroup({
|
|
4
|
+
name: "upload",
|
|
5
|
+
description: "Upload CSV files into Metabase",
|
|
6
|
+
subCommands: {
|
|
7
|
+
csv: () => import("./csv-CX1wws5-.mjs").then((m) => m.default),
|
|
8
|
+
append: () => import("./append-DUFn3_Og.mjs").then((m) => m.default),
|
|
9
|
+
replace: () => import("./replace-COC3ggyx.mjs").then((m) => m.default)
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
export { upload_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
3
|
import { t as ContentTranslationUploadResult } from "./content-translation-BrHOrmj9.mjs";
|
|
4
|
-
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-
|
|
4
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-DJB7DMA1.mjs";
|
|
5
5
|
//#region src/output/views/content-translation.ts
|
|
6
6
|
const contentTranslationUploadView = {
|
|
7
7
|
compactPick: ContentTranslationUploadResult,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as fileNotFoundError } from "./input-
|
|
1
|
+
import { _t as isFileNotFoundError, ot as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { n as fileNotFoundError } from "./input-DjHsV-kD.mjs";
|
|
3
3
|
import { basename } from "node:path";
|
|
4
4
|
import { readFile } from "node:fs/promises";
|
|
5
5
|
//#region src/runtime/upload.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand, tt as parseInteger } from "./runtime-
|
|
1
|
+
import { J as outputFlags, _ as writeText, g as writeJson, ot as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand, tt as parseInteger } from "./runtime-C3AL15Dp.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
//#region src/commands/uuid.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ot as ConfigError, w as isPlainObject, yt as escapeJsonPointerSegment } from "./cli.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import Ajv2020 from "ajv/dist/2020.js";
|
|
4
4
|
import addFormats from "ajv-formats";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as validateQuery, i as isMbql5Query, n as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-
|
|
1
|
+
import { g as writeJson, ot as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { a as validateQuery, i as isMbql5Query, n as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-D_iikPkc.mjs";
|
|
3
3
|
//#region src/commands/validate-query.ts
|
|
4
4
|
const skipValidateFlag = { "skip-validate": {
|
|
5
5
|
type: "boolean",
|
|
@@ -9,10 +9,6 @@ const CARD_DATASET_QUERY_LABELS = {
|
|
|
9
9
|
contextLabel: "card.dataset_query validation failed",
|
|
10
10
|
bodyNoun: "dataset_query"
|
|
11
11
|
};
|
|
12
|
-
const DATA_ACTION_DATASET_QUERY_LABELS = {
|
|
13
|
-
contextLabel: "dataAction.dataset_query validation failed",
|
|
14
|
-
bodyNoun: "dataset_query"
|
|
15
|
-
};
|
|
16
12
|
const TRANSFORM_SOURCE_QUERY_LABELS = {
|
|
17
13
|
contextLabel: "transform.source.query validation failed",
|
|
18
14
|
bodyNoun: "source.query"
|
|
@@ -35,4 +31,4 @@ function preflightMbql5Query(query, labels, options) {
|
|
|
35
31
|
throw new ConfigError(`${labels.contextLabel}: ${outcome.errors.length} error(s) — fix them, or pass --skip-validate to send anyway`);
|
|
36
32
|
}
|
|
37
33
|
//#endregion
|
|
38
|
-
export {
|
|
34
|
+
export { preflightMbql5Query as a, TRANSFORM_SOURCE_QUERY_LABELS as i, MEASURE_DEFINITION_LABELS as n, skipValidateFlag as o, SEGMENT_DEFINITION_LABELS as r, CARD_DATASET_QUERY_LABELS as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary, y as formatScalar } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
4
|
import { u as FieldValues } from "./field-5nivEfd6.mjs";
|
|
5
5
|
import { s as fieldValuesView } from "./field-wmN6raOG.mjs";
|
|
6
6
|
//#region src/commands/field/values.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
4
|
import { t as ModerationReview } from "./moderation-review-BdqEH6N1.mjs";
|
|
5
5
|
import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-CMpRkMPa.mjs";
|
|
6
6
|
//#region src/commands/dashboard/verify.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
4
|
import { t as ModerationReview } from "./moderation-review-BdqEH6N1.mjs";
|
|
5
5
|
import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-CMpRkMPa.mjs";
|
|
6
6
|
//#region src/commands/card/verify.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as createClient } from "./client-
|
|
2
|
-
import {
|
|
3
|
-
import { P as HttpError, Q as probeServer, T as USER_AGENT } from "./runtime-
|
|
1
|
+
import { n as createClient } from "./client-5y-BaV3d.mjs";
|
|
2
|
+
import { ft as TimeoutError, ht as errorMessage, lt as MetabaseError, ut as NetworkError } from "./cli.mjs";
|
|
3
|
+
import { P as HttpError, Q as probeServer, T as USER_AGENT } from "./runtime-C3AL15Dp.mjs";
|
|
4
4
|
//#region src/core/auth/verify.ts
|
|
5
5
|
const VERIFY_TIMEOUT_MS = 15e3;
|
|
6
6
|
async function verifyAndProbe(url, credential, options = {}) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-
|
|
4
|
-
import { r as parseWaitSchedule } from "./wait-flags-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-DFZRtTA_.mjs";
|
|
4
|
+
import { r as parseWaitSchedule } from "./wait-flags-DQlX2yM_.mjs";
|
|
5
5
|
import { u as syncTaskView } from "./git-sync-DspFahwV.mjs";
|
|
6
|
-
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-
|
|
6
|
+
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-BAMOf6_t.mjs";
|
|
7
7
|
//#region src/commands/git-sync/wait.ts
|
|
8
8
|
const WaitResult = SyncTaskOrIdle;
|
|
9
9
|
var wait_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as interruptSignal } from "./cli.mjs";
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-
|
|
2
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
3
|
+
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-DFZRtTA_.mjs";
|
|
4
4
|
//#region src/commands/wait-flags.ts
|
|
5
5
|
const waitScheduleFlags = {
|
|
6
6
|
timeout: {
|
package/package.json
CHANGED
package/skill-data/core/SKILL.md
CHANGED
|
@@ -12,7 +12,7 @@ Top-level command groups (run `mb <group> --help` to discover verbs):
|
|
|
12
12
|
|
|
13
13
|
```
|
|
14
14
|
auth | db | table | field | upload | content-translation | query | card | dashboard | snippet | segment | measure | collection | library
|
|
15
|
-
document | glossary | timeline | timeline-event | transform | transform-job | transform-tag | alert | subscription | setting
|
|
15
|
+
document | glossary | timeline | timeline-event | transform | transform-job | transform-tag | transform-test | alert | subscription | setting
|
|
16
16
|
search | dependency | git-sync | setup | eid | uuid | upgrade | skills
|
|
17
17
|
```
|
|
18
18
|
|
|
@@ -148,6 +148,9 @@ Routine verb shapes (list / get / create / update), every flag, and output schem
|
|
|
148
148
|
- **search vs. list.** Enumerate with `… list` verbs; `search` ranks a query or spans resources. `--search-native-query` matches native query text and keeps only query-bearing models; dashboard questions need `--include-dashboard-questions`.
|
|
149
149
|
<!-- requires: transforms -->
|
|
150
150
|
- **transform.** Iterate with `transform update <id>`, never `delete` + `create` (keeps the row, `entity_id`, materialized table, and YAML filename — avoids `_2` suffixes and noisy git history). `transform run` needs `--wait` (or `--sync`, which also waits for the output table to register and returns `target_table_id`) or you get only `{run_id, final:null}`. (→ `transform`.)
|
|
151
|
+
<!-- /requires -->
|
|
152
|
+
<!-- requires: transformTests -->
|
|
153
|
+
- **transform-test.** `transform-test run <id>` checks a transform against fixtures in temp tables — only a `format: "sql"` input reads the source database — and exits 1 unless it passes. (→ `transform`.)
|
|
151
154
|
<!-- /requires -->
|
|
152
155
|
- **setup is one-shot.** `mb setup` walks `/api/setup` for a **fresh** instance only — errors against an already-configured one. Mostly for bootstrapping local / e2e instances.
|
|
153
156
|
- **eid** translates a string entity id → numeric id: `mb eid --model <model> <eid1,eid2> --json`. Entity ids are NanoIDs that can start with `-`, which the positional form misreads as a flag (shell quotes don't help) — for those, use `--body '{"entity_ids":{"card":["-…"]}}'` (the id is a JSON string value, immune to flag parsing).
|
|
@@ -171,6 +174,9 @@ This file is enough for any single-command task. For anything deeper, load the r
|
|
|
171
174
|
- **`notification`** — scheduled delivery: question alerts (`mb alert`) and dashboard subscriptions (`mb subscription`). Choosing between them, the two schedule/recipient contracts, channel prerequisites, testing a send.
|
|
172
175
|
<!-- requires: transforms -->
|
|
173
176
|
- **`transform`** — transform body JSON, create + run-with-wait, run inspection, tags, jobs.
|
|
177
|
+
<!-- /requires -->
|
|
178
|
+
<!-- requires: transformTests -->
|
|
179
|
+
- **`transform-test-plan`** — deciding _what_ to test in a transform: the fixture cast, the expectations, the coverage matrix. (`transform` has the `mb transform-test` shapes.)
|
|
174
180
|
<!-- /requires -->
|
|
175
181
|
- **`document`** — Metabase documents (TipTap body, embedding cards).
|
|
176
182
|
<!-- requires: remoteSync -->
|
|
@@ -112,6 +112,6 @@ mb card query 12 --parameters '[{"type":"string/=","target":["dimension",["templ
|
|
|
112
112
|
|
|
113
113
|
- Don't wrap a field filter in an operator (`WHERE col = {{ff}}`) — write it bare (`WHERE {{ff}}`).
|
|
114
114
|
- Don't author the flat `{type:"native", …}` form — send the native stage above.
|
|
115
|
-
- Don't use native SQL for DDL or multiple statements — the editor is read-only, single-statement; `CREATE`/`UPDATE`/`;`-chained SQL is unsupported. To materialize a table, use a `transform
|
|
115
|
+
- Don't use native SQL for DDL or multiple statements — the editor is read-only, single-statement; `CREATE`/`UPDATE`/`;`-chained SQL is unsupported. To materialize a table, use a `transform`.
|
|
116
116
|
- Don't expect `[[ ]]` to save you from a case/type mismatch — `WHERE plan = {{p}}` returns zero rows on a case-sensitive engine if the value's case is off; that's a value problem, not syntax.
|
|
117
117
|
- Don't reach for native when a structured query fits — you lose the engine-independence and readability of an `mbql.stage/mbql` stage.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: transform
|
|
3
|
-
description: Author and run Metabase transforms via `mb` — body shape (native SQL or structured MBQL), create + run-with-wait, run inspection, dependencies, cancel, the `update`-vs-recreate iteration rule, the writable-keys-only PATCH contract, plus transform tags and tag-driven transform-job schedules. Load when the user touches transforms — "create a transform", "run a transform", "fix a failing transform", "list transform runs", "cancel a running transform", "manage transform tags", "run a transform job", or anything `mb transform …` / `mb transform-job …` / `mb transform-tag …`.
|
|
3
|
+
description: Author and run Metabase transforms via `mb` — body shape (native SQL or structured MBQL), create + run-with-wait, run inspection, dependencies, cancel, the `update`-vs-recreate iteration rule, the writable-keys-only PATCH contract, transform tests (fixtures and expectations run against temp tables), plus transform tags and tag-driven transform-job schedules. Load when the user touches transforms — "create a transform", "run a transform", "fix a failing transform", "test a transform", "list transform runs", "cancel a running transform", "manage transform tags", "run a transform job", or anything `mb transform …` / `mb transform-job …` / `mb transform-tag …` / `mb transform-test …`.
|
|
4
4
|
allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
|
|
5
5
|
requires: [transforms]
|
|
6
6
|
---
|
|
@@ -173,6 +173,68 @@ mb transform run "$ID" --wait --profile <n> --json # → succeeded
|
|
|
173
173
|
|
|
174
174
|
If you really must `create + delete` instead, do the `delete` **before** the first `git-sync export` so the failed entity never lands in git history — an export of a soft-failed state is noise that needs a follow-up cleanup commit. See `git-sync`, "Read state before mutating", for the ordering rule.
|
|
175
175
|
|
|
176
|
+
<!-- requires: transformTests -->
|
|
177
|
+
|
|
178
|
+
## Transform tests
|
|
179
|
+
|
|
180
|
+
A transform test replaces every table the transform reads with a fixture, runs it into a temp table, and checks that output. The transform and the expectations read only the run's temp tables; a `format: "sql"` input runs verbatim against the transform's source database, so it may read real tables. Only query transforms (native SQL or MBQL) can be tested, and only on Postgres, MySQL, H2, ClickHouse, Redshift or SQL Server; otherwise `create`/`update`/`run` refuse with `transform-test.unsupported-transform` / `unsupported-driver` (422).
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
mb transform-test list --transform-id <id> --profile <n> --json # --transform-id is optional
|
|
184
|
+
mb transform-test get <id> --full --profile <n> --json # --full for inputs/expectations
|
|
185
|
+
mb transform-test create --file ./.scratch/test.json --profile <n> --json
|
|
186
|
+
mb transform-test update <id> --file ./.scratch/patch.json --profile <n> --json
|
|
187
|
+
mb transform-test delete <id> --yes --profile <n>
|
|
188
|
+
mb transform-test run <id> --profile <n> --json # exits 1 unless it passes
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**`inputs`** — one per table the transform reads, each naming a `table` plus either `format: "sql"` with `sql`, or `format: "rows"` with `columns` (each a `name` and a `cast_type`) and `rows`.
|
|
192
|
+
|
|
193
|
+
**`cast_type` is a `CAST` target, not a column type**, and the two vocabularies differ per warehouse: MySQL casts to `SIGNED` and reports `BIGINT`; ClickHouse takes `Nullable(Int32)` for a column that is `Int64`. So a body is warehouse-specific — don't copy a `database_type` out of a run result into a `cast_type`, and don't expect one body to run everywhere.
|
|
194
|
+
|
|
195
|
+
**`expectations`** — `type: "empty"` with the `sql` that must return no rows, or `type: "equals"` with `format: "rows"` and the `columns` and `rows` the output must hold exactly. `equals` compares the rows as a multiset over the declared columns only, so an output column it does not declare is never checked. An `equals` without a `format` is refused, and one with `format: "sql"` is saved but reports `error` on every run, so its test can never pass.
|
|
196
|
+
|
|
197
|
+
**Expectation SQL may only name the transform's target table and its declared input tables.** Those are rewritten to the run's temp tables; any other table is refused with `transform-test.unremapped-reference` (400), at `create`/`update` as well as `run`. A column qualified by its table name (`people.id`) is refused the same way, in expectation SQL and in the transform's own SQL alike: qualify by an alias (`FROM people p … p.id`) or leave the column bare — for the transform's SQL that means editing the transform. Expectation names are unique within a test (refused with "expectation names must be unique within a test"), and every `rows` row carries exactly its declared columns (refused naming the missing or undeclared columns).
|
|
198
|
+
|
|
199
|
+
```json
|
|
200
|
+
{
|
|
201
|
+
"transform_id": 1,
|
|
202
|
+
"name": "adults only",
|
|
203
|
+
"inputs": [
|
|
204
|
+
{
|
|
205
|
+
"table": { "schema": "public", "name": "people" },
|
|
206
|
+
"format": "rows",
|
|
207
|
+
"columns": [
|
|
208
|
+
{ "name": "id", "cast_type": "INTEGER" },
|
|
209
|
+
{ "name": "age", "cast_type": "INTEGER" }
|
|
210
|
+
],
|
|
211
|
+
"rows": [
|
|
212
|
+
{ "id": 1, "age": 30 },
|
|
213
|
+
{ "id": 2, "age": 12 }
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"expectations": [
|
|
218
|
+
{
|
|
219
|
+
"type": "equals",
|
|
220
|
+
"name": "exactly one row, id 1",
|
|
221
|
+
"format": "rows",
|
|
222
|
+
"columns": [{ "name": "id", "cast_type": "INTEGER" }],
|
|
223
|
+
"rows": [{ "id": 1 }]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "empty",
|
|
227
|
+
"name": "no null ids",
|
|
228
|
+
"sql": "SELECT * FROM public.adults WHERE id IS NULL"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Create and update bodies are closed at every level (the top level is checked before sending; a stray nested key is a 400) — strip `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` from a `get --full` body before sending it back.
|
|
235
|
+
|
|
236
|
+
<!-- /requires -->
|
|
237
|
+
|
|
176
238
|
## Drop the materialized table (keep the transform)
|
|
177
239
|
|
|
178
240
|
```bash
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: transform-test-plan
|
|
3
|
+
description: Derive a comprehensive test plan for a transform — the fixture cast, the expectations, hand-derived expected rows, and a coverage matrix — from the model's declared design. Covers input partitioning (zero-case, multiplicity, dirty rows), grain / conservation / recomputation / conformance checks, and known-quirk conventions. Load when the user wants tests planned or written for transforms — "write tests for my transforms", "is my model right", "test plan for this pipeline", "add data quality checks" — whether the model is mid-build or already deployed. The `mb transform-test` command and body shapes live in the `transform` skill; this one decides what to test.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
|
|
5
|
+
requires: [transformTests]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Planning transform tests
|
|
9
|
+
|
|
10
|
+
Turn a transform into a fixture cast that proves the logic on small known rows, expectations that state the model's invariants, and a coverage matrix showing what's checked and what's deliberately not. Mechanics — the `inputs`/`expectations` body shape and every `mb transform-test` verb — live in the `transform` skill (`mb skills get transform`); load it before authoring, and never restate it here. The two references this skill routes through, `references/checklist.md` and `references/checks.md`, come with `mb skills get transform-test-plan --full`, or read them from `mb skills path transform-test-plan`.
|
|
11
|
+
|
|
12
|
+
Every check derives from what the model **declares** — detected from its SQL, confirmed with its owner — never from conformance to a modeling doctrine. One plan serves two moments: while the model is **built**, checks pin each design decision; once **deployed**, the same SQL screens production tables for anomalies.
|
|
13
|
+
|
|
14
|
+
## Operating rules
|
|
15
|
+
|
|
16
|
+
- **Detect, then derive.** Classify what the transform is and which conventions it uses (the checklist); derive checks only from that. Star, one-big-table, partial denormalization — all fine; never flag a style.
|
|
17
|
+
- **Judgment calls go through the checklist.** The session's autonomy setting governs which answers you supply yourself and which you bring to the user — it never makes the checklist a formality. Every answer you supply yourself is recorded in the plan as a stated assumption, paired with the named expectation that enforces it — reversing the decision then breaks a test, not a paragraph. And regardless of setting, when genuinely unsure, ask — a wrong-but-confident grain poisons every downstream check.
|
|
18
|
+
- **Expected rows are derived by hand** from the fixture story and business meaning — never captured from the transform's output, which asserts only that the transform equals itself.
|
|
19
|
+
- **Batteries stay off until declared structure switches them on.** No snapshot-density checks without a snapshot, no version-history checks without effective/end/current columns. An empty section beats a speculative one.
|
|
20
|
+
|
|
21
|
+
## The procedure
|
|
22
|
+
|
|
23
|
+
1. **Profile the real inputs**: per table, row count; per column, min/max/distinct-count/null incidence; orphan counts across declared links (`mb field summary`, `mb query`). Profiling feeds domains, bounds, null partitions, and key candidates — and every fixture edge cites the real-data condition that warrants it, with its count ("the warehouse has 67 ship-before-order rows").
|
|
24
|
+
2. **Detect.** Read the transform's SQL (`mb transform get <id> --full --json`) for: grain candidates (`GROUP BY` keys, the joins' driving table), join types (orphan handling), correlated aggregates (stored aggregates), `<entity>_<attr>` naming (copies), effective/end/current columns (version history), `now()`/`current_date` (volatile columns). A transform whose grain you cannot state in one phrase is itself a finding — raise it before writing any test.
|
|
25
|
+
3. **Confirm.** Walk [references/checklist.md](references/checklist.md). Three stages: classify the model, per-table declarations, per-column declarations. Each question carries its detection hint; answer autonomously where the hint resolves, ask where it doesn't. In build-along mode these are design questions — treat an undecided answer as a decision to make together, not a blocker.
|
|
26
|
+
4. **Derive.** Route every output column through [references/checks.md](references/checks.md) — declared property → expectation shape, fixture implication, expected-row convention. Read it in full once per plan; it is the plan's content.
|
|
27
|
+
5. **Design the fixture cast**: one small cast per transform (≈5–10 rows per table), human-named rows ("Alice Premium"), every row a named edge — zero-case entities for every outer join and aggregation, ≥2-member groups for every grouping and join, one dirty row per screenable defect, boundary dates. Document it as a table (row → attributes → purpose) in the plan.
|
|
28
|
+
|
|
29
|
+
Express the cast as literal rows rather than as a query, so the story stays legible in the test itself; a query is worth it only when the rows are mechanical to generate. A cast is written against one warehouse and does not carry to another.
|
|
30
|
+
|
|
31
|
+
6. **Hand-derive the expected rows**, arithmetic recorded in the plan (premium: 3 orders / 350.50 / 3.0). Every fixture row's fate appears in some expected cell. Pin NULL-vs-0-vs-empty for every zero-case row — that cell is the null policy's only enforcement.
|
|
32
|
+
7. **Author the test.** One test per transform, per coherent story: an `equals` pinning the output, declaring every output column, since `equals` compares only the columns it declares, and `empty` expectations stating the invariants that survive a change to the cast.
|
|
33
|
+
|
|
34
|
+
Give each expectation a name that states the invariant, because the name is what a failure leads with ("revenue never negative", not "check 3"), and open each `empty` expectation's SQL with a `--` contract comment: the invariant, and the failure modes it catches ("catches both dropped orders and join fan-out").
|
|
35
|
+
|
|
36
|
+
Where one invariant applies to several transforms, duplicate the SQL. Nothing is shared between tests, so give each copy its own name and comment rather than one that only makes sense next to its twin.
|
|
37
|
+
|
|
38
|
+
8. **Emit the coverage matrix** in the plan: rows = output columns with the table's grain; columns = check classes (grain, conservation, recomputation, conformance, domains, referential integrity, temporal, screens); cells name the covering expectation or expected-row cell, or state `gap: <reason>`. Scan shared-attribute columns across transforms for cross-table agreement obligations. Empty cells are honest; silent gaps are not.
|
|
39
|
+
9. **Prove the tests have teeth.** Once per test: corrupt one expected cell, `run`, confirm `cell-mismatches` names exactly that column; revert. Then perturb one input cell and confirm exactly the declared output cells move. An `empty` expectation that only selects output rows passes against an empty output, so a green test can still be vacuous.
|
|
40
|
+
|
|
41
|
+
## Severity: error, or the tolerated oddity
|
|
42
|
+
|
|
43
|
+
Every expectation is pass or fail, and one failure fails the run. **error** = forbidden, and it becomes an `empty` expectation. There is no warn severity, so **never author an expectation you expect to fire**: a permanently red test trains everyone to ignore the result, and a red run gates everyone else's work.
|
|
44
|
+
|
|
45
|
+
A tolerated-but-surfaced oddity — one the owner lives with, like orphan rows or ship-before-order dates — gets encoded the two ways that hold: **pin it in the `equals` rows** (an orphan passing through with NULLs is a cell in the expected output, so reversing the tolerance breaks the test), and **record it in the plan's known-quirks list** with its real-data count, so the tolerance stays a conscious choice.
|
|
46
|
+
|
|
47
|
+
Under budget pressure cut business-rule checks first, then cross-table structure checks; never single-column screens (domains, ranges, nulls) — cheapest, and the last line.
|
|
48
|
+
|
|
49
|
+
## When a check exposes a live bug
|
|
50
|
+
|
|
51
|
+
Non-negotiable: **never soften the test to green** — expected values state correct behavior; matching them to buggy output documents the bug as intended — and **surface the finding with its blast radius at both scales**, fixture ("1530.24 of 1600.74 fixture dollars survive") and warehouse ("908 of 2,050 orders dropped"). What happens next follows the session's terms, not a fixed protocol: propose and apply the fix now (when the user wants it or the autonomy setting covers it), or — when the fix must wait — hold the correct expectation and record the red in the plan with the minimal fix body. A stored test has no red-by-design state, so a deferred fix must be visible in the plan or the test reads as broken. Either way, once green the test stays as the regression guard.
|
|
52
|
+
|
|
53
|
+
## When the doctrine doesn't apply
|
|
54
|
+
|
|
55
|
+
The vocabulary follows Kimball's dimensional modeling (grain, additivity, conformed attributes, slowly changing dimensions) — precise, widely understood terms. Real models are Kimball-inspired at most; no check may score adherence:
|
|
56
|
+
|
|
57
|
+
- Full calendar date dimensions are rare. Never demand one; test date _semantics_ — ranges, orderings, volatile derivations.
|
|
58
|
+
- Surrogate keys are doctrine, natural-key joins are practice. Test whichever key the model declares; never flag natural-key joins.
|
|
59
|
+
- "No NULL FKs / no NULL attributes" is doctrine routinely dropped. Null policy is three independent declarations — measures, attributes, FKs — each detected and confirmed, never presumed.
|
|
60
|
+
- One-big-table is legitimate: it still has a grain, its copies still need agreement checks, its functional dependencies still hold.
|
|
61
|
+
- A transform-level `ORDER BY` has no testable effect — output tables carry no row order and the `equals` comparison is a multiset. Flag it as probable dead weight (clustering hints aside); never write an ordering expectation.
|
|
62
|
+
|
|
63
|
+
## One transform at a time
|
|
64
|
+
|
|
65
|
+
Each test covers one transform. When the transform under test reads another transform's output, that target table is an input like any other: declare it and fake it. Derive those rows from the base transform's own expected output, so the two tests tell one story, and note the coupling in both plans — changing the base's expected rows means changing this test's input.
|
|
66
|
+
|
|
67
|
+
## Worked example, condensed
|
|
68
|
+
|
|
69
|
+
`orders` + `customers` → _enriched_orders_ (order grain; LEFT JOIN attaches `customer_name`, `tier`).
|
|
70
|
+
|
|
71
|
+
Cast, 7 orders: two tiers; Alice and Carol with 2 orders each (multiplicity); two never shipped (zero-case for the shipping join); order 106 shipped before ordered (real oddity, count cited); order 107's customer_id matches no customer (orphan). Two `rows` inputs, one per source table.
|
|
72
|
+
|
|
73
|
+
Derived, per catalog: grain uniqueness on `order_id`; row and amount conservation from input to output, as scalar subqueries over the target and the seeded input; `tier` domain ⊆ {standard, premium}; orphan = keep-with-NULLs → an expected row pinning the NULL pass-through; ship-before-order tolerated → the plan's known-quirks list with the warehouse count. The whole output, every column, pinned in one `equals`, hand-computed, arithmetic in the plan. The inner-vs-LEFT-join bug this cast catches — unshipped orders silently dropped from revenue — is what the zero-case rows exist for.
|
|
74
|
+
|
|
75
|
+
## Don't
|
|
76
|
+
|
|
77
|
+
- Don't author expectations before loading the `transform` skill — the body shape, the closed create/update contract, and the verb flags live there.
|
|
78
|
+
- Don't capture expected rows from the transform's own output — hand-derive them or they assert nothing.
|
|
79
|
+
- Don't emit checks for structure the model doesn't declare (snapshot density, version history, bridge weights) — an inapplicable battery buries real findings.
|
|
80
|
+
- Don't let a fixture cast go all-clean — no zero-case, no orphan, no dirty row proves the happy path and nothing else; the bugs live in the edges.
|
|
81
|
+
- Don't write an expectation you expect to fail.
|
|
82
|
+
- Don't surface bare check-ids ("per C3…") to the user — name the check in plain words; the ids are for your cross-referencing, not their reading.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Confirmation checklist
|
|
2
|
+
|
|
3
|
+
The judgment calls a plan depends on, in derivation order. Each question carries a **detect** hint — how to answer it from the SQL, the metadata, or profiling. Answer autonomously where the hint resolves cleanly; ask where it doesn't. Every answer you supply yourself goes into the emitted plan as a stated assumption, phrased so the owner can falsify it at a glance ("Assuming `discount` can never be negative — correct?").
|
|
4
|
+
|
|
5
|
+
In build-along mode these are design questions: the owner is deciding, not recalling. An undecided answer is a decision to make together — surface the options and the check each implies (the `checks.md` entry named in parentheses).
|
|
6
|
+
|
|
7
|
+
## Stage 1 — classify the model (per transform)
|
|
8
|
+
|
|
9
|
+
1. **Grain: one row per what?** (G1, G2) Detect: `GROUP BY` keys; otherwise the driving table of the joins. Confirm whenever detection and any written description disagree — that disagreement is itself a finding.
|
|
10
|
+
2. **Fact-table type — and if periodic snapshot, dense or sparse?** (F2) Detect: event-grain with a single event date → transaction; entity×period grain → periodic snapshot (density is the one yes/no that flips its whole invariant set — always confirm); one row per pipeline occurrence with milestone-date columns → accumulating snapshot.
|
|
11
|
+
|
|
12
|
+
## Stage 2 — per-table declarations
|
|
13
|
+
|
|
14
|
+
3. **Conservation ties: output rows/sums tie to which input, with which declared exclusions?** (A2) Detect: `WHERE` clauses and join types name the exclusions (filtered rows, dropped duplicates). Exclusions must be declared, or conservation appears to fail.
|
|
15
|
+
4. **Zero-group policy: does a group with no contributing rows appear (with zeros) or stay absent?** (A5) Detect: driving table of the rollup — grouping the detail can't produce empty groups; joining a dimension first can.
|
|
16
|
+
5. **Orphan handling per join: drop / keep-with-NULLs / default row — and is an orphan tolerated or forbidden?** (C3, I5) Detect: join type. INNER = drop, LEFT = keep-with-NULLs, COALESCE to a sentinel = default row. Tolerated-vs-forbidden is the owner's call — profiling says whether orphans exist today, not whether they're acceptable. Forbidden becomes an `empty` expectation; tolerated is pinned in the expected rows and recorded in the known-quirks list.
|
|
17
|
+
6. **Version history: effective/end/current columns anywhere? If not, confirm overwrite-everywhere.** (T1) Detect: column names. Absence means history is silently rewritten in rollups — state that consequence when confirming, not just the mechanism.
|
|
18
|
+
7. **Does this transform read another transform's output?** (A5) Detect: another transform's target table in this one's SQL. It becomes a declared input like any other, faked from that transform's own expected output — confirm which rows, and record the coupling in both plans.
|
|
19
|
+
|
|
20
|
+
## Stage 3 — per-column declarations
|
|
21
|
+
|
|
22
|
+
8. **Each measure: additive, semi-additive, or non-additive?** (A1) Detect: sums and counts are additive; balances and levels are semi-additive; ratios, rates, and unit prices are non-additive. Confirm the ambiguous ones (a "score"? a "quantity on hand"?).
|
|
23
|
+
9. **Legal bounds per measure?** (Q1) Detect: profiling min/max suggests, business meaning decides — can `discount` be negative? can `quantity` be zero? Derived bounds are free (a sum of non-negatives is non-negative).
|
|
24
|
+
10. **Each derived measure: the exact recomputation rule?** (A3) Detect: the SELECT expression is the rule — but rounding, business-day adjustments, and NULL handling are conventions to confirm, not read.
|
|
25
|
+
11. **Which columns are stored aggregates, over which detail and filter?** (A4) Detect: correlated subqueries / joined-aggregate CTEs in the SQL.
|
|
26
|
+
12. **Which categorical columns have closed domains — enumerate; is NULL a member?** (C2) Detect: profiling distinct values gives today's set; the owner confirms it's closed rather than merely small so far.
|
|
27
|
+
13. **Which columns are denormalized copies, of which owning attribute?** (C1) Detect: `<entity>_<attr>` naming; any column functionally dependent on a non-grain key. Every hit must be classified: copy (C1), stored aggregate (A4), or smuggled coarser-grain fact — a finding.
|
|
28
|
+
14. **Which many-to-one edges hold within one output table?** (C4) Detect: hierarchy-shaped column pairs (product/category, zip/state). Applies where no owning table is in scope; otherwise C1 covers it.
|
|
29
|
+
15. **Which date orderings are business-guaranteed vs. known-violated and tolerated (with real-data counts)?** (T2) Detect: profiling counts the violations that exist; the owner decides tolerated vs. bug.
|
|
30
|
+
16. **Null policy per column — measures, attributes, FKs separately.** (Q2) Detect: the SQL shows what's produced (COALESCE, CASE); the owner confirms intent — "count of nothing": 0 or NULL? empty date: NULL or sentinel?
|
|
31
|
+
17. **Which columns are volatile across runs?** (T3) Detect: `now()` / `current_date` / run-metadata expressions in the SQL. A volatile column is left out of the `equals` columns; its form can still be asserted with an `empty`.
|
|
32
|
+
18. **Per tolerated oddity: does it stay tolerated, and what is its current count?** (Q3) Detect: can't — this is the conscious-choice question, and the plan's known-quirks list is where it survives.
|