dt-sql-parser icon indicating copy to clipboard operation
dt-sql-parser copied to clipboard

SQL Parsers for BigData, built with antlr4.

Results 80 dt-sql-parser issues
Sort by recently updated
recently updated
newest added

### Version v4.1 ### Which SQL? Hive ### SQL content ```sql CREATE TABLE table1 ``` ### JavaScript/TypeScript code _No response_ ### What happened? 建表语句缺少列定义的情况,在 Hive 实际语法中是非法的,但在解析树中没有报错 导致 c3 收集补全时把 `statement`...

### Version master ### Which SQL? Flink ### SQL content ```sql SELECT user_id, JSON_VALUE(event_data, '$.eventType' RETURNING STRING) AS event_type, JSON_VALUE( event_data, '$.pageUrl' NULL ON EMPTY NULL ON ERROR ) AS...

- 使用 LL_EXACT_AMBIG_DETECTION 模式检测 grammar 的二义性

### Version v4.3.1 ### Which SQL? Spark ### SQL content ```sql select market, from_unixtime ( unix_timestamp (cast(`date` as string), 'yyyyMMdd'), 'yyyy-MM-dd' ) as prev_trade_date, row_number() over ( partition by market...

bug

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2. Changelog Sourced from js-yaml's changelog. [3.14.2] - 2025-11-15 Security Backported v4.1.1 fix to v3 [4.1.1] - 2025-11-12 Security Fix prototype pollution issue in yaml...

dependencies
javascript

Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0. Commits 56774ef 10.5.0 1e4e297 bin: Do not expose filenames to shell expansion See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=glob&package-manager=npm_and_yarn&previous-version=10.4.5&new-version=10.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve...

dependencies
javascript

### Topic Enhance existing features ### Description The temporary result set created in a CTE statement can be collected. ```sql WITH sales_data AS ( SELECT product_id, SUM(amount) AS total_sales FROM...

enhancement
improvement

### Version v4.3.1 ### Which SQL? Trino ### SQL content ```sql ``` ### JavaScript/TypeScript code ```typescript ``` ### What happened? ### Relevant log output ```shell ```

bug

### Topic Support new SQL ### Description 希望sql解析支持promsql

### Topic Support new SQL ### Description The [PostgreSqlLexer.g4](https://github.com/DTStack/dt-sql-parser/blob/main/src/grammar/postgresql/PostgreSqlLexer.g4) is missing support for common Postgres functions [TO_CHAR](https://www.postgresql.org/docs/17/functions-formatting.html) and [DATE_TRUNC](https://www.postgresql.org/docs/17/functions-datetime.html) Please can these be added. This is an issue since basic...