dt-sql-parser
dt-sql-parser copied to clipboard
SQL Parsers for BigData, built with antlr4.
Next
## Bug - [ ] #46 - [ ] #17 ## Feature - [ ] #13 - [ ] #20 - [ ] #16 ## Refactor ## Docs - [...
Roadmap 2022
## 三季度 - [ ] 完善 FlinkSQL, 补充单元测试 - [ ] 完善 SparkSQL, 补充单元测试 - [ ] Bug 修复 - [ ] 查看支持 Autocomplete 的方案 ## 四季度 - [ ]...
sql内多层括号splitsql引起死循环
**The Type of SQL** 任意类型sql **Your Code** ```js import { splitSql } from 'dt-sql-parser'; const sql = `with category(name, cn_name) as (values('测试名称(test), 名称'))` const sqlList = splitSql(sql) console.log(sqlList) ``` **Problem**...
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines) from 1.0.1 to 1.0.3. Commits c3b28d3 1.0.3 6226c95 Merge pull request #4 from Trott/fix-it-again c77691d fix: remediate ReDOS further 76ca93c chore: pin mocha to version that works with...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1. Commits f545bdb 3.0.1 c57d4c2 fix a few old XO issues for backport 419250f Fix potential ReDoS (#37) See full diff in compare view [ from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
tsc编译报错
**版本信息** - dt-sql-parser版本:4.0.0-beta.2.2 - tsc版本:4.5.4 ``` $ tsc -v Version 4.5.4 ``` **报错信息** 执行`npx tsc`,报错如下: ``` node_modules/dt-sql-parser/dist/lib/flinksql/FlinkSqlParserListener.d.ts:4:16 - error TS1005: '(' expected. 4 constructor: typeof FlinkSqlParserListener; ~ node_modules/dt-sql-parser/dist/lib/flinksql/FlinkSqlParserVisitor.d.ts:4:16 - error...
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. Release notes Sourced from shelljs's releases. v0.8.5 This was a small security fix for #1058. Commits 70668a4 0.8.5 d919d22 fix(exec): lockdown file permissions (#1060)...
支持 Auto-complete
如下 SQL 类型: - [ ] MySQL - [ ] Flink SQL - [ ] Spark SQL - [ ] Hive SQL - [ ] PL/SQL
flink sql数据类型decimal语法不兼容以及注释为“----”报校验错误,实际语法是对的
注释问题如图:  decimal问题:  decimal只能支持精度参数,不支持小数位固定参数;开源语法是支持的  由于生产数据不方便截图,使用的是你们的开源在线项目进行测试的https://dtstack.github.io/monaco-sql-languages/