feat(iotdb): add Apache IoTDB support

This commit is contained in:
t8y2 committed 2026-06-07 10:29:05 +08:00
1 parent 2b2d789c2c
commit a3e45cd721
21 files changed
+201 -3

No files matched your search

+12
View File
@@ -15,3 +15,15 @@ test("JDBC table identifiers use backticks only when quoting is needed", () => {
assert.equal(quoteTableIdentifier("jdbc", "daily orders"), "`daily orders`");
assert.equal(quoteTableIdentifier("jdbc", "daily`orders"), "`daily``orders`");
});
test("IoTDB table identifiers use tree paths without SQL quotes", () => {
assert.equal(quoteTableIdentifier("iotdb", "root.test.device2"), "root.test.device2");
assert.equal(
qualifiedTableName({ databaseType: "iotdb", schema: "root.test", tableName: "device2" }),
"root.test.device2",
);
assert.equal(
qualifiedTableName({ databaseType: "iotdb", schema: "root.test", tableName: "root.test.device2" }),
"root.test.device2",
);
});