feat(db2): enable data transfers and field lineage
This commit is contained in:
9 files changed
+436
-21
No files matched your search
@@ -11,6 +11,7 @@ import {
|
||||
supportsDatabaseNameCompletion,
|
||||
supportsDatabaseSchemaQualifier,
|
||||
supportsDatabaseSearch,
|
||||
supportsFieldLineage,
|
||||
supportsObjectBrowser,
|
||||
supportsObjectBrowserTreeNode,
|
||||
supportsQueryExecution,
|
||||
@@ -19,6 +20,7 @@ import {
|
||||
supportsSqlInListPaste,
|
||||
supportsTableImport,
|
||||
supportsTableVacuum,
|
||||
supportsTransfer,
|
||||
supportsTransaction,
|
||||
usesOracleStickyTransactionState,
|
||||
usesProvenReadOnlyStickyTransactionState,
|
||||
@@ -336,6 +338,20 @@ describe("supportsTableImport", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("supportsFieldLineage", () => {
|
||||
it("enables DB2 field lineage", () => {
|
||||
expect(supportsFieldLineage("db2")).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe("DB2 transfer and namespace capabilities", () => {
|
||||
it("enables table transfers without enabling database lifecycle operations", () => {
|
||||
expect(supportsTransfer("db2")).toBe(true);
|
||||
expect(connectionNamespaceCreationTarget({ db_type: "db2" })).toBeNull();
|
||||
expect(databaseNodeNamespaceCreationTarget({ db_type: "db2" }, { type: "database", database: "SAMPLE" })).toBe("schema");
|
||||
});
|
||||
});
|
||||
|
||||
describe("database property editing", () => {
|
||||
it("allows MySQL-compatible charset and collation edits on database nodes", () => {
|
||||
expect(editableDatabasePropertyGroups({ db_type: "mysql" }, { type: "database", database: "app" })).toEqual(["charsetCollation"]);
|
||||
|
||||
Reference in new issue
Block a user