fix: raise error in sqllab when using reserved column name (#9859)

This commit is contained in:
Ville Brofeldt
2020-06-10 16:32:43 +03:00
committed by GitHub
parent a8db78b069
commit 56397d75cc
3 changed files with 17 additions and 5 deletions

View File

@@ -315,6 +315,16 @@ export const queryWithBadColumns = {
name: 'CASE WHEN 1=1 THEN 1 ELSE 0 END',
type: 'STRING',
},
{
is_date: true,
name: '_TIMESTAMP',
type: 'TIMESTAMP',
},
{
is_date: true,
name: '__TIMESTAMP',
type: 'TIMESTAMP',
},
],
},
};