Skip to content

Commit

Permalink
refactor: support table name start with digit in snowflake
Browse files Browse the repository at this point in the history
  • Loading branch information
taozhi8833998 committed Jun 20, 2024
1 parent e9889cd commit 6c94a30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/snowflake.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,13 @@ describe('snowflake', () => {
'CREATE OR REPLACE SCHEMA DELETETHISDB.PUBLIC'
]
},
{
title: 'table name start with digit',
sql: [
'CREATE TABLE 1dog (id INT);',
'CREATE TABLE "1dog" ("id" INT)'
]
},
]
SQL_LIST.forEach(sqlInfo => {
const { title, sql } = sqlInfo
Expand Down

0 comments on commit 6c94a30

Please sign in to comment.