UNPKG

rhombic

Version:

SQL parsing, lineage extraction and manipulation

40 lines 873 B
import { TablePrimary } from "../.."; import { Lineage } from "../../Lineage"; export declare const TESTS_PATH: string; declare type TestCase = { sql: string | Array<string>; data?: Lineage<{ id: string; }, { id: string; tableId: string; }>; only?: boolean; debug?: boolean; mergedLeaves?: boolean; options?: { positionalRefsEnabled?: boolean; }; }; export declare const getTable: (table: TablePrimary) => { table: { id: string; data: { id: string; }; }; columns: { id: string; data: { id: string; tableId: string; }; }[]; } | undefined; export declare const getLineageTests: () => { file: string; name: string; testCase: TestCase; }[]; export {}; //# sourceMappingURL=getLineageTests.d.ts.map