|
|
expect(expectedToStrings(result.expected)).toEqual(['select', 'set', 'alter', 'insert', 'create', 'show', 'use', 'drop', 'from', 'truncate', 'update', 'with']);
|
|
expect(expectedToStrings(result.expected)).toEqual(['select', 'set', 'alter', 'insert', 'create', 'show', 'use', 'drop', 'from', 'truncate', 'update', 'with']);
|
|
|
it('should find errors for "select * from sample_07 where and\\n\\nselect unknownCol from sample_07;"', function () {
|
|
it('should find errors for "select * from sample_07 where and\\n\\nselect unknownCol from sample_07;"', function () {
|
|
|
var result = sqlSyntaxParser.parseSyntax('select * from sample_07 where and\n\nselect unknownCol from sample_07;', '', 'hive', false);
|
|
var result = sqlSyntaxParser.parseSyntax('select * from sample_07 where and\n\nselect unknownCol from sample_07;', '', 'hive', false);
|