|
@@ -2183,7 +2183,7 @@ describe('impalaAutocompleteParser.js SELECT statements', () => {
|
|
|
assertAutoComplete({
|
|
assertAutoComplete({
|
|
|
beforeCursor: 'select cast(bla as ',
|
|
beforeCursor: 'select cast(bla as ',
|
|
|
afterCursor: '',
|
|
afterCursor: '',
|
|
|
- containsKeywords: ['INT', 'STRING'],
|
|
|
|
|
|
|
+ containsKeywords: ['INT', 'INTEGER', 'STRING'],
|
|
|
expectedResult: {
|
|
expectedResult: {
|
|
|
lowerCase: true
|
|
lowerCase: true
|
|
|
}
|
|
}
|
|
@@ -2194,7 +2194,7 @@ describe('impalaAutocompleteParser.js SELECT statements', () => {
|
|
|
assertAutoComplete({
|
|
assertAutoComplete({
|
|
|
beforeCursor: 'SELECT CAST(bla AS ',
|
|
beforeCursor: 'SELECT CAST(bla AS ',
|
|
|
afterCursor: ' FROM bar;',
|
|
afterCursor: ' FROM bar;',
|
|
|
- containsKeywords: ['INT', 'STRING'],
|
|
|
|
|
|
|
+ containsKeywords: ['INT', 'INTEGER', 'STRING'],
|
|
|
expectedResult: {
|
|
expectedResult: {
|
|
|
lowerCase: false
|
|
lowerCase: false
|
|
|
}
|
|
}
|
|
@@ -2205,7 +2205,7 @@ describe('impalaAutocompleteParser.js SELECT statements', () => {
|
|
|
assertAutoComplete({
|
|
assertAutoComplete({
|
|
|
beforeCursor: 'SELECT CAST(bla AS ST',
|
|
beforeCursor: 'SELECT CAST(bla AS ST',
|
|
|
afterCursor: ') FROM bar;',
|
|
afterCursor: ') FROM bar;',
|
|
|
- containsKeywords: ['INT', 'STRING'],
|
|
|
|
|
|
|
+ containsKeywords: ['INT', 'INTEGER', 'STRING'],
|
|
|
expectedResult: {
|
|
expectedResult: {
|
|
|
lowerCase: false
|
|
lowerCase: false
|
|
|
}
|
|
}
|
|
@@ -2216,7 +2216,7 @@ describe('impalaAutocompleteParser.js SELECT statements', () => {
|
|
|
assertAutoComplete({
|
|
assertAutoComplete({
|
|
|
beforeCursor: 'SELECT CAST(AS ',
|
|
beforeCursor: 'SELECT CAST(AS ',
|
|
|
afterCursor: '',
|
|
afterCursor: '',
|
|
|
- containsKeywords: ['INT', 'STRING'],
|
|
|
|
|
|
|
+ containsKeywords: ['INT', 'INTEGER', 'STRING'],
|
|
|
expectedResult: {
|
|
expectedResult: {
|
|
|
lowerCase: false
|
|
lowerCase: false
|
|
|
}
|
|
}
|