feat(iotdb): add Apache IoTDB support
This commit is contained in:
1 parent
2b2d789c2c
commit
a3e45cd721
21 files changed
+201
-3
No files matched your search
@@ -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",
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user