feat: format hive grammar files name

This commit is contained in:
hayden 2023-07-05 16:18:30 +08:00 committed by Ziv
parent f413a29fac
commit 1d890e58fe
2 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,8 @@
*/ */
lexer grammar HiveSqlLexer; lexer grammar HiveSqlLexer;
options { caseInsensitive = true; } // unsupported option caseInsensitive in antlr4@4.9
// options { caseInsensitive = true; }
// Keywords // Keywords
KW_ABORT : 'ABORT'; KW_ABORT : 'ABORT';

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
parser grammar HiveSql; parser grammar HiveSqlParser;
options options
{ {
@ -3058,4 +3058,4 @@ alterMappingStatement
dropMappingStatement dropMappingStatement
: KW_DROP mappingType=(KW_USER | KW_GROUP | KW_APPLICATION) KW_MAPPING : KW_DROP mappingType=(KW_USER | KW_GROUP | KW_APPLICATION) KW_MAPPING
name=StringLiteral KW_IN rpName=id_ name=StringLiteral KW_IN rpName=id_
; ;