fix(sql): quote case-sensitive Oracle identifiers in completion
This commit is contained in:
1 parent
5a59777246
commit
8518a5bd25
6 files changed
+101
-8
No files matched your search
@@ -711,7 +711,8 @@ describe("sqlCompletion table aliases", () => {
|
||||
});
|
||||
|
||||
const table = items.find((item) => item.label === "order_items" && item.type === "table");
|
||||
expect(table?.apply).toBe("order_items oi");
|
||||
// The lowercase table name must stay quoted (#9526); the generated alias is a new identifier and stays bare.
|
||||
expect(table?.apply).toBe('"order_items" oi');
|
||||
});
|
||||
|
||||
it("never adds generated aliases to Cassandra table completions", () => {
|
||||
|
||||
Reference in new issue
Block a user