From 89b22af5ce007c665278257827626e06b738739c Mon Sep 17 00:00:00 2001 From: mumiao <1270865802zl@gmail.com> Date: Wed, 24 May 2023 17:01:17 +0800 Subject: [PATCH] docs(readme): fix documentation error (#110) --- README-zh_CN.md | 2 +- README.md | 2 +- test/parser/flinksql/lexer.test.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README-zh_CN.md b/README-zh_CN.md index afaa80a..6ef8111 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -16,6 +16,7 @@ dt-sql-parser 是一个基于 [ANTLR4](https://github.com/antlr/antlr4) 开发 - Spark SQL - Hive SQL - PL/SQL +- Trino SQL > 提示:当前的 Parser 是 `Javascript` 语言版本,如果有必要,可以尝试编译 Grammar 文件到其他目标语言 @@ -103,7 +104,6 @@ console.log(tokens) tokenIndex: -1 type: 137 _text: null - text: "SELECT" }, ... ] diff --git a/README.md b/README.md index 32c5fa0..3896aca 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Supported SQL: - Hive SQL - PL/SQL - PostgreSQL +- Trino SQL >Tips: This project is the default for Javascript language, also you can try to compile it to other languages if you need. @@ -121,7 +122,6 @@ console.log(tokens) tokenIndex: -1 type: 137 _text: null - text: "SELECT" }, ... ] diff --git a/test/parser/flinksql/lexer.test.ts b/test/parser/flinksql/lexer.test.ts index ee7c8a8..c44b544 100644 --- a/test/parser/flinksql/lexer.test.ts +++ b/test/parser/flinksql/lexer.test.ts @@ -5,7 +5,6 @@ describe('FlinkSQL Lexer tests', () => { const sql = 'SELECT * FROM table1'; const tokens = parser.getAllTokens(sql); - test('token counts', () => { expect(tokens.length - 1).toBe(7); });