MCPcopy Create free account
hub / github.com/PostHog/duckgres / lakeDDLPolicy

Function lakeDDLPolicy

transpiler/transform/ddl_test.go:12–14  ·  view source on GitHub ↗

lakeDDLPolicy mirrors the lake (DuckLake) DDL policy: silent strip/rewrite.

()

Source from the content-addressed store, hash-verified

10
11// lakeDDLPolicy mirrors the lake (DuckLake) DDL policy: silent strip/rewrite.
12func lakeDDLPolicy() backend.DDLPolicy {
13 return backend.ForName(backend.DuckLake).DDL()
14}
15
16func runDDL(t *testing.T, policy backend.DDLPolicy, sql string) (*Result, string) {
17 t.Helper()

Calls 2

ForNameFunction · 0.92
DDLMethod · 0.80

Tested by

no test coverage detected