brickhouse 0.1.0__tar.gz
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.
- brickhouse-0.1.0/.github/workflows/checks.yml +34 -0
- brickhouse-0.1.0/.github/workflows/ci.yml +17 -0
- brickhouse-0.1.0/.github/workflows/databricks-reference.yml +64 -0
- brickhouse-0.1.0/.github/workflows/qualify.yml +80 -0
- brickhouse-0.1.0/.github/workflows/release.yml +139 -0
- brickhouse-0.1.0/.gitignore +20 -0
- brickhouse-0.1.0/AGENTS.md +45 -0
- brickhouse-0.1.0/CHANGELOG.md +23 -0
- brickhouse-0.1.0/LICENSE +202 -0
- brickhouse-0.1.0/PKG-INFO +325 -0
- brickhouse-0.1.0/README.md +288 -0
- brickhouse-0.1.0/ROADMAP.md +195 -0
- brickhouse-0.1.0/STATUS.md +609 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/deltalake-1.2.1-LICENSE.txt +179 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/ipykernel-7.4.0-LICENSE.txt +30 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/jupyter-client-8.10.0-LICENSE.txt +31 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/nbclient-0.11.0-LICENSE.txt +30 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/nbformat-5.11.1-LICENSE.txt +31 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/pyarrow-23.0.1-LICENSE.txt +2331 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/pyarrow-23.0.1-NOTICE.txt +81 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/sparkless-4.15.1-LICENSE.txt +21 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/sparkless-4.15.2-LICENSE.txt +21 -0
- brickhouse-0.1.0/THIRD_PARTY_LICENSES/sqlglot-30.24.0-LICENSE.txt +21 -0
- brickhouse-0.1.0/THIRD_PARTY_NOTICES.md +94 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/README.md +17 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/brickhouse-dependencies.txt +8 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/combined-results.json +278 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/initial-measurement/benchmark_emulators.py +721 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/initial-measurement/benchmark_sail_agent.py +41 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/initial-measurement/results.json +1785 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/manifest.json +90 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/measured/results.json +1785 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/minilake-dependencies.txt +36 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/native-builds.json +122 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/provenance.json +147 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/results-table.md +6 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/sail-agent-dependencies.txt +15 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/setup-probes.json +4039 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-local-emulators/validation.json +56 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/0-cprofile.http.pstats +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/0-cprofile.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/0-cprofile.worker.pstats +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/0-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/1-cprofile.http.pstats +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/1-cprofile.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/1-cprofile.worker.pstats +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/1-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/2-cprofile.http.pstats +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/2-cprofile.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/2-cprofile.worker.pstats +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/2-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/README.md +20 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/analysis.json +592 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/breakdown.md +10 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/manifest.json +28 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/provenance.json +65 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/results.json +6382 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sql-profile/validation.json +44 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-disk-baseline.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-disk-shared-baseline.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-disk-shared-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-disk-shared-spans.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-disk-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-disk-spans.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-memory-baseline.metadata.json +52 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-memory-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/0-memory-spans.metadata.json +52 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-disk-baseline.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-disk-shared-baseline.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-disk-shared-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-disk-shared-spans.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-disk-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-disk-spans.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-memory-baseline.metadata.json +52 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-memory-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/1-memory-spans.metadata.json +52 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-disk-baseline.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-disk-shared-baseline.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-disk-shared-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-disk-shared-spans.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-disk-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-disk-spans.metadata.json +51 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-memory-baseline.metadata.json +52 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-memory-spans.jsonl.gz +0 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/2-memory-spans.metadata.json +52 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/README.md +17 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/analysis.json +96 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/comparison.md +5 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/manifest.json +44 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/provenance.json +112 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/results.json +13267 -0
- brickhouse-0.1.0/artifacts/benchmarks/2026-10-22-sqlite-memory/validation.json +44 -0
- brickhouse-0.1.0/artifacts/conformance/B001.1-cli-bootstrap.md +8 -0
- brickhouse-0.1.0/artifacts/conformance/B001.2-wheel-install.md +11 -0
- brickhouse-0.1.0/artifacts/conformance/B001.3-development-baseline.md +15 -0
- brickhouse-0.1.0/artifacts/conformance/B002.1-minilake-source-audit.md +9 -0
- brickhouse-0.1.0/artifacts/conformance/B003.2-sparkless-probe.md +24 -0
- brickhouse-0.1.0/artifacts/conformance/B003.3-session-isolation.md +38 -0
- brickhouse-0.1.0/artifacts/conformance/B004.1-delta-mutations.md +34 -0
- brickhouse-0.1.0/artifacts/conformance/B004.2-typed-interoperability.md +35 -0
- brickhouse-0.1.0/artifacts/conformance/B004.3-transaction-recovery.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B005.1-client-profile-matrix.md +41 -0
- brickhouse-0.1.0/artifacts/conformance/B005.3-databricks-reference-sql.md +37 -0
- brickhouse-0.1.0/artifacts/conformance/B005.4-credential-isolation.md +13 -0
- brickhouse-0.1.0/artifacts/conformance/B005.5-manual-capture-workflow.md +13 -0
- brickhouse-0.1.0/artifacts/conformance/B006.1-workspace-bootstrap.md +25 -0
- brickhouse-0.1.0/artifacts/conformance/B006.2-workspace-ownership.md +27 -0
- brickhouse-0.1.0/artifacts/conformance/B006.3-cli-embedded-lifecycle.md +23 -0
- brickhouse-0.1.0/artifacts/conformance/B007.1-catalog-identities.md +29 -0
- brickhouse-0.1.0/artifacts/conformance/B007.2-identifier-resolution.md +32 -0
- brickhouse-0.1.0/artifacts/conformance/B007.2-identifiers-reference.md +41 -0
- brickhouse-0.1.0/artifacts/conformance/B007.3-sdk-catalog-schema.md +34 -0
- brickhouse-0.1.0/artifacts/conformance/B008.1-table-contracts-and-staging.md +38 -0
- brickhouse-0.1.0/artifacts/conformance/B008.2-local-delta-table-service.md +25 -0
- brickhouse-0.1.0/artifacts/conformance/B008.3-operation-journal-recovery.md +52 -0
- brickhouse-0.1.0/artifacts/conformance/B008.4-ownership-safe-removal.md +46 -0
- brickhouse-0.1.0/artifacts/conformance/B009.1-sparkless-external-catalog-hooks.md +44 -0
- brickhouse-0.1.0/artifacts/conformance/B009.2-sparkless-write-delegation.md +52 -0
- brickhouse-0.1.0/artifacts/conformance/B009.3-sparkless-hook-isolation-and-availability.md +44 -0
- brickhouse-0.1.0/artifacts/conformance/B010.1-sparkless-read-adapter.md +24 -0
- brickhouse-0.1.0/artifacts/conformance/B010.2-sparkless-write-adapter.md +37 -0
- brickhouse-0.1.0/artifacts/conformance/B010.3-sparkless-session-isolation.md +27 -0
- brickhouse-0.1.0/artifacts/conformance/B011.1-sql-initial-corpus.md +28 -0
- brickhouse-0.1.0/artifacts/conformance/B011.2-sql-statement-api.md +34 -0
- brickhouse-0.1.0/artifacts/conformance/B011.3.1-sql-parameter-binding.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B011.3.2-sql-wait-timeout.md +34 -0
- brickhouse-0.1.0/artifacts/conformance/B011.3.3-sparkless-4.15.0-cancellation.md +68 -0
- brickhouse-0.1.0/artifacts/conformance/B011.4-sql-result-limits-and-retention.md +53 -0
- brickhouse-0.1.0/artifacts/conformance/B011.5-sql-warehouse-lifecycle.md +28 -0
- brickhouse-0.1.0/artifacts/conformance/B011.6-sql-warehouse-statement-binding.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B012.1-g1-shared-table-restart.md +37 -0
- brickhouse-0.1.0/artifacts/conformance/B012.2.1-empty-and-schema-mismatch.md +29 -0
- brickhouse-0.1.0/artifacts/conformance/B012.2.2-external-drop-and-stale-metadata.md +30 -0
- brickhouse-0.1.0/artifacts/conformance/B012.2.3-native-only-network-guard.json +110 -0
- brickhouse-0.1.0/artifacts/conformance/B012.2.3-native-only-process-network.md +22 -0
- brickhouse-0.1.0/artifacts/conformance/B013.1-python-worker-launch.md +44 -0
- brickhouse-0.1.0/artifacts/conformance/B013.2-worker-authentication.md +25 -0
- brickhouse-0.1.0/artifacts/conformance/B013.3-worker-supervision.md +32 -0
- brickhouse-0.1.0/artifacts/conformance/B014.1-durable-job-state.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B014.2-workspace-files-sdk-jobs.md +41 -0
- brickhouse-0.1.0/artifacts/conformance/B014.3.1-dag-dispatch.md +38 -0
- brickhouse-0.1.0/artifacts/conformance/B014.3.2.1-retry-attempts.md +39 -0
- brickhouse-0.1.0/artifacts/conformance/B014.3.2.2-run-admission.md +35 -0
- brickhouse-0.1.0/artifacts/conformance/B014.3.3-active-run-recovery.md +33 -0
- brickhouse-0.1.0/artifacts/conformance/B014.4-classic-compute-lifecycle.md +28 -0
- brickhouse-0.1.0/artifacts/conformance/B014.5-execution-context-resolution.md +27 -0
- brickhouse-0.1.0/artifacts/conformance/B014.6-job-worker-compute-lifetimes.md +25 -0
- brickhouse-0.1.0/artifacts/conformance/B015.1.1-worker-pyspark-imports.md +41 -0
- brickhouse-0.1.0/artifacts/conformance/B015.1.2-worker-spark-session.md +45 -0
- brickhouse-0.1.0/artifacts/conformance/B015.1.3-worker-registered-tables.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B015.2-worker-delta-table.md +34 -0
- brickhouse-0.1.0/artifacts/conformance/B016.1-worker-dbutils-files-widgets.md +29 -0
- brickhouse-0.1.0/artifacts/conformance/B016.2-process-memory-scoped-secrets.md +27 -0
- brickhouse-0.1.0/artifacts/conformance/B016.3-attempt-scoped-task-values.md +44 -0
- brickhouse-0.1.0/artifacts/conformance/B017.1-ipynb-kernel.md +63 -0
- brickhouse-0.1.0/artifacts/conformance/B017.2-source-format-magics.md +29 -0
- brickhouse-0.1.0/artifacts/conformance/B017.3-child-notebook-outcomes.md +40 -0
- brickhouse-0.1.0/artifacts/conformance/B017.4-notebook-context.md +33 -0
- brickhouse-0.1.0/artifacts/conformance/B017.5-notebook-compute-interruption.md +43 -0
- brickhouse-0.1.0/artifacts/conformance/B018-sdk-driven-workflow.md +21 -0
- brickhouse-0.1.0/artifacts/conformance/B018.1-g2-sdk-workflow.md +28 -0
- brickhouse-0.1.0/artifacts/conformance/B018.1.1-job-to-delta-data-flow.md +32 -0
- brickhouse-0.1.0/artifacts/conformance/B018.1.2-job-lifecycle-isolation.md +34 -0
- brickhouse-0.1.0/artifacts/conformance/B018.1.3-g2-compute-profiles.md +28 -0
- brickhouse-0.1.0/artifacts/conformance/B018.1.4-g2-warehouse-profiles.md +32 -0
- brickhouse-0.1.0/artifacts/conformance/B018.2-installation-lanes.md +69 -0
- brickhouse-0.1.0/artifacts/conformance/B019.1-sql-semantics-corpus.md +51 -0
- brickhouse-0.1.0/artifacts/conformance/B019.1.1-sql-scalar-cases.md +32 -0
- brickhouse-0.1.0/artifacts/conformance/B019.1.2-sql-aggregate-cases.md +30 -0
- brickhouse-0.1.0/artifacts/conformance/B019.1.3-date-time-semantics.md +43 -0
- brickhouse-0.1.0/artifacts/conformance/B019.1.4-sql-collections.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B019.1.5-sql-joins.md +26 -0
- brickhouse-0.1.0/artifacts/conformance/B019.1.6-sql-ddl-errors.md +24 -0
- brickhouse-0.1.0/artifacts/conformance/B019.1.7-sql-session-profiles.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B019.2-sql-mutations-history-snapshots.md +17 -0
- brickhouse-0.1.0/artifacts/conformance/B019.2.1-sql-update-delete.md +35 -0
- brickhouse-0.1.0/artifacts/conformance/B019.2.2-sql-merge.md +37 -0
- brickhouse-0.1.0/artifacts/conformance/B019.2.3-sql-describe-history.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B019.2.4-sql-version-as-of.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B019.3-executor-routing.md +50 -0
- brickhouse-0.1.0/artifacts/conformance/B020.1-databricks-cli-v1.21.0.md +35 -0
- brickhouse-0.1.0/artifacts/conformance/B020.2-terraform-v1.16.6-provider-v1.137.0.md +47 -0
- brickhouse-0.1.0/artifacts/conformance/B020.3-databricks-cli-bundle-v1.21.0.md +45 -0
- brickhouse-0.1.0/artifacts/conformance/B020.4-terraform-compute-warehouses.md +45 -0
- brickhouse-0.1.0/artifacts/conformance/B020.5-cli-serverless-classic-bundles.md +49 -0
- brickhouse-0.1.0/artifacts/conformance/B021.1-sql-kernel-brickhouse-loopback.md +49 -0
- brickhouse-0.1.0/artifacts/conformance/B021.2.1-sql-kernel-session-lifecycle.md +56 -0
- brickhouse-0.1.0/artifacts/conformance/B021.2.2-sql-connector-inline-results.md +33 -0
- brickhouse-0.1.0/artifacts/conformance/B021.2.3-sql-connector-failures-retention.md +33 -0
- brickhouse-0.1.0/artifacts/conformance/B022.1-commit-boundary-crashes.md +31 -0
- brickhouse-0.1.0/artifacts/conformance/B022.2-concurrent-alias-writes.md +31 -0
- brickhouse-0.1.0/artifacts/conformance/B022.3.1-restart-retention.md +68 -0
- brickhouse-0.1.0/artifacts/conformance/B022.3.2-coordinated-workspace-restore.md +63 -0
- brickhouse-0.1.0/artifacts/conformance/B022.4-serverless-timeout-commit.md +54 -0
- brickhouse-0.1.0/artifacts/conformance/B023.1-alpha-scope.md +65 -0
- brickhouse-0.1.0/artifacts/conformance/B023.1-capabilities-2026-10-21.json +3510 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.1-candidate-wheel-platform.md +39 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.2-base-g1-g2-python-3.12.json +56 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.2-base-g1-offline.json +53 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.2-base-g2-offline.json +55 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.2-base-g3-offline.json +56 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.2-base-g3-python-3.12.json +57 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.2-base-g4-offline.json +58 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.2-base-g4-python-3.12.json +59 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.2-base-wheel-offline.md +37 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-extra-offline.md +36 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-g1-g2-python-3.11.json +61 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-g1-g2-python-3.12.json +61 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-g3-python-3.11.json +62 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-g3-python-3.12.json +62 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-g4-python-3.11.json +64 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-g4-python-3.12.json +64 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-python-3.11.json +61 -0
- brickhouse-0.1.0/artifacts/conformance/B023.2.3-notebook-python-3.12.json +61 -0
- brickhouse-0.1.0/artifacts/conformance/B043-serverless-classic-plan.md +27 -0
- brickhouse-0.1.0/artifacts/conformance/B044-phase-0.1-refinement.md +29 -0
- brickhouse-0.1.0/artifacts/conformance/B045-sql-connector-loopback.md +62 -0
- brickhouse-0.1.0/artifacts/conformance/B046.2-sparkless-4.14.0-python-binding.md +25 -0
- brickhouse-0.1.0/artifacts/conformance/B046.3-null-struct-repro-4.14.1.json +214 -0
- brickhouse-0.1.0/artifacts/conformance/B046.3-null-struct-repro.json +212 -0
- brickhouse-0.1.0/artifacts/conformance/B046.3-sparkless-4.14.0-provider.json +40 -0
- brickhouse-0.1.0/artifacts/conformance/B046.3-sparkless-4.14.0-provider.md +49 -0
- brickhouse-0.1.0/artifacts/conformance/B046.3-sparkless-4.14.1-provider.json +40 -0
- brickhouse-0.1.0/artifacts/conformance/B046.3-sparkless-4.14.1-provider.md +35 -0
- brickhouse-0.1.0/artifacts/conformance/B047-self-hosted-roadmap.md +33 -0
- brickhouse-0.1.0/artifacts/conformance/B048-local-core-boundaries.md +53 -0
- brickhouse-0.1.0/artifacts/conformance/B048.1-loopback-bind-boundary.md +20 -0
- brickhouse-0.1.0/artifacts/conformance/B056-sparkless-cluster-plan.md +27 -0
- brickhouse-0.1.0/artifacts/conformance/B063-open-source-reuse.md +44 -0
- brickhouse-0.1.0/artifacts/conformance/B063-oss-artifact-verification.json +189 -0
- brickhouse-0.1.0/artifacts/conformance/B064-phase-0.1-review-fixes.md +102 -0
- brickhouse-0.1.0/artifacts/conformance/B064.11-sql-create-recovery.md +33 -0
- brickhouse-0.1.0/artifacts/conformance/B066/aggregate-reference.json +1 -0
- brickhouse-0.1.0/artifacts/conformance/B066/py311-full-source.json +23 -0
- brickhouse-0.1.0/artifacts/conformance/B066/py311-full-source.xml +1 -0
- brickhouse-0.1.0/artifacts/conformance/B066/py312-full-source.json +23 -0
- brickhouse-0.1.0/artifacts/conformance/B066/py312-full-source.xml +1 -0
- brickhouse-0.1.0/artifacts/conformance/B066/sql-count-schema.json +17 -0
- brickhouse-0.1.0/artifacts/probes/B003.2-sparkless-delta-bridge.py +95 -0
- brickhouse-0.1.0/artifacts/probes/B003.3-session-isolation.py +40 -0
- brickhouse-0.1.0/artifacts/probes/B004.1-delta-mutation-candidates.py +88 -0
- brickhouse-0.1.0/artifacts/probes/B004.2-typed-interoperability.py +138 -0
- brickhouse-0.1.0/artifacts/probes/B004.3-transaction-recovery.py +252 -0
- brickhouse-0.1.0/artifacts/probes/B005.3-free-edition-sql-reference.py +336 -0
- brickhouse-0.1.0/artifacts/probes/B046.3-null-struct-repro.py +111 -0
- brickhouse-0.1.0/artifacts/probes/B046.3-published-python-provider.py +403 -0
- brickhouse-0.1.0/artifacts/probes/B063-verify-oss-artifacts.py +121 -0
- brickhouse-0.1.0/docs/benchmarks/local-emulators.md +275 -0
- brickhouse-0.1.0/docs/benchmarks/sql-profile.md +155 -0
- brickhouse-0.1.0/docs/benchmarks/sqlite-memory.md +124 -0
- brickhouse-0.1.0/docs/decisions/0001-personal-databricks-reference-verification.md +28 -0
- brickhouse-0.1.0/docs/decisions/0002-release-phases.md +27 -0
- brickhouse-0.1.0/docs/decisions/0003-phase-0.1-execution-contract.md +27 -0
- brickhouse-0.1.0/docs/decisions/0004-minilake-reuse-boundary.md +28 -0
- brickhouse-0.1.0/docs/decisions/0005-workspace-bootstrap-format.md +39 -0
- brickhouse-0.1.0/docs/decisions/0006-workspace-ownership-and-migrations.md +25 -0
- brickhouse-0.1.0/docs/decisions/0007-diagnostic-lifecycle-composition.md +25 -0
- brickhouse-0.1.0/docs/decisions/0008-delta-mutation-and-recovery.md +29 -0
- brickhouse-0.1.0/docs/decisions/0009-catalog-identity-and-location-registration.md +25 -0
- brickhouse-0.1.0/docs/decisions/0010-identifier-resolution-and-session-namespaces.md +27 -0
- brickhouse-0.1.0/docs/decisions/0011-local-sdk-catalog-schema-profile.md +25 -0
- brickhouse-0.1.0/docs/decisions/0012-table-snapshot-and-staging-contracts.md +26 -0
- brickhouse-0.1.0/docs/decisions/0013-local-delta-table-service.md +26 -0
- brickhouse-0.1.0/docs/decisions/0014-delta-operation-journal.md +39 -0
- brickhouse-0.1.0/docs/decisions/0015-ownership-safe-table-removal.md +32 -0
- brickhouse-0.1.0/docs/decisions/0016-serverless-and-classic-compute-profiles.md +32 -0
- brickhouse-0.1.0/docs/decisions/0017-phase-0.1-delivery-refinement.md +34 -0
- brickhouse-0.1.0/docs/decisions/0018-published-sparkless-python-provider.md +46 -0
- brickhouse-0.1.0/docs/decisions/0019-worker-private-authentication.md +25 -0
- brickhouse-0.1.0/docs/decisions/0020-worker-supervision-and-outcomes.md +26 -0
- brickhouse-0.1.0/docs/decisions/0021-sql-kernel-local-transport-adaptation.md +30 -0
- brickhouse-0.1.0/docs/decisions/0022-durable-job-state.md +27 -0
- brickhouse-0.1.0/docs/decisions/0023-local-classic-compute-lifecycle.md +30 -0
- brickhouse-0.1.0/docs/decisions/0024-pre-dispatch-execution-context.md +25 -0
- brickhouse-0.1.0/docs/decisions/0025-sdk-python-job-flow.md +27 -0
- brickhouse-0.1.0/docs/decisions/0026-sequential-job-dag-dispatch.md +24 -0
- brickhouse-0.1.0/docs/decisions/0027-bounded-task-retries.md +24 -0
- brickhouse-0.1.0/docs/decisions/0028-bounded-run-admission.md +26 -0
- brickhouse-0.1.0/docs/decisions/0029-active-job-restart-reconciliation.md +21 -0
- brickhouse-0.1.0/docs/decisions/0030-job-worker-compute-lifetimes.md +24 -0
- brickhouse-0.1.0/docs/decisions/0031-worker-dbutils-files-and-widgets.md +29 -0
- brickhouse-0.1.0/docs/decisions/0032-process-memory-scoped-secrets.md +27 -0
- brickhouse-0.1.0/docs/decisions/0033-attempt-scoped-task-values.md +31 -0
- brickhouse-0.1.0/docs/decisions/0034-emulator-first-self-hosted-platform.md +27 -0
- brickhouse-0.1.0/docs/decisions/0035-terraform-local-resource-identity.md +35 -0
- brickhouse-0.1.0/docs/decisions/0036-local-cli-bundle-profile.md +37 -0
- brickhouse-0.1.0/docs/decisions/0037-native-sparkless-cluster-plan.md +24 -0
- brickhouse-0.1.0/docs/decisions/0038-native-open-source-reuse.md +25 -0
- brickhouse-0.1.0/docs/decisions/0039-release-qualification-runtimes.md +43 -0
- brickhouse-0.1.0/docs/plan/00-vision-and-scope.md +64 -0
- brickhouse-0.1.0/docs/plan/01-architecture.md +95 -0
- brickhouse-0.1.0/docs/plan/02-packages-and-public-api.md +119 -0
- brickhouse-0.1.0/docs/plan/03-dependencies-and-minilake.md +72 -0
- brickhouse-0.1.0/docs/plan/04-sparkless-upstream.md +77 -0
- brickhouse-0.1.0/docs/plan/05-catalog-storage-sql.md +184 -0
- brickhouse-0.1.0/docs/plan/06-jobs-notebooks-dbutils.md +137 -0
- brickhouse-0.1.0/docs/plan/07-compatibility-and-testing.md +138 -0
- brickhouse-0.1.0/docs/plan/08-roadmap.md +83 -0
- brickhouse-0.1.0/docs/plan/09-task-backlog.md +3824 -0
- brickhouse-0.1.0/docs/plan/10-streaming-and-pipelines.md +55 -0
- brickhouse-0.1.0/docs/plan/11-ml-and-extensions.md +67 -0
- brickhouse-0.1.0/docs/plan/12-delivery-and-operations.md +95 -0
- brickhouse-0.1.0/docs/plan/13-decisions-and-risks.md +90 -0
- brickhouse-0.1.0/docs/plan/14-research-sources.md +97 -0
- brickhouse-0.1.0/docs/plan/15-personal-databricks-verification.md +65 -0
- brickhouse-0.1.0/docs/plan/16-phase-0.1-initial-release.md +200 -0
- brickhouse-0.1.0/docs/plan/17-serverless-and-classic-compute.md +135 -0
- brickhouse-0.1.0/docs/plan/18-self-hosted-platform.md +106 -0
- brickhouse-0.1.0/docs/plan/19-sparkless-cluster-execution.md +152 -0
- brickhouse-0.1.0/docs/plan/20-open-source-reuse.md +100 -0
- brickhouse-0.1.0/docs/plan/21-release-readiness.md +21 -0
- brickhouse-0.1.0/docs/plan/22-local-emulator-comparison.md +76 -0
- brickhouse-0.1.0/docs/plan/CODEX_BOOTSTRAP.md +53 -0
- brickhouse-0.1.0/docs/upstream/minilake-inventory.md +50 -0
- brickhouse-0.1.0/docs/upstream/oss-reuse-inventory.md +42 -0
- brickhouse-0.1.0/docs/upstream/sparkless-4.14.0-python-provider.md +36 -0
- brickhouse-0.1.0/docs/upstream/sparkless-api-inventory.md +34 -0
- brickhouse-0.1.0/docs/upstream/sparkless-cluster-contracts.md +51 -0
- brickhouse-0.1.0/examples/__init__.py +1 -0
- brickhouse-0.1.0/examples/phase_0_1/README.md +30 -0
- brickhouse-0.1.0/examples/phase_0_1/__init__.py +1 -0
- brickhouse-0.1.0/examples/phase_0_1/orders_worker.py +45 -0
- brickhouse-0.1.0/examples/phase_0_1/run_orders.py +132 -0
- brickhouse-0.1.0/planning/README.md +70 -0
- brickhouse-0.1.0/planning/capabilities.json +4645 -0
- brickhouse-0.1.0/planning/client-artifacts.json +55 -0
- brickhouse-0.1.0/planning/oss-reuse.json +2797 -0
- brickhouse-0.1.0/planning/publishing.json +29 -0
- brickhouse-0.1.0/planning/release-requirements.json +398 -0
- brickhouse-0.1.0/planning/tasks.json +9785 -0
- brickhouse-0.1.0/planning/validation.json +481 -0
- brickhouse-0.1.0/pyproject.toml +64 -0
- brickhouse-0.1.0/requirements/dev.in +17 -0
- brickhouse-0.1.0/requirements/dev.txt +1486 -0
- brickhouse-0.1.0/requirements/lock-tools.txt +2 -0
- brickhouse-0.1.0/requirements/qualification-tools.txt +21 -0
- brickhouse-0.1.0/requirements/sql-connector.in +3 -0
- brickhouse-0.1.0/requirements/sql-connector.txt +560 -0
- brickhouse-0.1.0/scripts/audit_distribution.py +183 -0
- brickhouse-0.1.0/scripts/benchmark_emulators.py +721 -0
- brickhouse-0.1.0/scripts/benchmark_sail_agent.py +41 -0
- brickhouse-0.1.0/scripts/benchmark_sqlite.py +409 -0
- brickhouse-0.1.0/scripts/probe_sql_connector_transport.py +309 -0
- brickhouse-0.1.0/scripts/profile_sql.py +422 -0
- brickhouse-0.1.0/scripts/provision_qualification_python.py +99 -0
- brickhouse-0.1.0/scripts/provision_release_clients.py +103 -0
- brickhouse-0.1.0/scripts/qualify_release.py +234 -0
- brickhouse-0.1.0/scripts/render_capability_report.py +83 -0
- brickhouse-0.1.0/scripts/summarize_emulator_benchmarks.py +140 -0
- brickhouse-0.1.0/scripts/summarize_sql_profile.py +136 -0
- brickhouse-0.1.0/scripts/summarize_sqlite_benchmark.py +144 -0
- brickhouse-0.1.0/scripts/validate_planning.py +620 -0
- brickhouse-0.1.0/scripts/verify_g1_local_only.py +474 -0
- brickhouse-0.1.0/src/brickhouse/__init__.py +6 -0
- brickhouse-0.1.0/src/brickhouse/__main__.py +5 -0
- brickhouse-0.1.0/src/brickhouse/_version.py +3 -0
- brickhouse-0.1.0/src/brickhouse/api/__init__.py +1 -0
- brickhouse-0.1.0/src/brickhouse/api/catalog.py +351 -0
- brickhouse-0.1.0/src/brickhouse/api/compute.py +282 -0
- brickhouse-0.1.0/src/brickhouse/api/host_metadata.py +58 -0
- brickhouse-0.1.0/src/brickhouse/api/jobs.py +651 -0
- brickhouse-0.1.0/src/brickhouse/api/statements.py +431 -0
- brickhouse-0.1.0/src/brickhouse/api/warehouses.py +222 -0
- brickhouse-0.1.0/src/brickhouse/api/workspace_files.py +386 -0
- brickhouse-0.1.0/src/brickhouse/catalog/__init__.py +51 -0
- brickhouse-0.1.0/src/brickhouse/catalog/identifiers.py +273 -0
- brickhouse-0.1.0/src/brickhouse/catalog/repository.py +532 -0
- brickhouse-0.1.0/src/brickhouse/catalog/service.py +43 -0
- brickhouse-0.1.0/src/brickhouse/cli.py +145 -0
- brickhouse-0.1.0/src/brickhouse/compute/__init__.py +63 -0
- brickhouse-0.1.0/src/brickhouse/compute/models.py +352 -0
- brickhouse-0.1.0/src/brickhouse/compute/repository.py +380 -0
- brickhouse-0.1.0/src/brickhouse/compute/service.py +921 -0
- brickhouse-0.1.0/src/brickhouse/compute/warehouse.py +1089 -0
- brickhouse-0.1.0/src/brickhouse/diagnostic_server.py +286 -0
- brickhouse-0.1.0/src/brickhouse/diagnostics.py +89 -0
- brickhouse-0.1.0/src/brickhouse/engines/__init__.py +23 -0
- brickhouse-0.1.0/src/brickhouse/engines/sparkless.py +1107 -0
- brickhouse-0.1.0/src/brickhouse/jobs/__init__.py +65 -0
- brickhouse-0.1.0/src/brickhouse/jobs/execution_context.py +844 -0
- brickhouse-0.1.0/src/brickhouse/jobs/models.py +299 -0
- brickhouse-0.1.0/src/brickhouse/jobs/repository.py +1246 -0
- brickhouse-0.1.0/src/brickhouse/jobs/service.py +1393 -0
- brickhouse-0.1.0/src/brickhouse/jobs/terraform.py +233 -0
- brickhouse-0.1.0/src/brickhouse/notebooks/__init__.py +23 -0
- brickhouse-0.1.0/src/brickhouse/notebooks/runner.py +1072 -0
- brickhouse-0.1.0/src/brickhouse/notebooks/source_format.py +341 -0
- brickhouse-0.1.0/src/brickhouse/runtime/__init__.py +81 -0
- brickhouse-0.1.0/src/brickhouse/runtime/dbutils_local.py +737 -0
- brickhouse-0.1.0/src/brickhouse/runtime/notebook_kernel.py +236 -0
- brickhouse-0.1.0/src/brickhouse/runtime/notebook_worker.py +155 -0
- brickhouse-0.1.0/src/brickhouse/runtime/outcomes.py +276 -0
- brickhouse-0.1.0/src/brickhouse/runtime/secrets.py +208 -0
- brickhouse-0.1.0/src/brickhouse/runtime/worker.py +687 -0
- brickhouse-0.1.0/src/brickhouse/runtime/worker_auth.py +301 -0
- brickhouse-0.1.0/src/brickhouse/runtime/worker_delta.py +125 -0
- brickhouse-0.1.0/src/brickhouse/runtime/worker_entry.py +111 -0
- brickhouse-0.1.0/src/brickhouse/runtime/worker_imports.py +303 -0
- brickhouse-0.1.0/src/brickhouse/runtime/worker_services.py +309 -0
- brickhouse-0.1.0/src/brickhouse/runtime/worker_session.py +833 -0
- brickhouse-0.1.0/src/brickhouse/sql/__init__.py +44 -0
- brickhouse-0.1.0/src/brickhouse/sql/cancellation.py +131 -0
- brickhouse-0.1.0/src/brickhouse/sql/errors.py +13 -0
- brickhouse-0.1.0/src/brickhouse/sql/parameters.py +310 -0
- brickhouse-0.1.0/src/brickhouse/sql/planner.py +1098 -0
- brickhouse-0.1.0/src/brickhouse/sql/render.py +31 -0
- brickhouse-0.1.0/src/brickhouse/sql/results.py +393 -0
- brickhouse-0.1.0/src/brickhouse/sql/service.py +936 -0
- brickhouse-0.1.0/src/brickhouse/sql/sessions.py +131 -0
- brickhouse-0.1.0/src/brickhouse/sql/statements.py +968 -0
- brickhouse-0.1.0/src/brickhouse/tables/__init__.py +105 -0
- brickhouse-0.1.0/src/brickhouse/tables/contracts.py +468 -0
- brickhouse-0.1.0/src/brickhouse/tables/delta_rs.py +1603 -0
- brickhouse-0.1.0/src/brickhouse/tables/journal.py +421 -0
- brickhouse-0.1.0/src/brickhouse/tables/staging.py +190 -0
- brickhouse-0.1.0/src/brickhouse/workspace/__init__.py +73 -0
- brickhouse-0.1.0/src/brickhouse/workspace/config.py +124 -0
- brickhouse-0.1.0/src/brickhouse/workspace/context.py +196 -0
- brickhouse-0.1.0/src/brickhouse/workspace/files.py +322 -0
- brickhouse-0.1.0/src/brickhouse/workspace/lifecycle.py +2142 -0
- brickhouse-0.1.0/src/brickhouse/workspace/migrations.py +137 -0
- brickhouse-0.1.0/src/brickhouse/workspace/ownership.py +152 -0
- brickhouse-0.1.0/src/brickhouse/workspace/snapshot.py +636 -0
- brickhouse-0.1.0/tests/conftest.py +156 -0
- brickhouse-0.1.0/tests/fixtures/oracles/databricks/B005.3-sql-literals.json +55 -0
- brickhouse-0.1.0/tests/fixtures/oracles/databricks/B007.2-identifiers.json +46 -0
- brickhouse-0.1.0/tests/fixtures/release/orders_workload.py +76 -0
- brickhouse-0.1.0/tests/fixtures/sql/B019.1.1-orders-scalar-query.json +94 -0
- brickhouse-0.1.0/tests/fixtures/sql/B019.1.2-aggregate-cases.json +51 -0
- brickhouse-0.1.0/tests/fixtures/sql/B019.1.3-date-time-cases.json +147 -0
- brickhouse-0.1.0/tests/fixtures/sql/B019.1.4-collection-cases.json +108 -0
- brickhouse-0.1.0/tests/fixtures/sql/B019.1.5-join-cases.json +83 -0
- brickhouse-0.1.0/tests/fixtures/sql/B019.1.6-ddl-error-cases.json +93 -0
- brickhouse-0.1.0/tests/fixtures/sql/B019.1.7-profile-cases.json +98 -0
- brickhouse-0.1.0/tests/fixtures/terraform/1.137.0/.terraform.lock.hcl +16 -0
- brickhouse-0.1.0/tests/integration/test_databricks_cli_bundle_profiles_v1_21_0.py +510 -0
- brickhouse-0.1.0/tests/integration/test_databricks_cli_bundle_v1_21_0.py +239 -0
- brickhouse-0.1.0/tests/integration/test_databricks_cli_v1_21_0.py +194 -0
- brickhouse-0.1.0/tests/integration/test_databricks_sql_kernel_b0211.py +648 -0
- brickhouse-0.1.0/tests/integration/test_g1_shared_table_restart.py +184 -0
- brickhouse-0.1.0/tests/integration/test_phase_0_1_example.py +51 -0
- brickhouse-0.1.0/tests/integration/test_release_orders_workflow.py +274 -0
- brickhouse-0.1.0/tests/integration/test_terraform_v1_16_6_provider_1_137_0.py +724 -0
- brickhouse-0.1.0/tests/unit/test_benchmark_emulators.py +101 -0
- brickhouse-0.1.0/tests/unit/test_benchmark_summary.py +90 -0
- brickhouse-0.1.0/tests/unit/test_capability_report.py +25 -0
- brickhouse-0.1.0/tests/unit/test_capture_isolation.py +160 -0
- brickhouse-0.1.0/tests/unit/test_catalog_api_sdk.py +109 -0
- brickhouse-0.1.0/tests/unit/test_catalog_repository.py +222 -0
- brickhouse-0.1.0/tests/unit/test_cli.py +234 -0
- brickhouse-0.1.0/tests/unit/test_compute_api_sdk.py +166 -0
- brickhouse-0.1.0/tests/unit/test_compute_service.py +219 -0
- brickhouse-0.1.0/tests/unit/test_dbutils_local.py +183 -0
- brickhouse-0.1.0/tests/unit/test_delta_operation_journal.py +485 -0
- brickhouse-0.1.0/tests/unit/test_delta_table_service.py +342 -0
- brickhouse-0.1.0/tests/unit/test_diagnostic_server.py +44 -0
- brickhouse-0.1.0/tests/unit/test_execution_context.py +403 -0
- brickhouse-0.1.0/tests/unit/test_host_metadata_api.py +56 -0
- brickhouse-0.1.0/tests/unit/test_identifier_resolution.py +127 -0
- brickhouse-0.1.0/tests/unit/test_jobs_api_sdk.py +3141 -0
- brickhouse-0.1.0/tests/unit/test_jobs_repository.py +637 -0
- brickhouse-0.1.0/tests/unit/test_notebook_context.py +249 -0
- brickhouse-0.1.0/tests/unit/test_notebook_runner.py +404 -0
- brickhouse-0.1.0/tests/unit/test_notebook_source.py +197 -0
- brickhouse-0.1.0/tests/unit/test_oss_research_inventory.py +91 -0
- brickhouse-0.1.0/tests/unit/test_planning_validation.py +181 -0
- brickhouse-0.1.0/tests/unit/test_qualification_python.py +39 -0
- brickhouse-0.1.0/tests/unit/test_report_comparison.py +21 -0
- brickhouse-0.1.0/tests/unit/test_secrets.py +99 -0
- brickhouse-0.1.0/tests/unit/test_sparkless_engine.py +1007 -0
- brickhouse-0.1.0/tests/unit/test_sql_describe_history.py +255 -0
- brickhouse-0.1.0/tests/unit/test_sql_merge.py +233 -0
- brickhouse-0.1.0/tests/unit/test_sql_mutations.py +285 -0
- brickhouse-0.1.0/tests/unit/test_sql_parameters.py +96 -0
- brickhouse-0.1.0/tests/unit/test_sql_profile.py +152 -0
- brickhouse-0.1.0/tests/unit/test_sql_statement_api.py +1541 -0
- brickhouse-0.1.0/tests/unit/test_sql_statement_results.py +105 -0
- brickhouse-0.1.0/tests/unit/test_sql_statement_service.py +988 -0
- brickhouse-0.1.0/tests/unit/test_sql_time_travel.py +161 -0
- brickhouse-0.1.0/tests/unit/test_sql_warehouse_service.py +319 -0
- brickhouse-0.1.0/tests/unit/test_sqlite_benchmark.py +129 -0
- brickhouse-0.1.0/tests/unit/test_table_contracts.py +220 -0
- brickhouse-0.1.0/tests/unit/test_table_removal.py +191 -0
- brickhouse-0.1.0/tests/unit/test_terraform_job_api.py +153 -0
- brickhouse-0.1.0/tests/unit/test_worker.py +202 -0
- brickhouse-0.1.0/tests/unit/test_worker_auth.py +196 -0
- brickhouse-0.1.0/tests/unit/test_worker_imports.py +210 -0
- brickhouse-0.1.0/tests/unit/test_worker_session.py +226 -0
- brickhouse-0.1.0/tests/unit/test_worker_supervision.py +278 -0
- brickhouse-0.1.0/tests/unit/test_workspace.py +349 -0
- brickhouse-0.1.0/tests/unit/test_workspace_context.py +42 -0
- brickhouse-0.1.0/tests/unit/test_workspace_files_api.py +163 -0
- brickhouse-0.1.0/tests/unit/test_workspace_ownership.py +144 -0
- brickhouse-0.1.0/tests/unit/test_workspace_snapshot.py +234 -0
- brickhouse-0.1.0/uv.lock +1150 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Source checks
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
checks:
|
|
11
|
+
runs-on: ubuntu-22.04
|
|
12
|
+
timeout-minutes: 15
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
15
|
+
with:
|
|
16
|
+
persist-credentials: false
|
|
17
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
18
|
+
with:
|
|
19
|
+
python-version: "3.11"
|
|
20
|
+
check-latest: true
|
|
21
|
+
cache: pip
|
|
22
|
+
cache-dependency-path: requirements/dev.txt
|
|
23
|
+
- name: Install locked developer tools
|
|
24
|
+
run: python -m pip install --require-hashes -r requirements/dev.txt
|
|
25
|
+
- name: Validate plans and requirement selectors
|
|
26
|
+
run: python scripts/validate_planning.py
|
|
27
|
+
- name: Lint
|
|
28
|
+
run: python -m ruff check src tests scripts
|
|
29
|
+
- name: Check formatting
|
|
30
|
+
run: python -m ruff format --check src tests scripts
|
|
31
|
+
- name: Type check
|
|
32
|
+
run: |
|
|
33
|
+
python -m mypy
|
|
34
|
+
python -m mypy --strict scripts/provision_qualification_python.py scripts/provision_release_clients.py scripts/qualify_release.py scripts/verify_g1_local_only.py
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
paths-ignore:
|
|
6
|
+
- "artifacts/releases/**"
|
|
7
|
+
pull_request:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
checks:
|
|
14
|
+
uses: ./.github/workflows/checks.yml
|
|
15
|
+
qualification:
|
|
16
|
+
needs: checks
|
|
17
|
+
uses: ./.github/workflows/qualify.yml
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
name: Databricks reference capture
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
run_probe:
|
|
7
|
+
description: >-
|
|
8
|
+
Run one read-only literal SQL probe. It can start the existing Free Edition
|
|
9
|
+
warehouse; the workflow attempts to restore its initial stopped state.
|
|
10
|
+
type: boolean
|
|
11
|
+
required: true
|
|
12
|
+
default: false
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
|
|
17
|
+
concurrency:
|
|
18
|
+
group: databricks-reference-${{ github.repository }}
|
|
19
|
+
cancel-in-progress: false
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
capture:
|
|
23
|
+
if: github.ref == 'refs/heads/main' && inputs.run_probe
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
timeout-minutes: 5
|
|
26
|
+
steps:
|
|
27
|
+
- name: Check out reviewed default-branch source
|
|
28
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
29
|
+
with:
|
|
30
|
+
ref: main
|
|
31
|
+
persist-credentials: false
|
|
32
|
+
|
|
33
|
+
- name: Run the curated one-row SQL probe
|
|
34
|
+
env:
|
|
35
|
+
DATABRICKS_HOST: ${{ vars.DATABRICKS_HOST }}
|
|
36
|
+
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
|
|
37
|
+
run: |
|
|
38
|
+
set -eu
|
|
39
|
+
if [ -z "${DATABRICKS_TOKEN:-}" ]; then
|
|
40
|
+
echo "::error::Repository secret DATABRICKS_TOKEN is not configured."
|
|
41
|
+
exit 1
|
|
42
|
+
fi
|
|
43
|
+
if [ -z "${DATABRICKS_HOST:-}" ]; then
|
|
44
|
+
echo "::error::Set repository variable DATABRICKS_HOST to the workspace HTTPS URL."
|
|
45
|
+
exit 1
|
|
46
|
+
fi
|
|
47
|
+
case "$DATABRICKS_HOST" in
|
|
48
|
+
https://*.cloud.databricks.com) ;;
|
|
49
|
+
*)
|
|
50
|
+
echo "::error::DATABRICKS_HOST must be an HTTPS cloud.databricks.com workspace host."
|
|
51
|
+
exit 1
|
|
52
|
+
;;
|
|
53
|
+
esac
|
|
54
|
+
python3 artifacts/probes/B005.3-free-edition-sql-reference.py \
|
|
55
|
+
--host "$DATABRICKS_HOST" > "$RUNNER_TEMP/databricks-reference.json"
|
|
56
|
+
|
|
57
|
+
- name: Upload only the sanitized probe result
|
|
58
|
+
if: always()
|
|
59
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
60
|
+
with:
|
|
61
|
+
name: databricks-reference-${{ github.run_id }}
|
|
62
|
+
path: ${{ runner.temp }}/databricks-reference.json
|
|
63
|
+
if-no-files-found: ignore
|
|
64
|
+
retention-days: 1
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
name: Release qualification
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
candidate:
|
|
11
|
+
name: Build one candidate for every qualification lane
|
|
12
|
+
runs-on: ubuntu-22.04
|
|
13
|
+
timeout-minutes: 15
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
16
|
+
with:
|
|
17
|
+
persist-credentials: false
|
|
18
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
19
|
+
with:
|
|
20
|
+
python-version: "3.11"
|
|
21
|
+
check-latest: true
|
|
22
|
+
- name: Install locked build tools
|
|
23
|
+
run: python -m pip install --require-hashes -r requirements/dev.txt
|
|
24
|
+
- name: Build candidate distributions
|
|
25
|
+
run: python -m build --no-isolation
|
|
26
|
+
- name: Audit metadata, license, and retained notices
|
|
27
|
+
run: python scripts/audit_distribution.py --artifact-dir dist
|
|
28
|
+
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
29
|
+
with:
|
|
30
|
+
name: qualification-distributions
|
|
31
|
+
path: dist/
|
|
32
|
+
if-no-files-found: error
|
|
33
|
+
retention-days: 14
|
|
34
|
+
|
|
35
|
+
matrix:
|
|
36
|
+
name: Offline G1–G4 (${{ matrix.os }} / Python ${{ matrix.python-version }})
|
|
37
|
+
needs: candidate
|
|
38
|
+
runs-on: ${{ matrix.os }}
|
|
39
|
+
timeout-minutes: 45
|
|
40
|
+
strategy:
|
|
41
|
+
fail-fast: false
|
|
42
|
+
matrix:
|
|
43
|
+
os: [ubuntu-22.04, macos-26]
|
|
44
|
+
python-version: ["3.11", "3.12"]
|
|
45
|
+
steps:
|
|
46
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
47
|
+
with:
|
|
48
|
+
persist-credentials: false
|
|
49
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
50
|
+
with:
|
|
51
|
+
python-version: ${{ matrix.python-version }}
|
|
52
|
+
check-latest: true
|
|
53
|
+
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
|
|
54
|
+
with:
|
|
55
|
+
name: qualification-distributions
|
|
56
|
+
path: dist/
|
|
57
|
+
- name: Install hash-locked native Python provisioning tool
|
|
58
|
+
run: python -m pip install --require-hashes -r requirements/qualification-tools.txt
|
|
59
|
+
- name: Provision the exact qualification interpreter
|
|
60
|
+
run: |
|
|
61
|
+
python scripts/provision_qualification_python.py --python-version "${{ matrix.python-version }}" --destination "$RUNNER_TEMP/brickhouse-python" --output "$RUNNER_TEMP/qualification/python-provisioning.json"
|
|
62
|
+
- name: Provision pinned, hash-verified clients before offline execution
|
|
63
|
+
run: |
|
|
64
|
+
"$QUALIFICATION_PYTHON" scripts/provision_release_clients.py --destination "$RUNNER_TEMP/brickhouse-clients" --output "$RUNNER_TEMP/brickhouse-clients.json"
|
|
65
|
+
- name: Qualify installed base and notebook wheels, then the complete source suite
|
|
66
|
+
run: |
|
|
67
|
+
"$QUALIFICATION_PYTHON" scripts/qualify_release.py --clients "$RUNNER_TEMP/brickhouse-clients.json" --output-dir "$RUNNER_TEMP/qualification" --full-source
|
|
68
|
+
- name: Capture native macOS sandbox denials when qualification fails
|
|
69
|
+
if: failure() && runner.os == 'macOS'
|
|
70
|
+
run: |
|
|
71
|
+
mkdir -p "$RUNNER_TEMP/qualification"
|
|
72
|
+
sudo -n /usr/bin/log show --last 20m --style compact --predicate 'eventMessage CONTAINS "deny" AND eventMessage CONTAINS "databricks"' > "$RUNNER_TEMP/qualification/macos-sandbox-denials.log" 2>&1 || true
|
|
73
|
+
- name: Retain exact artifact hashes, zero-skip counts, and isolation evidence
|
|
74
|
+
if: always()
|
|
75
|
+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
76
|
+
with:
|
|
77
|
+
name: qualification-${{ matrix.os }}-py${{ matrix.python-version }}
|
|
78
|
+
path: ${{ runner.temp }}/qualification/
|
|
79
|
+
if-no-files-found: error
|
|
80
|
+
retention-days: 14
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*.*.*"
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: release-${{ github.ref }}
|
|
13
|
+
cancel-in-progress: false
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
checks:
|
|
17
|
+
uses: ./.github/workflows/checks.yml
|
|
18
|
+
|
|
19
|
+
qualification:
|
|
20
|
+
needs: checks
|
|
21
|
+
uses: ./.github/workflows/qualify.yml
|
|
22
|
+
|
|
23
|
+
build:
|
|
24
|
+
name: Build release distributions
|
|
25
|
+
needs: [checks, qualification]
|
|
26
|
+
runs-on: ubuntu-22.04
|
|
27
|
+
timeout-minutes: 15
|
|
28
|
+
steps:
|
|
29
|
+
- name: Check out tagged source
|
|
30
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
31
|
+
with:
|
|
32
|
+
persist-credentials: false
|
|
33
|
+
- name: Set up Python
|
|
34
|
+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
35
|
+
with:
|
|
36
|
+
python-version: "3.11"
|
|
37
|
+
check-latest: true
|
|
38
|
+
- name: Install locked developer tools
|
|
39
|
+
run: python -m pip install --require-hashes -r requirements/dev.txt
|
|
40
|
+
- name: Check release tag, package version, and license
|
|
41
|
+
env:
|
|
42
|
+
RELEASE_TAG: ${{ github.ref_name }}
|
|
43
|
+
run: |
|
|
44
|
+
python - <<'PY'
|
|
45
|
+
import json
|
|
46
|
+
import os
|
|
47
|
+
import re
|
|
48
|
+
import tomllib
|
|
49
|
+
from pathlib import Path
|
|
50
|
+
|
|
51
|
+
project = tomllib.loads(Path("pyproject.toml").read_text(encoding="utf-8"))["project"]
|
|
52
|
+
tag = os.environ["RELEASE_TAG"]
|
|
53
|
+
if not re.fullmatch(r"v(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)", tag):
|
|
54
|
+
raise SystemExit(f"Release tag must be vMAJOR.MINOR.PATCH, got {tag!r}")
|
|
55
|
+
if tag[1:] != project["version"]:
|
|
56
|
+
raise SystemExit(
|
|
57
|
+
f"Tag {tag!r} does not match pyproject.toml version {project['version']!r}"
|
|
58
|
+
)
|
|
59
|
+
if project["name"] != "brickhouse":
|
|
60
|
+
raise SystemExit(f"Unexpected distribution name: {project['name']!r}")
|
|
61
|
+
if not (project.get("license") or Path("LICENSE").is_file()):
|
|
62
|
+
raise SystemExit("Select the BrickHouse project license before publishing to PyPI")
|
|
63
|
+
publishing = json.loads(Path("planning/publishing.json").read_text(encoding="utf-8"))
|
|
64
|
+
publisher = publishing["trusted_publisher"]
|
|
65
|
+
expected = {
|
|
66
|
+
"owner": "eddiethedean", "repository": "brickhouse",
|
|
67
|
+
"workflow": "release.yml", "environment": "pypi",
|
|
68
|
+
}
|
|
69
|
+
if not publisher.get("configured_and_verified") or any(
|
|
70
|
+
publisher.get(key) != value for key, value in expected.items()
|
|
71
|
+
):
|
|
72
|
+
raise SystemExit("Verify the exact PyPI Trusted Publisher before tagging a release")
|
|
73
|
+
PY
|
|
74
|
+
- name: Check versioned release-readiness checklist
|
|
75
|
+
env:
|
|
76
|
+
RELEASE_TAG: ${{ github.ref_name }}
|
|
77
|
+
run: |
|
|
78
|
+
python - <<'PY'
|
|
79
|
+
import os
|
|
80
|
+
from pathlib import Path
|
|
81
|
+
|
|
82
|
+
version = os.environ["RELEASE_TAG"][1:]
|
|
83
|
+
checklist = Path("artifacts/releases") / version / "release-checklist.md"
|
|
84
|
+
if not checklist.is_file():
|
|
85
|
+
raise SystemExit(f"Missing versioned release checklist: {checklist}")
|
|
86
|
+
authorization = "- [ ] Explicitly authorize any public release build and publication."
|
|
87
|
+
pending = [
|
|
88
|
+
line.strip()
|
|
89
|
+
for line in checklist.read_text(encoding="utf-8").splitlines()
|
|
90
|
+
if line.strip().startswith("- [ ]") and line.strip() != authorization
|
|
91
|
+
]
|
|
92
|
+
if pending:
|
|
93
|
+
raise SystemExit("Resolve release checklist gates before tagging:\n" + "\n".join(pending))
|
|
94
|
+
PY
|
|
95
|
+
- name: Download the distributions that passed every qualification lane
|
|
96
|
+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
|
|
97
|
+
with:
|
|
98
|
+
name: qualification-distributions
|
|
99
|
+
path: dist/
|
|
100
|
+
- name: Audit release distributions
|
|
101
|
+
run: python scripts/audit_distribution.py --artifact-dir dist
|
|
102
|
+
- name: Upload release distributions
|
|
103
|
+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
104
|
+
with:
|
|
105
|
+
name: python-distributions
|
|
106
|
+
path: dist/
|
|
107
|
+
if-no-files-found: error
|
|
108
|
+
retention-days: 7
|
|
109
|
+
|
|
110
|
+
publish:
|
|
111
|
+
name: Publish to PyPI
|
|
112
|
+
needs: build
|
|
113
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
114
|
+
runs-on: ubuntu-22.04
|
|
115
|
+
timeout-minutes: 10
|
|
116
|
+
environment:
|
|
117
|
+
name: pypi
|
|
118
|
+
url: https://pypi.org/p/brickhouse
|
|
119
|
+
permissions:
|
|
120
|
+
contents: read
|
|
121
|
+
id-token: write
|
|
122
|
+
steps:
|
|
123
|
+
- name: Download release distributions
|
|
124
|
+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
|
|
125
|
+
with:
|
|
126
|
+
name: python-distributions
|
|
127
|
+
path: dist/
|
|
128
|
+
- name: Publish distributions with PyPI Trusted Publishing
|
|
129
|
+
uses: docker://ghcr.io/pypa/gh-action-pypi-publish@sha256:5c2f7030fbef8308068eb4cc9080fd3c9e157ccf6d511924d69f8f4b23dc95c1
|
|
130
|
+
with:
|
|
131
|
+
user: __token__
|
|
132
|
+
password: ""
|
|
133
|
+
repository-url: https://upload.pypi.org/legacy/
|
|
134
|
+
packages-dir: dist
|
|
135
|
+
verify-metadata: "true"
|
|
136
|
+
skip-existing: "false"
|
|
137
|
+
verbose: "true"
|
|
138
|
+
print-hash: "true"
|
|
139
|
+
attestations: "true"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Local credentials; keep only explicitly sanitized examples.
|
|
2
|
+
.env
|
|
3
|
+
.env.*
|
|
4
|
+
!.env.example
|
|
5
|
+
|
|
6
|
+
# Python build and development output.
|
|
7
|
+
build/
|
|
8
|
+
dist/
|
|
9
|
+
*.egg-info/
|
|
10
|
+
.venv/
|
|
11
|
+
venv/
|
|
12
|
+
__pycache__/
|
|
13
|
+
.pytest_cache/
|
|
14
|
+
.mypy_cache/
|
|
15
|
+
.ruff_cache/
|
|
16
|
+
.coverage
|
|
17
|
+
htmlcov/
|
|
18
|
+
|
|
19
|
+
# Unreviewed reference captures may contain account data.
|
|
20
|
+
artifacts/oracles/raw/
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# BrickHouse implementation instructions
|
|
2
|
+
|
|
3
|
+
## Context and reading order
|
|
4
|
+
|
|
5
|
+
BrickHouse is a new Python project targeting broad Databricks behavioral emulation without a JVM. The owner maintains Sparkless. Minilake and other libraries are third-party projects. This file governs work in the new BrickHouse repository; it grants no permission to publish releases or spend money. The owner's existing authorization for bounded personal Databricks reference probes is recorded below and in document 15; other cloud workloads require separate authorization.
|
|
6
|
+
|
|
7
|
+
Before implementation, read README.md, STATUS.md, docs/plan/00-vision-and-scope.md, docs/plan/01-architecture.md, docs/plan/03-dependencies-and-minilake.md, and the active task's referenced documents. Treat all proposed interfaces as contracts to refine through tests, not existing APIs.
|
|
8
|
+
|
|
9
|
+
## Work selection
|
|
10
|
+
|
|
11
|
+
- Use planning/tasks.json as the task-state ledger and docs/plan/09-task-backlog.md for detailed acceptance criteria.
|
|
12
|
+
- Decompose epics and oversized work packages into bounded child tasks before implementation; preserve the parent acceptance criteria.
|
|
13
|
+
- Start at B001. Claim one ready task by marking it `in_progress`; dependencies must be `done` before dependent implementation starts.
|
|
14
|
+
- A task is `done` only when its listed acceptance criteria and relevant tests pass. Record concrete evidence and commit references when commits exist.
|
|
15
|
+
- If blocked by Sparkless work, document the missing contract, continue independent ready tasks, and do not simulate successful execution.
|
|
16
|
+
- Update STATUS.md, planning/tasks.json, relevant capability entries, and any changed design decisions in each completed slice.
|
|
17
|
+
- Re-read actual code and repository instructions before changing Sparkless or another checkout. Ownership permits coordination, not inventing an unverified API or silently publishing it.
|
|
18
|
+
|
|
19
|
+
## Architectural rules
|
|
20
|
+
|
|
21
|
+
- No JVM, Java process, Spark driver, `spark-submit`, or hidden remote Spark fallback in BrickHouse execution. Pure Python protocol clients are permitted only with verified native execution behind them.
|
|
22
|
+
- One authoritative catalog and one table-storage contract. SQL and DataFrames must see the same table IDs, locations, schemas, and committed versions.
|
|
23
|
+
- Keep API transport, domain services, persistence, engine adapters, and job execution separate. Request models must not own business logic.
|
|
24
|
+
- Sparkless is the default DataFrame and Spark-semantics engine. DuckDB is an explicit execution option behind capability checks, not a silent retry when Sparkless fails.
|
|
25
|
+
- Mutations go through the table service and declared native Delta provider. Never edit `_delta_log` manually or implement mutations as unprotected read/overwrite cycles.
|
|
26
|
+
- Session configuration, UDFs, current namespaces, temporary views, and task context must not leak between sessions or jobs.
|
|
27
|
+
- Jobs run in fresh child processes. Import compatibility is scoped to the worker. Never globally replace installed `pyspark`, `databricks`, or `delta` packages in a user's environment.
|
|
28
|
+
- New third-party source must have pinned provenance and retained notices. Do not copy a running Minilake server with its Spark launch paths into BrickHouse and call it JVM-free.
|
|
29
|
+
- Do not depend on private third-party APIs without an explicit, tested, contained adaptation decision.
|
|
30
|
+
- Start with one `brickhouse` distribution and optional extras. Internal modules are Python subpackages; splitting a wheel requires the package-boundary criteria in document 02.
|
|
31
|
+
|
|
32
|
+
## Compatibility and tests
|
|
33
|
+
|
|
34
|
+
- Unsupported operations must raise a specific Python error or a version-appropriate API error. Never return fabricated success, empty data, a constant, or a skipped job as an implementation of requested behavior.
|
|
35
|
+
- Intentional simulated infrastructure, such as cluster lifecycle metadata, must be labeled `simulated` in the capability registry and exposed diagnostics.
|
|
36
|
+
- Test behavior using real local files, Delta tables, SDK clients, child processes, and failure/restart scenarios. Mock only external failures or boundaries where a real dependency is impractical.
|
|
37
|
+
- Every compatibility claim requires exact client/profile versions and evidence. An endpoint responding 200 is not proof of behavioral parity.
|
|
38
|
+
- Use the owner's personal Databricks account for occasional bounded reference probes to verify representative code and design local tests, as authorized on 2026-10-16 and specified in docs/plan/15-personal-databricks-verification.md. Routine tests and required CI consume sanitized fixtures locally; they never run against that account.
|
|
39
|
+
- Keep Spark/Databricks reference capture separate from JVM-free runtime CI and execution. The existing authorization covers the documented probes using permitted existing resources; paid provisioning or expanded spend requires separate authorization. Token availability alone does not establish a compute budget.
|
|
40
|
+
- Use focused tests for each change, then the milestone gates. Do not invoke unrelated full Sparkless rebuilds for documentation-only BrickHouse work.
|
|
41
|
+
- Store credentials outside tracked files. DATABRICKS_TOKEN is owner-supplied through ignored local .env or the GitHub Actions secret and is available only to explicit reference capture. Ordinary tests must not load .env or discover real-workspace credentials. Redact job secrets and account identifiers from logs and diagnostic artifacts.
|
|
42
|
+
|
|
43
|
+
## Completing work
|
|
44
|
+
|
|
45
|
+
Report user-visible behavior, relevant test results, remaining limitations, and changed capability claims. Update implementation documentation to describe current behavior; retain a clearly marked future roadmap. Do not claim a milestone is complete based on scaffolding, mock responses, or planned dependencies.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
Initial alpha for local, JVM-free Databricks workflow emulation.
|
|
6
|
+
|
|
7
|
+
- One persistent catalog and native Delta table service shared by Sparkless,
|
|
8
|
+
SQL statements, Python workers, and optional Jupyter notebooks.
|
|
9
|
+
- Selected SQL queries, DDL, parameters, mutations, history, and snapshots.
|
|
10
|
+
- Bounded Python job DAGs, retries, cancellation, timeout, context isolation,
|
|
11
|
+
scoped secrets, widgets, task values, and retained output.
|
|
12
|
+
- Serverless and classic local compute profiles and simulated cluster/warehouse
|
|
13
|
+
lifecycle metadata. No cloud compute is allocated.
|
|
14
|
+
- Selected Databricks SDK 0.153.0, CLI 1.21.0, Terraform 1.16.6/provider 1.137.0,
|
|
15
|
+
and SQL connector 4.6.0/kernel 1.1.0 integrations against loopback services.
|
|
16
|
+
- Operation-journal recovery, workspace snapshot/restore, and ownership checks.
|
|
17
|
+
- Sparkless 4.15.2 with the selected nested-field and UTC Delta timestamp fixes.
|
|
18
|
+
- Separate base and notebook installations; Apache-2.0 project license with
|
|
19
|
+
retained dependency notices.
|
|
20
|
+
|
|
21
|
+
Compatibility is partial and bounded by the [capability registry](planning/capabilities.json).
|
|
22
|
+
See the [release review bundle](artifacts/releases/0.1.0/README.md) for exact
|
|
23
|
+
platform/Python qualification evidence and remaining publication prerequisites.
|
brickhouse-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|