Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/opencode/src/altimate/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export * from "./tools/altimate-core-column-lineage"
export * from "./tools/altimate-core-compare"
export * from "./tools/altimate-core-complete"
export * from "./tools/altimate-core-correct"
export * from "./tools/altimate-core-detect-join-candidates"
export * from "./tools/altimate-core-equivalence"
export * from "./tools/altimate-core-export-ddl"
export * from "./tools/altimate-core-extract-metadata"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ export function warehouseTypeToDialect(warehouseType: string): string {
/**
* Quote a SQL identifier using the correct delimiter for the dialect.
* Used both for partition column/value quoting and for plain-table-name
* wrapping inside CTEs (via `resolveTableSources`).
* wrapping inside CTEs (via `resolveTableSources`). Exported so other
* native handlers (e.g. `detect-join-candidates`) reuse the same
* dialect-aware logic instead of hardcoding ANSI quoting.
*/
function quoteIdentForDialect(identifier: string, dialect: string): string {
export function quoteIdentForDialect(identifier: string, dialect: string): string {
switch (dialect) {
case "mysql":
case "mariadb":
Expand Down
Loading
Loading