|
|
@@ -24,171 +24,83 @@ DataDefinition_EDIT
|
|
|
|
|
|
ShowStatement
|
|
|
: ShowColumnStatsStatement
|
|
|
- | ShowColumnsStatement
|
|
|
- | ShowCompactionsStatement
|
|
|
- | ShowConfStatement
|
|
|
| ShowCreateTableStatement
|
|
|
| ShowCurrentRolesStatement
|
|
|
| ShowDatabasesStatement
|
|
|
| ShowFilesStatement
|
|
|
| ShowFunctionsStatement
|
|
|
| ShowGrantStatement
|
|
|
- | ShowIndexStatement
|
|
|
- | ShowLocksStatement
|
|
|
| ShowPartitionsStatement
|
|
|
| ShowRoleStatement
|
|
|
| ShowRolesStatement
|
|
|
- | ShowTableStatement
|
|
|
+ | ShowTableStatsStatement
|
|
|
| ShowTablesStatement
|
|
|
- | ShowTblPropertiesStatement
|
|
|
- | ShowTransactionsStatement
|
|
|
- | ShowViewsStatement
|
|
|
- ;
|
|
|
-
|
|
|
-AnyShow
|
|
|
- : 'SHOW'
|
|
|
- | '<hive>SHOW'
|
|
|
;
|
|
|
|
|
|
ShowStatement_EDIT
|
|
|
- : AnyShow 'CURSOR'
|
|
|
+ : 'SHOW' 'CURSOR'
|
|
|
{
|
|
|
- if (parser.isHive()) {
|
|
|
- parser.suggestKeywords(['COLUMNS', 'COMPACTIONS', 'CONF', 'CREATE TABLE', 'CURRENT ROLES', 'DATABASES', 'FORMATTED', 'FUNCTIONS', 'GRANT', 'INDEX', 'INDEXES', 'LOCKS', 'PARTITIONS', 'PRINCIPALS', 'ROLE GRANT', 'ROLES', 'SCHEMAS', 'TABLE EXTENDED', 'TABLES', 'TBLPROPERTIES', 'TRANSACTIONS', 'VIEWS']);
|
|
|
- } else if (parser.isImpala()) {
|
|
|
- parser.suggestKeywords(['AGGREGATE FUNCTIONS', 'ANALYTIC FUNCTIONS', 'COLUMN STATS', 'CREATE TABLE', 'CURRENT ROLES', 'CREATE VIEW', 'DATABASES', 'FILES IN', 'FUNCTIONS', 'GRANT ROLE', 'GRANT USER', 'PARTITIONS', 'RANGE PARTITIONS', 'ROLE GRANT GROUP', 'ROLES', 'SCHEMAS', 'TABLE STATS', 'TABLES']);
|
|
|
- } else {
|
|
|
- parser.suggestKeywords(['COLUMNS', 'DATABASES', 'TABLES']);
|
|
|
- }
|
|
|
+ parser.suggestKeywords(['AGGREGATE FUNCTIONS', 'ANALYTIC FUNCTIONS', 'COLUMN STATS', 'CREATE TABLE', 'CURRENT ROLES', 'CREATE VIEW', 'DATABASES', 'FILES IN', 'FUNCTIONS', 'GRANT ROLE', 'GRANT USER', 'PARTITIONS', 'RANGE PARTITIONS', 'ROLE GRANT GROUP', 'ROLES', 'SCHEMAS', 'TABLE STATS', 'TABLES']);
|
|
|
}
|
|
|
- | AnyShow 'CURSOR' RegularOrBackTickedSchemaQualifiedName
|
|
|
+ | 'SHOW' 'CURSOR' RegularOrBackTickedSchemaQualifiedName
|
|
|
{
|
|
|
- // ROLES is considered a non-reserved keywords so we can't match it in ShowCurrentRolesStatement_EDIT
|
|
|
- if (!parser.isImpala() && $3.identifierChain && $3.identifierChain.length === 1 && $3.identifierChain[0].name.toLowerCase() === 'roles') {
|
|
|
- parser.suggestKeywords(['CURRENT']);
|
|
|
- parser.yy.locations.pop();
|
|
|
- } else {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- if (parser.isImpala()) {
|
|
|
- parser.suggestKeywords(['COLUMN STATS', 'CREATE TABLE', 'CREATE VIEW', 'FILES IN', 'PARTITIONS', 'RANGE PARTITIONS', 'TABLE STATS']);
|
|
|
- }
|
|
|
- }
|
|
|
+ parser.addTablePrimary($3);
|
|
|
+ parser.suggestKeywords(['COLUMN STATS', 'CREATE TABLE', 'CREATE VIEW', 'FILES IN', 'PARTITIONS', 'RANGE PARTITIONS', 'TABLE STATS']);
|
|
|
}
|
|
|
- | AnyShow 'CURSOR' LIKE SingleQuotedValue
|
|
|
+ | 'SHOW' 'CURSOR' 'LIKE' SingleQuotedValue
|
|
|
{
|
|
|
- if (parser.isImpala()) {
|
|
|
- parser.suggestKeywords(['AGGREGATE FUNCTIONS', 'ANALYTIC FUNCTIONS', 'DATABASES', 'FUNCTIONS', 'SCHEMAS', 'TABLES']);
|
|
|
- } else if (parser.isHive()) {
|
|
|
- parser.suggestKeywords(['DATABASES', 'SCHEMAS', 'TABLE EXTENDED']);
|
|
|
- }
|
|
|
+ parser.suggestKeywords(['AGGREGATE FUNCTIONS', 'ANALYTIC FUNCTIONS', 'DATABASES', 'FUNCTIONS', 'SCHEMAS', 'TABLES']);
|
|
|
}
|
|
|
| ShowColumnStatsStatement_EDIT
|
|
|
- | ShowColumnsStatement_EDIT
|
|
|
| ShowCreateTableStatement_EDIT
|
|
|
| ShowCurrentRolesStatement_EDIT
|
|
|
| ShowDatabasesStatement_EDIT
|
|
|
| ShowFilesStatement_EDIT
|
|
|
| ShowFunctionsStatement_EDIT
|
|
|
| ShowGrantStatement_EDIT
|
|
|
- | ShowIndexStatement_EDIT
|
|
|
- | ShowLocksStatement_EDIT
|
|
|
| ShowPartitionsStatement_EDIT
|
|
|
| ShowRoleStatement_EDIT
|
|
|
- | ShowTableStatement_EDIT
|
|
|
+ | ShowTableStatsStatement_EDIT
|
|
|
| ShowTablesStatement_EDIT
|
|
|
- | ShowTblPropertiesStatement_EDIT
|
|
|
- | ShowViewsStatement_EDIT
|
|
|
;
|
|
|
|
|
|
ShowColumnStatsStatement
|
|
|
- : AnyShow '<impala>COLUMN' '<impala>STATS' RegularOrBackTickedSchemaQualifiedName
|
|
|
+ : 'SHOW' 'COLUMN' 'STATS' RegularOrBackTickedSchemaQualifiedName
|
|
|
{
|
|
|
parser.addTablePrimary($4);
|
|
|
}
|
|
|
;
|
|
|
|
|
|
ShowColumnStatsStatement_EDIT
|
|
|
- : AnyShow '<impala>COLUMN' 'CURSOR'
|
|
|
+ : 'SHOW' 'COLUMN' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['STATS']);
|
|
|
}
|
|
|
- | AnyShow '<impala>COLUMN' '<impala>STATS' 'CURSOR'
|
|
|
+ | 'SHOW' 'COLUMN' 'STATS' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestTables();
|
|
|
parser.suggestDatabases({
|
|
|
appendDot: true
|
|
|
});
|
|
|
}
|
|
|
- | AnyShow '<impala>COLUMN' '<impala>STATS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
- ;
|
|
|
-
|
|
|
-ShowColumnsStatement
|
|
|
- : AnyShow '<hive>COLUMNS' AnyFromOrIn RegularOrBacktickedIdentifier
|
|
|
- | AnyShow '<hive>COLUMNS' AnyFromOrIn RegularOrBacktickedIdentifier AnyFromOrIn RegularOrBacktickedIdentifier
|
|
|
- ;
|
|
|
-
|
|
|
-ShowColumnsStatement_EDIT
|
|
|
- : AnyShow '<hive>COLUMNS' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['FROM', 'IN']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>COLUMNS' 'CURSOR' RegularOrBacktickedIdentifier
|
|
|
- {
|
|
|
- parser.suggestKeywords(['FROM', 'IN']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>COLUMNS' AnyFromOrIn 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestTables();
|
|
|
- }
|
|
|
- | AnyShow '<hive>COLUMNS' AnyFromOrIn 'CURSOR' AnyFromOrIn
|
|
|
- {
|
|
|
- parser.suggestTables();
|
|
|
- }
|
|
|
- | AnyShow '<hive>COLUMNS' AnyFromOrIn 'CURSOR' AnyFromOrIn RegularOrBacktickedIdentifier
|
|
|
- {
|
|
|
- parser.suggestTables();
|
|
|
- }
|
|
|
- | AnyShow '<hive>COLUMNS' AnyFromOrIn RegularOrBacktickedIdentifier 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['FROM', 'IN']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>COLUMNS' AnyFromOrIn RegularOrBacktickedIdentifier 'CURSOR' RegularOrBacktickedIdentifier
|
|
|
- {
|
|
|
- parser.suggestKeywords(['FROM', 'IN']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>COLUMNS' AnyFromOrIn RegularOrBacktickedIdentifier AnyFromOrIn 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestDatabases();
|
|
|
- }
|
|
|
- ;
|
|
|
-
|
|
|
-ShowCompactionsStatement
|
|
|
- : AnyShow '<hive>COMPACTIONS'
|
|
|
- ;
|
|
|
-
|
|
|
-ShowConfStatement
|
|
|
- : AnyShow '<hive>CONF' ConfigurationName
|
|
|
+ | 'SHOW' 'COLUMN' 'STATS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
;
|
|
|
|
|
|
ShowCreateTableStatement
|
|
|
- : AnyShow HiveOrImpalaCreate AnyTableOrView RegularOrBackTickedSchemaQualifiedName
|
|
|
+ : 'SHOW' 'CREATE' AnyTableOrView RegularOrBackTickedSchemaQualifiedName
|
|
|
{
|
|
|
parser.addTablePrimary($4);
|
|
|
}
|
|
|
;
|
|
|
|
|
|
ShowCreateTableStatement_EDIT
|
|
|
- : AnyShow HiveOrImpalaCreate 'CURSOR'
|
|
|
+ : 'SHOW' 'CREATE' 'CURSOR'
|
|
|
{
|
|
|
- if (parser.isImpala()) {
|
|
|
- parser.suggestKeywords(['TABLE', 'VIEW']);
|
|
|
- } else {
|
|
|
- parser.suggestKeywords(['TABLE']);
|
|
|
- }
|
|
|
+ parser.suggestKeywords(['TABLE', 'VIEW']);
|
|
|
}
|
|
|
- | AnyShow HiveOrImpalaCreate AnyTableOrView 'CURSOR'
|
|
|
+ | 'SHOW' 'CREATE' AnyTableOrView 'CURSOR'
|
|
|
{
|
|
|
- if ($3.isView && parser.isImpala()) {
|
|
|
+ if ($3.isView) {
|
|
|
parser.suggestTables({ onlyViews: true });
|
|
|
} else {
|
|
|
parser.suggestTables();
|
|
|
@@ -197,89 +109,80 @@ ShowCreateTableStatement_EDIT
|
|
|
appendDot: true
|
|
|
});
|
|
|
}
|
|
|
- | AnyShow HiveOrImpalaCreate AnyTableOrView RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
+ | 'SHOW' 'CREATE' AnyTableOrView RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
{
|
|
|
if (parser.yy.result.suggestTables && $3.isView) {
|
|
|
parser.yy.result.suggestTables.onlyViews = true;
|
|
|
}
|
|
|
}
|
|
|
- | AnyShow HiveOrImpalaCreate 'CURSOR' RegularOrBackTickedSchemaQualifiedName
|
|
|
+ | 'SHOW' 'CREATE' 'CURSOR' RegularOrBackTickedSchemaQualifiedName
|
|
|
{
|
|
|
parser.addTablePrimary($4);
|
|
|
- if (parser.isImpala()) {
|
|
|
- parser.suggestKeywords(['TABLE', 'VIEW']);
|
|
|
- } else {
|
|
|
- parser.suggestKeywords(['TABLE']);
|
|
|
- }
|
|
|
+ parser.suggestKeywords(['TABLE', 'VIEW']);
|
|
|
}
|
|
|
;
|
|
|
|
|
|
AnyTableOrView
|
|
|
- : AnyTable
|
|
|
+ : 'TABLE'
|
|
|
| 'VIEW' --> { isView: true }
|
|
|
;
|
|
|
|
|
|
ShowCurrentRolesStatement
|
|
|
- : AnyShow '<hive>CURRENT' '<hive>ROLES'
|
|
|
- | AnyShow '<impala>CURRENT' '<impala>ROLES'
|
|
|
+ : 'SHOW' 'CURRENT' 'ROLES'
|
|
|
;
|
|
|
|
|
|
ShowCurrentRolesStatement_EDIT
|
|
|
- : AnyShow '<hive>CURRENT' 'CURSOR'
|
|
|
+ : 'SHOW' 'CURRENT' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords([ 'ROLES' ]);
|
|
|
}
|
|
|
- | AnyShow '<impala>CURRENT' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords([ 'ROLES' ]);
|
|
|
- }
|
|
|
- | AnyShow 'CURSOR' '<impala>ROLES'
|
|
|
+ | 'SHOW' 'CURSOR' 'ROLES'
|
|
|
{
|
|
|
parser.suggestKeywords([ 'CURRENT' ]);
|
|
|
}
|
|
|
;
|
|
|
|
|
|
ShowDatabasesStatement
|
|
|
- : AnyShow HiveOrImpalaDatabasesOrSchemas 'LIKE' SingleQuotedValue
|
|
|
- | AnyShow '<impala>DATABASES' SingleQuotedValue
|
|
|
+ : 'SHOW' DatabasesOrSchemas 'LIKE' SingleQuotedValue
|
|
|
+ | 'SHOW' 'DATABASES' SingleQuotedValue
|
|
|
;
|
|
|
|
|
|
ShowDatabasesStatement_EDIT
|
|
|
- : AnyShow HiveOrImpalaDatabasesOrSchemas 'CURSOR'
|
|
|
+ : 'SHOW' DatabasesOrSchemas 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['LIKE']);
|
|
|
}
|
|
|
;
|
|
|
|
|
|
ShowFilesStatement
|
|
|
- : AnyShow '<impala>FILES' 'IN' RegularOrBackTickedSchemaQualifiedName OptionalPartitionSpec
|
|
|
+ : 'SHOW' 'FILES' 'IN' RegularOrBackTickedSchemaQualifiedName OptionalPartitionSpec
|
|
|
{
|
|
|
parser.addTablePrimary($4);
|
|
|
}
|
|
|
;
|
|
|
|
|
|
ShowFilesStatement_EDIT
|
|
|
- : AnyShow '<impala>FILES' 'CURSOR'
|
|
|
+ : 'SHOW' 'FILES' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['IN']);
|
|
|
}
|
|
|
- | AnyShow '<impala>FILES' 'IN' 'CURSOR'
|
|
|
+ | 'SHOW' 'FILES' 'IN' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestTables();
|
|
|
parser.suggestDatabases({
|
|
|
appendDot: true
|
|
|
});
|
|
|
}
|
|
|
- | AnyShow '<impala>FILES' 'IN' RegularOrBackTickedSchemaQualifiedName_EDIT OptionalPartitionSpec
|
|
|
- | AnyShow '<impala>FILES' 'IN' RegularOrBackTickedSchemaQualifiedName OptionalPartitionSpec 'CURSOR'
|
|
|
+ | 'SHOW' 'FILES' 'IN' RegularOrBackTickedSchemaQualifiedName_EDIT OptionalPartitionSpec
|
|
|
+ | 'SHOW' 'FILES' 'IN' RegularOrBackTickedSchemaQualifiedName OptionalPartitionSpec 'CURSOR'
|
|
|
{
|
|
|
parser.addTablePrimary($4);
|
|
|
if (!$5) {
|
|
|
parser.suggestKeywords(['PARTITION']);
|
|
|
}
|
|
|
}
|
|
|
- | AnyShow '<impala>FILES' 'IN' RegularOrBackTickedSchemaQualifiedName OptionalPartitionSpec_EDIT
|
|
|
- | AnyShow '<impala>FILES' 'CURSOR' RegularOrBackTickedSchemaQualifiedName OptionalPartitionSpec
|
|
|
+ | 'SHOW' 'FILES' 'IN' RegularOrBackTickedSchemaQualifiedName OptionalPartitionSpec_EDIT
|
|
|
+ | 'SHOW' 'FILES' 'CURSOR' RegularOrBackTickedSchemaQualifiedName OptionalPartitionSpec
|
|
|
{
|
|
|
parser.addTablePrimary($4);
|
|
|
parser.suggestKeywords(['IN']);
|
|
|
@@ -287,22 +190,20 @@ ShowFilesStatement_EDIT
|
|
|
;
|
|
|
|
|
|
ShowFunctionsStatement
|
|
|
- : AnyShow '<hive>FUNCTIONS'
|
|
|
- | AnyShow '<hive>FUNCTIONS' DoubleQuotedValue
|
|
|
- | AnyShow OptionalAggregateOrAnalytic '<impala>FUNCTIONS' OptionalInDatabase
|
|
|
- | AnyShow OptionalAggregateOrAnalytic '<impala>FUNCTIONS' OptionalInDatabase 'LIKE' QuotedValue
|
|
|
+ : 'SHOW' OptionalAggregateOrAnalytic 'FUNCTIONS' OptionalInDatabase
|
|
|
+ | 'SHOW' OptionalAggregateOrAnalytic 'FUNCTIONS' OptionalInDatabase 'LIKE' QuotedValue
|
|
|
;
|
|
|
|
|
|
ShowFunctionsStatement_EDIT
|
|
|
- : AnyShow AggregateOrAnalytic 'CURSOR'
|
|
|
+ : 'SHOW' AggregateOrAnalytic 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['FUNCTIONS']);
|
|
|
}
|
|
|
- | AnyShow 'CURSOR' '<impala>FUNCTIONS' OptionalInDatabase
|
|
|
+ | 'SHOW' 'CURSOR' 'FUNCTIONS' OptionalInDatabase
|
|
|
{
|
|
|
parser.suggestKeywords(['AGGREGATE', 'ANALYTICAL']);
|
|
|
}
|
|
|
- | AnyShow OptionalAggregateOrAnalytic '<impala>FUNCTIONS' OptionalInDatabase 'CURSOR'
|
|
|
+ | 'SHOW' OptionalAggregateOrAnalytic 'FUNCTIONS' OptionalInDatabase 'CURSOR'
|
|
|
{
|
|
|
if (!$4) {
|
|
|
parser.suggestKeywords(['IN', 'LIKE']);
|
|
|
@@ -310,15 +211,15 @@ ShowFunctionsStatement_EDIT
|
|
|
parser.suggestKeywords(['LIKE']);
|
|
|
}
|
|
|
}
|
|
|
- | AnyShow AggregateOrAnalytic 'CURSOR' OptionalInDatabase 'LIKE' QuotedValue
|
|
|
+ | 'SHOW' AggregateOrAnalytic 'CURSOR' OptionalInDatabase 'LIKE' QuotedValue
|
|
|
{
|
|
|
parser.suggestKeywords(['FUNCTIONS']);
|
|
|
}
|
|
|
- | AnyShow 'CURSOR' '<impala>FUNCTIONS' OptionalInDatabase 'LIKE' QuotedValue
|
|
|
+ | 'SHOW' 'CURSOR' 'FUNCTIONS' OptionalInDatabase 'LIKE' QuotedValue
|
|
|
{
|
|
|
parser.suggestKeywords(['AGGREGATE', 'ANALYTICAL']);
|
|
|
}
|
|
|
- | AnyShow OptionalAggregateOrAnalytic '<impala>FUNCTIONS' OptionalInDatabase 'CURSOR' QuotedValue
|
|
|
+ | 'SHOW' OptionalAggregateOrAnalytic 'FUNCTIONS' OptionalInDatabase 'CURSOR' QuotedValue
|
|
|
{
|
|
|
if (!$4) {
|
|
|
parser.suggestKeywords([{ value: 'IN', weight: 2 }, { value: 'LIKE', weight: 1 }]);
|
|
|
@@ -329,67 +230,43 @@ ShowFunctionsStatement_EDIT
|
|
|
;
|
|
|
|
|
|
ShowGrantStatement
|
|
|
- : AnyShow '<hive>GRANT' OptionalPrincipalName
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName 'ON' '<hive>ALL'
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName 'ON' SchemaQualifiedTableIdentifier
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName 'ON' AnyTable SchemaQualifiedTableIdentifier
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'DATABASE' RegularOrBacktickedIdentifier
|
|
|
+ : 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'DATABASE' RegularOrBacktickedIdentifier
|
|
|
{
|
|
|
parser.addDatabaseLocation(@7, [ { name: $7 } ]);
|
|
|
}
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' '<impala>SERVER'
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' '<impala>TABLE' SchemaQualifiedTableIdentifier
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' '<impala>URI' RegularOrBacktickedIdentifier
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'SERVER'
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'TABLE' SchemaQualifiedTableIdentifier
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'URI' RegularOrBacktickedIdentifier
|
|
|
;
|
|
|
|
|
|
ShowGrantStatement_EDIT
|
|
|
- : AnyShow '<hive>GRANT' OptionalPrincipalName_EDIT
|
|
|
- {
|
|
|
- parser.suggestKeywords(['ON']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName_EDIT 'ON' '<hive>ALL'
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName 'ON' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['ALL', 'TABLE']);
|
|
|
- parser.suggestTables();
|
|
|
- }
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName 'ON' SchemaQualifiedTableIdentifier_EDIT
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName 'ON' AnyTable 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestTables();
|
|
|
- }
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName 'ON' 'CURSOR' SchemaQualifiedTableIdentifier
|
|
|
- {
|
|
|
- parser.suggestKeywords(['TABLE']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>GRANT' OptionalPrincipalName 'ON' 'CURSOR' SchemaQualifiedTableIdentifier_EDIT
|
|
|
- | AnyShow '<impala>GRANT' 'CURSOR'
|
|
|
+ : 'SHOW' 'GRANT' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['ROLE', 'USER']);
|
|
|
}
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser 'CURSOR'
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'CURSOR'
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser 'CURSOR'
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['ON DATABASE', 'ON SERVER', 'ON TABLE', 'ON URI']);
|
|
|
}
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'CURSOR'
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['DATABASE', 'SERVER', 'TABLE', 'URI']);
|
|
|
}
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'DATABASE' 'CURSOR'
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'DATABASE' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestDatabases();
|
|
|
}
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' '<impala>TABLE' 'CURSOR'
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'TABLE' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestDatabases({
|
|
|
appendDot: true
|
|
|
});
|
|
|
parser.suggestTables();
|
|
|
}
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' '<impala>TABLE' SchemaQualifiedTableIdentifier_EDIT
|
|
|
- | AnyShow '<impala>GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' '<impala>URI' 'CURSOR'
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'TABLE' SchemaQualifiedTableIdentifier_EDIT
|
|
|
+ | 'SHOW' 'GRANT' RoleOrUser RegularOrBacktickedIdentifier 'ON' 'URI' 'CURSOR'
|
|
|
;
|
|
|
|
|
|
OptionalPrincipalName
|
|
|
@@ -402,262 +279,89 @@ OptionalPrincipalName_EDIT
|
|
|
| RegularIdentifier 'CURSOR'
|
|
|
;
|
|
|
|
|
|
-ShowIndexStatement
|
|
|
- : AnyShow OptionallyFormattedIndex 'ON' RegularOrBacktickedIdentifier
|
|
|
- | AnyShow OptionallyFormattedIndex 'ON' RegularOrBacktickedIdentifier AnyFromOrIn RegularOrBacktickedIdentifier
|
|
|
- ;
|
|
|
-
|
|
|
-ShowIndexStatement_EDIT
|
|
|
- : AnyShow OptionallyFormattedIndex
|
|
|
- | AnyShow OptionallyFormattedIndex_EDIT
|
|
|
- | AnyShow OptionallyFormattedIndex_EDIT 'ON' RegularOrBacktickedIdentifier
|
|
|
- | AnyShow OptionallyFormattedIndex_EDIT 'ON' RegularOrBacktickedIdentifier AnyFromOrIn RegularOrBacktickedIdentifier
|
|
|
- | AnyShow OptionallyFormattedIndex 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['ON']);
|
|
|
- }
|
|
|
- | AnyShow OptionallyFormattedIndex 'ON' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestTables();
|
|
|
- }
|
|
|
- | AnyShow OptionallyFormattedIndex 'CURSOR' RegularOrBacktickedIdentifier
|
|
|
- {
|
|
|
- parser.suggestKeywords(['ON']);
|
|
|
- }
|
|
|
- | AnyShow OptionallyFormattedIndex 'ON' RegularOrBacktickedIdentifier 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['FROM', 'IN']);
|
|
|
- }
|
|
|
- | AnyShow OptionallyFormattedIndex 'ON' RegularOrBacktickedIdentifier 'CURSOR' RegularOrBacktickedIdentifier
|
|
|
- {
|
|
|
- parser.suggestKeywords(['FROM', 'IN']);
|
|
|
- }
|
|
|
- | AnyShow OptionallyFormattedIndex 'ON' RegularOrBacktickedIdentifier AnyFromOrIn 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestDatabases();
|
|
|
- }
|
|
|
- | AnyShow OptionallyFormattedIndex 'ON' 'CURSOR' AnyFromOrIn RegularOrBacktickedIdentifier
|
|
|
- {
|
|
|
- parser.suggestTables({identifierChain: [{name: $6}]});
|
|
|
- }
|
|
|
- ;
|
|
|
-
|
|
|
-ShowLocksStatement
|
|
|
- : AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- }
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName '<hive>EXTENDED'
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- }
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName PartitionSpec
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- }
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName PartitionSpec '<hive>EXTENDED'
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- }
|
|
|
- | AnyShow '<hive>LOCKS' DatabaseOrSchema RegularOrBacktickedIdentifier
|
|
|
- ;
|
|
|
-
|
|
|
-ShowLocksStatement_EDIT
|
|
|
- : AnyShow '<hive>LOCKS' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestTables();
|
|
|
- parser.suggestDatabases({
|
|
|
- appendDot: true
|
|
|
- });
|
|
|
- parser.suggestKeywords(['DATABASE', 'SCHEMA']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName 'CURSOR'
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- parser.suggestKeywords(['EXTENDED', 'PARTITION']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName_EDIT '<hive>EXTENDED'
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName_EDIT PartitionSpec
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName PartitionSpec 'CURSOR'
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- parser.suggestKeywords(['EXTENDED']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>LOCKS' RegularOrBackTickedSchemaQualifiedName_EDIT PartitionSpec '<hive>EXTENDED'
|
|
|
- | AnyShow '<hive>LOCKS' DatabaseOrSchema 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestDatabases();
|
|
|
- }
|
|
|
- ;
|
|
|
-
|
|
|
ShowPartitionsStatement
|
|
|
- : AnyShow '<hive>PARTITIONS' RegularOrBackTickedSchemaQualifiedName
|
|
|
+ : 'SHOW' 'PARTITIONS' RegularOrBackTickedSchemaQualifiedName
|
|
|
{
|
|
|
parser.addTablePrimary($3);
|
|
|
}
|
|
|
- | AnyShow '<hive>PARTITIONS' RegularOrBackTickedSchemaQualifiedName PartitionSpec
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- }
|
|
|
- | AnyShow '<impala>PARTITIONS' RegularOrBackTickedSchemaQualifiedName
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- }
|
|
|
- | AnyShow '<impala>RANGE' '<impala>PARTITIONS' RegularOrBackTickedSchemaQualifiedName
|
|
|
+ | 'SHOW' 'RANGE' 'PARTITIONS' RegularOrBackTickedSchemaQualifiedName
|
|
|
{
|
|
|
parser.addTablePrimary($3);
|
|
|
}
|
|
|
;
|
|
|
|
|
|
ShowPartitionsStatement_EDIT
|
|
|
- : AnyShow '<hive>PARTITIONS' 'CURSOR'
|
|
|
+ : 'SHOW' 'PARTITIONS' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestTables();
|
|
|
parser.suggestDatabases({
|
|
|
appendDot: true
|
|
|
});
|
|
|
}
|
|
|
- | AnyShow '<hive>PARTITIONS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
- | AnyShow '<hive>PARTITIONS' RegularOrBackTickedSchemaQualifiedName 'CURSOR'
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- parser.suggestKeywords(['PARTITION']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>PARTITIONS' RegularOrBackTickedSchemaQualifiedName_EDIT PartitionSpec
|
|
|
- | AnyShow '<impala>PARTITIONS' 'CURSOR'
|
|
|
+ | 'SHOW' 'PARTITIONS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
+ | 'SHOW' 'RANGE' 'PARTITIONS' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestTables();
|
|
|
parser.suggestDatabases({
|
|
|
appendDot: true
|
|
|
});
|
|
|
}
|
|
|
- | AnyShow '<impala>PARTITIONS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
- | AnyShow '<impala>RANGE' '<impala>PARTITIONS' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestTables();
|
|
|
- parser.suggestDatabases({
|
|
|
- appendDot: true
|
|
|
- });
|
|
|
- }
|
|
|
- | AnyShow '<impala>RANGE' '<impala>PARTITIONS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
+ | 'SHOW' 'RANGE' 'PARTITIONS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
;
|
|
|
|
|
|
ShowRoleStatement
|
|
|
- : AnyShow '<hive>ROLE' '<hive>GRANT' HiveRoleOrUser RegularIdentifier
|
|
|
- | AnyShow '<impala>ROLE' '<impala>GRANT' '<impala>GROUP' RegularIdentifier
|
|
|
+ : 'SHOW' 'ROLE' 'GRANT' 'GROUP' RegularIdentifier
|
|
|
;
|
|
|
|
|
|
ShowRoleStatement_EDIT
|
|
|
- : AnyShow '<hive>ROLE' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['GRANT']);
|
|
|
- }
|
|
|
- | AnyShow '<impala>ROLE' 'CURSOR'
|
|
|
+ : 'SHOW' 'ROLE' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['GRANT']);
|
|
|
}
|
|
|
- | AnyShow '<hive>ROLE' 'CURSOR' HiveRoleOrUser RegularIdentifier
|
|
|
- {
|
|
|
- parser.suggestKeywords(['GRANT']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>ROLE' '<hive>GRANT' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['ROLE', 'USER']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>ROLE' '<hive>GRANT' 'CURSOR' RegularIdentifier
|
|
|
- {
|
|
|
- parser.suggestKeywords(['ROLE', 'USER']);
|
|
|
- }
|
|
|
- | AnyShow '<impala>ROLE' '<impala>GRANT' 'CURSOR'
|
|
|
+ | 'SHOW' 'ROLE' 'GRANT' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['GROUP']);
|
|
|
}
|
|
|
- | AnyShow '<impala>ROLE' '<impala>GRANT' 'CURSOR' RegularIdentifier
|
|
|
+ | 'SHOW' 'ROLE' 'GRANT' 'CURSOR' RegularIdentifier
|
|
|
{
|
|
|
parser.suggestKeywords(['GROUP']);
|
|
|
}
|
|
|
;
|
|
|
|
|
|
ShowRolesStatement
|
|
|
- : AnyShow '<impala>ROLES'
|
|
|
- | AnyShow '<hive>ROLES'
|
|
|
- ;
|
|
|
-
|
|
|
-ShowTableStatement
|
|
|
- : AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase 'LIKE' SingleQuotedValue
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase 'LIKE' SingleQuotedValue PartitionSpec
|
|
|
+ : 'SHOW' 'ROLES'
|
|
|
;
|
|
|
|
|
|
-ShowTableStatement_EDIT
|
|
|
- : AnyShow '<hive>TABLE' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['EXTENDED']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase_EDIT
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase 'CURSOR'
|
|
|
- {
|
|
|
- if ($4) {
|
|
|
- parser.suggestKeywords(['LIKE']);
|
|
|
- } else {
|
|
|
- parser.suggestKeywords(['FROM', 'IN', 'LIKE']);
|
|
|
- }
|
|
|
- }
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase_EDIT 'LIKE' SingleQuotedValue
|
|
|
- | AnyShow '<hive>TABLE' 'CURSOR' OptionalFromDatabase 'LIKE' SingleQuotedValue
|
|
|
- {
|
|
|
- if (parser.isHive()) {
|
|
|
- parser.suggestKeywords(['EXTENDED']);
|
|
|
- }
|
|
|
- }
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase 'CURSOR' SingleQuotedValue
|
|
|
- {
|
|
|
- parser.suggestKeywords(['LIKE']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase 'LIKE' SingleQuotedValue 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestKeywords(['PARTITION']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase_EDIT 'LIKE' SingleQuotedValue PartitionSpec
|
|
|
- | AnyShow '<hive>TABLE' 'CURSOR' OptionalFromDatabase 'LIKE' SingleQuotedValue PartitionSpec
|
|
|
- {
|
|
|
- parser.suggestKeywords(['EXTENDED']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase 'CURSOR' SingleQuotedValue PartitionSpec
|
|
|
+ShowTableStatsStatement
|
|
|
+ : 'SHOW' 'TABLE' 'STATS' RegularOrBackTickedSchemaQualifiedName
|
|
|
{
|
|
|
- parser.suggestKeywords(['LIKE']);
|
|
|
- }
|
|
|
- | AnyShow '<hive>TABLE' '<hive>EXTENDED' OptionalFromDatabase 'LIKE' SingleQuotedValue 'CURSOR' PartitionSpecList
|
|
|
- {
|
|
|
- parser.suggestKeywords(['PARTITION']);
|
|
|
+ parser.addTablePrimary($4);
|
|
|
}
|
|
|
- | AnyShow '<impala>TABLE' 'CURSOR'
|
|
|
+ ;
|
|
|
+
|
|
|
+ShowTableStatsStatement_EDIT
|
|
|
+ : 'SHOW' 'TABLE' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestKeywords(['STATS']);
|
|
|
}
|
|
|
- | AnyShow '<impala>TABLE' '<impala>STATS' 'CURSOR'
|
|
|
+ | 'SHOW' 'TABLE' 'STATS' 'CURSOR'
|
|
|
{
|
|
|
parser.suggestTables();
|
|
|
parser.suggestDatabases({
|
|
|
appendDot: true
|
|
|
});
|
|
|
}
|
|
|
- | AnyShow '<impala>TABLE' '<impala>STATS' RegularOrBackTickedSchemaQualifiedName
|
|
|
- {
|
|
|
- parser.addTablePrimary($4);
|
|
|
- }
|
|
|
- | AnyShow '<impala>TABLE' '<impala>STATS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
+ | 'SHOW' 'TABLE' 'STATS' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
;
|
|
|
|
|
|
ShowTablesStatement
|
|
|
- : AnyShow HiveOrImpalaTables OptionalInDatabase
|
|
|
- | AnyShow HiveOrImpalaTables OptionalInDatabase SingleQuotedValue
|
|
|
- | AnyShow HiveOrImpalaTables OptionalInDatabase 'LIKE' SingleQuotedValue
|
|
|
+ : 'SHOW' 'TABLES' OptionalInDatabase
|
|
|
+ | 'SHOW' 'TABLES' OptionalInDatabase SingleQuotedValue
|
|
|
+ | 'SHOW' 'TABLES' OptionalInDatabase 'LIKE' SingleQuotedValue
|
|
|
;
|
|
|
|
|
|
ShowTablesStatement_EDIT
|
|
|
- : AnyShow HiveOrImpalaTables OptionalInDatabase 'CURSOR'
|
|
|
+ : 'SHOW' 'TABLES' OptionalInDatabase 'CURSOR'
|
|
|
{
|
|
|
if (!$3) {
|
|
|
parser.suggestKeywords(['IN', 'LIKE']);
|
|
|
@@ -666,76 +370,3 @@ ShowTablesStatement_EDIT
|
|
|
}
|
|
|
}
|
|
|
;
|
|
|
-
|
|
|
-ShowTblPropertiesStatement
|
|
|
- : AnyShow '<hive>TBLPROPERTIES' RegularOrBackTickedSchemaQualifiedName
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- }
|
|
|
- | AnyShow '<hive>TBLPROPERTIES' RegularOrBackTickedSchemaQualifiedName '(' QuotedValue ')'
|
|
|
- {
|
|
|
- parser.addTablePrimary($3);
|
|
|
- }
|
|
|
- ;
|
|
|
-
|
|
|
-ShowTblPropertiesStatement_EDIT
|
|
|
- : AnyShow '<hive>TBLPROPERTIES' RegularOrBackTickedSchemaQualifiedName_EDIT
|
|
|
- | AnyShow '<hive>TBLPROPERTIES' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestTables();
|
|
|
- parser.suggestDatabases({ prependDot: true });
|
|
|
- }
|
|
|
- ;
|
|
|
-
|
|
|
-ShowTransactionsStatement
|
|
|
- : AnyShow '<hive>TRANSACTIONS'
|
|
|
- ;
|
|
|
-
|
|
|
-ShowViewsStatement
|
|
|
- : AnyShow '<hive>VIEWS' OptionalInOrFromDatabase OptionalLike
|
|
|
- ;
|
|
|
-
|
|
|
-ShowViewsStatement_EDIT
|
|
|
- : AnyShow '<hive>VIEWS' OptionalInOrFromDatabase OptionalLike 'CURSOR'
|
|
|
- {
|
|
|
- if (!$4 && !$3) {
|
|
|
- parser.suggestKeywords([{ value: 'IN', weight: 2 }, { value: 'FROM', weight: 2 }, { value: 'LIKE', weight: 1 }]);
|
|
|
- } else if (!$4) {
|
|
|
- parser.suggestKeywords(['LIKE']);
|
|
|
- }
|
|
|
- }
|
|
|
- | AnyShow '<hive>VIEWS' InOrFromDatabase_EDIT OptionalLike
|
|
|
- | AnyShow '<hive>VIEWS' OptionalInOrFromDatabase Like_EDIT
|
|
|
- ;
|
|
|
-
|
|
|
-OptionalInOrFromDatabase
|
|
|
- :
|
|
|
- | 'IN' RegularOrBacktickedIdentifier
|
|
|
- {
|
|
|
- parser.addDatabaseLocation(@2, [ { name: $2 } ]);
|
|
|
- }
|
|
|
- | 'FROM' RegularOrBacktickedIdentifier
|
|
|
- {
|
|
|
- parser.addDatabaseLocation(@2, [ { name: $2 } ]);
|
|
|
- }
|
|
|
- ;
|
|
|
-
|
|
|
-InOrFromDatabase_EDIT
|
|
|
- : 'IN' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestDatabases();
|
|
|
- }
|
|
|
- | 'FROM' 'CURSOR'
|
|
|
- {
|
|
|
- parser.suggestDatabases();
|
|
|
- }
|
|
|
- ;
|
|
|
-
|
|
|
-OptionalLike
|
|
|
- :
|
|
|
- | 'LIKE' SingleQuotedValue
|
|
|
- ;
|
|
|
-
|
|
|
-Like_EDIT
|
|
|
- : 'LIKE' 'CURSOR'
|
|
|
- ;
|