support insert overwrite values syntax
This commit is contained in:
parent
7096f4be00
commit
8b082f3e85
File diff suppressed because one or more lines are too long
@ -267,6 +267,11 @@ InsertValuesStatement
|
|||||||
$4.owner = 'insert';
|
$4.owner = 'insert';
|
||||||
parser.addTablePrimary($4);
|
parser.addTablePrimary($4);
|
||||||
}
|
}
|
||||||
|
| '<hive>INSERT' '<hive>OVERWRITE' OptionalHiveTable SchemaQualifiedTableIdentifier OptionalPartitionSpec 'VALUES' InsertValuesList
|
||||||
|
{
|
||||||
|
$4.owner = 'insert';
|
||||||
|
parser.addTablePrimary($4);
|
||||||
|
}
|
||||||
| 'INSERT' 'INTO' OptionalTable SchemaQualifiedTableIdentifier 'VALUES' InsertValuesList
|
| 'INSERT' 'INTO' OptionalTable SchemaQualifiedTableIdentifier 'VALUES' InsertValuesList
|
||||||
{
|
{
|
||||||
$4.owner = 'insert';
|
$4.owner = 'insert';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dt-sql-parser",
|
"name": "dt-sql-parser",
|
||||||
"version": "1.1.9",
|
"version": "1.1.10",
|
||||||
"description": "sql,hive,parser ",
|
"description": "sql,hive,parser ",
|
||||||
"keywords":["hive","hql","sql","parser"],
|
"keywords":["hive","hql","sql","parser"],
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user