Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ondatrachecks
command
ondatrachecks is the project's custom go/analysis multichecker.
|
ondatrachecks is the project's custom go/analysis multichecker. |
|
ondatrasql
command
|
|
|
internal
|
|
|
backfill
Package backfill handles SQL hash calculation and backfill detection.
|
Package backfill handles SQL hash calculation and backfill detection. |
|
config
Package config handles configuration and paths.
|
Package config handles configuration and paths. |
|
dag
Package dag builds and sorts a directed acyclic graph of model dependencies.
|
Package dag builds and sorts a directed acyclic graph of model dependencies. |
|
duckast
Package duckast wraps DuckDB's json_serialize_sql output as a typed view over a raw map.
|
Package duckast wraps DuckDB's json_serialize_sql output as a typed view over a raw map. |
|
duckdb
Package duckdb provides an embedded DuckDB session using go-duckdb.
|
Package duckdb provides an embedded DuckDB session using go-duckdb. |
|
execute
Package execute provides batch query capabilities for run_type decisions.
|
Package execute provides batch query capabilities for run_type decisions. |
|
git
Package git provides utilities for extracting Git repository metadata.
|
Package git provides utilities for extracting Git repository metadata. |
|
libcall
Package libcall detects blueprint (lib function) references in SQL ASTs.
|
Package libcall detects blueprint (lib function) references in SQL ASTs. |
|
lineage
Package lineage provides column-level lineage tracking and visualization.
|
Package lineage provides column-level lineage tracking and visualization. |
|
lintcheck/committhreadcheck
Package committhreadcheck enforces that every materialize write transaction in internal/execute/materialize.go is built through the commitTxnSQL helper rather than a direct sql.MustFormat("execute/commit.sql", ...) call.
|
Package committhreadcheck enforces that every materialize write transaction in internal/execute/materialize.go is built through the commitTxnSQL helper rather than a direct sql.MustFormat("execute/commit.sql", ...) call. |
|
lintcheck/escapesqlcheck
Package escapesqlcheck enforces that values interpolated into quoted-string SQL contexts (ATTACH '<conn>', SET search_path = '<v>', and similar) are wrapped in EscapeSQL — never raw.
|
Package escapesqlcheck enforces that values interpolated into quoted-string SQL contexts (ATTACH '<conn>', SET search_path = '<v>', and similar) are wrapped in EscapeSQL — never raw. |
|
lintcheck/listenandservecheck
Package listenandservecheck flags net/http Server.Serve and Server.ListenAndServe call sites whose returned error isn't matched against http.ErrServerClosed.
|
Package listenandservecheck flags net/http Server.Serve and Server.ListenAndServe call sites whose returned error isn't matched against http.ErrServerClosed. |
|
lintcheck/pushauthcheck
Package pushauthcheck enforces that every call to a RunPush* method (RunPush, RunPushFinalize, RunPushPoll, ...) includes a call to httpConfigFromLib(...) among its arguments.
|
Package pushauthcheck enforces that every call to a RunPush* method (RunPush, RunPushFinalize, RunPushPoll, ...) includes a call to httpConfigFromLib(...) among its arguments. |
|
lintcheck/pushdeltacheck
Package pushdeltacheck enforces that internal/execute/push_delta.go is kind-agnostic — every supported kind goes through the same table_changes() query path.
|
Package pushdeltacheck enforces that internal/execute/push_delta.go is kind-agnostic — every supported kind goes through the same table_changes() query path. |
|
lintcheck/removedlibdictscheck
Package removedlibdictscheck flags top-level `TABLE = ...` or `SINK = ...` variable declarations in `internal/parser` and `internal/libregistry`.
|
Package removedlibdictscheck flags top-level `TABLE = ...` or `SINK = ...` variable declarations in `internal/parser` and `internal/libregistry`. |
|
lintcheck/schemaversioncheck
Package schemaversioncheck enforces the v0.31 contract that every machine-readable output type emitted by the CLI carries a schema_version field.
|
Package schemaversioncheck enforces the v0.31 contract that every machine-readable output type emitted by the CLI carries a schema_version field. |
|
lintcheck/sqlfmtcheck
Package sqlfmtcheck flags fmt.Sprintf calls that build SQL strings using the %v or %s verb on values of unknown provenance.
|
Package sqlfmtcheck flags fmt.Sprintf calls that build SQL strings using the %v or %s verb on values of unknown provenance. |
|
lintcheck/sscanfcheck
Package sscanfcheck flags fmt.Sscanf calls that parse integers or floats.
|
Package sscanfcheck flags fmt.Sscanf calls that parse integers or floats. |
|
lintcheck/strconvcheck
Package strconvcheck flags strconv parse calls (Atoi, ParseInt, ParseUint, ParseFloat, ParseBool) whose error return is discarded via the blank identifier.
|
Package strconvcheck flags strconv parse calls (Atoi, ParseInt, ParseUint, ParseFloat, ParseBool) whose error return is discarded via the blank identifier. |
|
lintcheck/syntheticcolcheck
Package syntheticcolcheck enforces the kind-conversion contract in internal/execute/materialize.go: any materialize function that issues an INSERT … BY NAME while also dealing with a kind's persisted *synthetic* columns must first ensure those columns exist on the target.
|
Package syntheticcolcheck enforces the kind-conversion contract in internal/execute/materialize.go: any materialize function that issues an INSERT … BY NAME while also dealing with a kind's persisted *synthetic* columns must first ensure those columns exist on the target. |
|
oauth2host
Package oauth2host implements the self-contained ("local") OAuth flow: browser consent and token refresh run directly against the provider using the user's own client_id/client_secret (from env), with the refresh token stored in the encrypted state catalog.
|
Package oauth2host implements the self-contained ("local") OAuth flow: browser consent and token refresh run directly against the provider using the user's own client_id/client_secret (from env), with the refresh token stored in the encrypted state catalog. |
|
output
Package output provides structured JSON output support.
|
Package output provides structured JSON output support. |
|
parser
Package parser handles SQL model file parsing.
|
Package parser handles SQL model file parsing. |
|
script
Package script provides a Starlark-based scripting runtime for data pipelines.
|
Package script provides a Starlark-based scripting runtime for data pipelines. |
|
sql
Package sql provides embedded SQL files for OndatraSQL operations.
|
Package sql provides embedded SQL files for OndatraSQL operations. |
|
state
Package state provides a local DuckDB-backed store for operational state — push queue, fetch staging buffer, OAuth tokens.
|
Package state provides a local DuckDB-backed store for operational state — push queue, fetch staging buffer, OAuth tokens. |
|
testutil
Package testutil provides shared test helpers.
|
Package testutil provides shared test helpers. |
|
validate
Package validate is the static validation engine behind the `validate` CLI command.
|
Package validate is the static validation engine behind the `validate` CLI command. |
Click to show internal directories.
Click to hide internal directories.