[Feature Request]: Spark SQL Iceberg table support
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- spark, sql, typescript
调研方向
首先针对 Spark SQL 解析器复现示例查询,并将其与链接的 Iceberg Spark DDL 示例进行比较。当解析器能够接受四部分的 catalog.db.table.branch 引用,以及所示的 joins 和 aliases,且不再出现报告的错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Topic
Support new SQL
Description
Currently linter does not support Iceberg syntax operations. One of the gaps identified was the lack of 4 parts table support convention which now can consist of catalog.db.table.branch. Fore example:
select
h.made_current_at,
s.operation,
h.snapshot_id,
h.is_current_ancestor,
s.summary['spark.app.id']
from prod.db.table.history h
join prod.db.table.snapshots s
on h.snapshot_id = s.snapshot_id
order by made_current_at;
Error text:
* Line:7 - 'table' is not valid at this position, expecting an existing function; Line:7 - '.' is not valid at this position; Line:7 - 'h' is not valid at this position; Line:8 - '.' is not valid at this position; Line:8 - 's' is not valid at this position;
Samples of Iceberg based syntax are available: https://iceberg.apache.org/docs/latest/spark-ddl/#create-table-as-select
- 主要语言
- TypeScript
- 星标
- 394
- 派生
- 108
- 平均合并
- 5 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DTStack/dt-sql-parser 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
DTStack/dt-sql-parser#493 ·
-
难度 5/5 一周以上 新手友好度 25/100
DTStack/dt-sql-parser#490 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
DTStack/dt-sql-parser#489 ·
-
难度 5/5 一周以上 新手友好度 35/100
DTStack/dt-sql-parser#488 ·
-
enhancement improvement
难度 4/5 3-5 天 新手友好度 35/100
DTStack/dt-sql-parser#445 · 2 条评论 ·
查看 DTStack/dt-sql-parser 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
bug v2
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/inspector#2458 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
难度 2/5 1-3 小时 新手友好度 70/100
carbon-design-system/ibm-products#9907 ·