|
|
@@ -910,14 +910,14 @@ BasicIdentifierChain_EDIT
|
|
|
suggestColumns({
|
|
|
identifierChain: $1
|
|
|
});
|
|
|
- $$ = { suggestKeywords: [{ value: '*', weight: 1000 }] };
|
|
|
+ $$ = { suggestKeywords: [{ value: '*', weight: 1099 }] };
|
|
|
}
|
|
|
| BasicIdentifierChain AnyDot PartialBacktickedOrPartialCursor AnyDot BasicIdentifierChain
|
|
|
{
|
|
|
suggestColumns({
|
|
|
identifierChain: $1
|
|
|
});
|
|
|
- $$ = { suggestKeywords: [{ value: '*', weight: 1000 }] };
|
|
|
+ $$ = { suggestKeywords: [{ value: '*', weight: 1099 }] };
|
|
|
}
|
|
|
;
|
|
|
|
|
|
@@ -1237,9 +1237,9 @@ SelectStatement_EDIT
|
|
|
if ($3.cursorAtStart) {
|
|
|
var keywords = [];
|
|
|
if ($2) {
|
|
|
- keywords = [{ value: '*', weight: 1000 }];
|
|
|
+ keywords = [{ value: '*', weight: 1099 }];
|
|
|
} else {
|
|
|
- keywords = [{ value: '*', weight: 1000 }, 'ALL', 'DISTINCT'];
|
|
|
+ keywords = [{ value: '*', weight: 1099 }, 'ALL', 'DISTINCT'];
|
|
|
}
|
|
|
if (isImpala()) {
|
|
|
keywords.push('STRAIGHT_JOIN');
|
|
|
@@ -1269,13 +1269,13 @@ SelectStatement_EDIT
|
|
|
{
|
|
|
var keywords = [];
|
|
|
if ($2) {
|
|
|
- keywords = [{ value: '*', weight: 1000 }];
|
|
|
+ keywords = [{ value: '*', weight: 1099 }];
|
|
|
if ($2 === 'ALL') {
|
|
|
suggestAggregateFunctions();
|
|
|
suggestAnalyticFunctions();
|
|
|
}
|
|
|
} else {
|
|
|
- keywords = [{ value: '*', weight: 1000 }, 'ALL', 'DISTINCT'];
|
|
|
+ keywords = [{ value: '*', weight: 1099 }, 'ALL', 'DISTINCT'];
|
|
|
suggestAggregateFunctions();
|
|
|
suggestAnalyticFunctions();
|
|
|
}
|
|
|
@@ -1300,13 +1300,13 @@ SelectStatement_EDIT
|
|
|
{
|
|
|
var keywords = [];
|
|
|
if ($2) {
|
|
|
- keywords = [{ value: '*', weight: 1000 }];
|
|
|
+ keywords = [{ value: '*', weight: 1099 }];
|
|
|
if ($2 === 'ALL') {
|
|
|
suggestAggregateFunctions();
|
|
|
suggestAnalyticFunctions();
|
|
|
}
|
|
|
} else {
|
|
|
- keywords = [{ value: '*', weight: 1000 }, 'ALL', 'DISTINCT'];
|
|
|
+ keywords = [{ value: '*', weight: 1099 }, 'ALL', 'DISTINCT'];
|
|
|
suggestAggregateFunctions();
|
|
|
suggestAnalyticFunctions();
|
|
|
}
|
|
|
@@ -2260,21 +2260,21 @@ SelectList_EDIT
|
|
|
}
|
|
|
| SelectList ',' AnyCursor
|
|
|
{
|
|
|
- $$ = { suggestKeywords: [{ value: '*', weight: 1000 }], suggestTables: true, suggestDatabases: true, suggestFunctions: true, suggestColumns: true, suggestAggregateFunctions: true };
|
|
|
+ $$ = { suggestKeywords: [{ value: '*', weight: 1099 }], suggestTables: true, suggestDatabases: true, suggestFunctions: true, suggestColumns: true, suggestAggregateFunctions: true };
|
|
|
}
|
|
|
| SelectList ',' SelectSpecification_EDIT -> $3
|
|
|
| SelectList ',' AnyCursor SelectList
|
|
|
{
|
|
|
- $$ = { suggestKeywords: [{ value: '*', weight: 1000 }], suggestFunctions: true, suggestColumns: true, suggestAggregateFunctions: true, };
|
|
|
+ $$ = { suggestKeywords: [{ value: '*', weight: 1099 }], suggestFunctions: true, suggestColumns: true, suggestAggregateFunctions: true, };
|
|
|
}
|
|
|
| SelectList ',' AnyCursor ','
|
|
|
{
|
|
|
- $$ = { suggestKeywords: [{ value: '*', weight: 1000 }], suggestFunctions: true, suggestColumns: true, suggestAggregateFunctions: true, };
|
|
|
+ $$ = { suggestKeywords: [{ value: '*', weight: 1099 }], suggestFunctions: true, suggestColumns: true, suggestAggregateFunctions: true, };
|
|
|
}
|
|
|
| SelectList ',' SelectSpecification_EDIT ',' -> $3
|
|
|
| SelectList ',' AnyCursor ',' SelectList
|
|
|
{
|
|
|
- $$ = { suggestKeywords: [{ value: '*', weight: 1000 }], suggestFunctions: true, suggestColumns: true, suggestAggregateFunctions: true, };
|
|
|
+ $$ = { suggestKeywords: [{ value: '*', weight: 1099 }], suggestFunctions: true, suggestColumns: true, suggestAggregateFunctions: true, };
|
|
|
}
|
|
|
| SelectList ',' SelectSpecification_EDIT ',' SelectList -> $3
|
|
|
;
|
|
|
@@ -3216,7 +3216,7 @@ CountFunction_EDIT
|
|
|
{
|
|
|
valueExpressionSuggest();
|
|
|
if (!$3) {
|
|
|
- var keywords = isImpala() ? [{ value: '*', weight: 1000 }, 'ALL', 'DISTINCT'] : [{ value: '*', weight: 1000 }, 'DISTINCT'];
|
|
|
+ var keywords = isImpala() ? [{ value: '*', weight: 1099 }, 'ALL', 'DISTINCT'] : [{ value: '*', weight: 1099 }, 'DISTINCT'];
|
|
|
if (parser.yy.result.suggestKeywords) {
|
|
|
keywords = parser.yy.result.suggestKeywords.concat(keywords);
|
|
|
}
|