add impala lifecycle

This commit is contained in:
HSunboy
2019-12-25 10:58:12 +08:00
parent 67b3f68113
commit a486270ab1
8 changed files with 1035 additions and 1034 deletions

View File

@ -48,7 +48,8 @@ describe('syntax test', () => {
WITH SERDEPROPERTIES ('field.delim'=',', 'line.delim'='\n', 'serialization.format'=',')
STORED AS TEXTFILE
LOCATION 'hdfs://kudu1'
TBLPROPERTIES ('last_modified_by'='anonymous', 'last_modified_time'='1577082098', 'skip.header.line.count'='1')`;
TBLPROPERTIES ('last_modified_by'='anonymous', 'last_modified_time'='1577082098', 'skip.header.line.count'='1')
lifecycle 888`;
const result = parser.parseSyntax([sql, ''], dtSqlParser.parser.sqlType.Impala);
expect(result).toBe(false);
})