docs(readme): fix documentation error (#110)
This commit is contained in:
parent
eeb111b5c5
commit
89b22af5ce
@ -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"
|
||||
},
|
||||
...
|
||||
]
|
||||
|
@ -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"
|
||||
},
|
||||
...
|
||||
]
|
||||
|
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user