Test/hive dml (#155)
* feat: add showIndex parser rule * test: uncomment show index test cases * test: add unit tests about DML syntax to HiveSQL * test: add unit tests about export and import syntax to HiveSQL * refactor: recompile hive grammar * test: correct description of HiveSQL unit tests
This commit is contained in:
		@ -346,6 +346,7 @@ showStatement
 | 
			
		||||
    | KW_SHOW KW_CONF StringLiteral
 | 
			
		||||
    | KW_SHOW KW_RESOURCE (KW_PLAN rp_name=id_ | KW_PLANS)
 | 
			
		||||
    | KW_SHOW KW_DATACONNECTORS
 | 
			
		||||
    | KW_SHOW KW_FORMATTED? ( KW_INDEX | KW_INDEXES ) KW_ON tableName (from_in id_)?
 | 
			
		||||
    ;
 | 
			
		||||
 | 
			
		||||
showTablesFilterExpr
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
// Generated from /Users/xuxiaoqi/Documents/dt-sql-parser-copy/src/grammar/hive/HiveSqlLexer.g4 by ANTLR 4.9.0-SNAPSHOT
 | 
			
		||||
// Generated from /Users/hayden/Desktop/dt-works/dt-sql-parser/src/grammar/hive/HiveSqlLexer.g4 by ANTLR 4.9.0-SNAPSHOT
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import { ATN } from "antlr4ts/atn/ATN";
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -1,4 +1,4 @@
 | 
			
		||||
// Generated from /Users/xuxiaoqi/Documents/dt-sql-parser-copy/src/grammar/hive/HiveSqlParser.g4 by ANTLR 4.9.0-SNAPSHOT
 | 
			
		||||
// Generated from /Users/hayden/Desktop/dt-works/dt-sql-parser/src/grammar/hive/HiveSqlParser.g4 by ANTLR 4.9.0-SNAPSHOT
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener";
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
// Generated from /Users/xuxiaoqi/Documents/dt-sql-parser-copy/src/grammar/hive/HiveSqlParser.g4 by ANTLR 4.9.0-SNAPSHOT
 | 
			
		||||
// Generated from /Users/hayden/Desktop/dt-works/dt-sql-parser/src/grammar/hive/HiveSqlParser.g4 by ANTLR 4.9.0-SNAPSHOT
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor";
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user