Skip to content

Commit 89f77a7

Browse files
anandgupta42claude
andcommitted
fix: drop unsupported dialect arg from checkEquivalence call
`core.checkEquivalence` ([email protected]) is typed `(sqlA, sqlB, schema)` — 3 params, no dialect (unlike `columnLineage`/`compareQueries`). A 4th `dialect` arg was added to this call earlier on the branch (b5060e0), which the napi binding silently ignores at runtime but which fails `tsgo` typecheck (TS2554) and blocks the pre-push hook. Align with the binding contract and the sibling call site in `native/sql/register.ts`. Behavior-neutral. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent 842ebf1 commit 89f77a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/opencode/src/altimate/native/altimate-core.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export function registerAll(): void {
320320
register("altimate_core.equivalence", async (params) => {
321321
try {
322322
const schema = schemaOrEmpty(params.schema_path, params.schema_context)
323-
const raw = await core.checkEquivalence(params.sql1, params.sql2, schema, params.dialect)
323+
const raw = await core.checkEquivalence(params.sql1, params.sql2, schema)
324324
const data = toData(raw)
325325
return ok(true, data)
326326
} catch (e) {

0 commit comments

Comments
 (0)