apache / apache/datafusion-sqlparser-rs

Expand `TABLE` command support

オープン
#742 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
3.5k
フォーク
772
平均マージ
4日 9時間
マージ済み PR(30日)
17

説明

#704 added support for the `CREATE TABLE x AS TABLE y` by adding basic support for the `TABLE` command within the context of a `CREATE` statement. However, as noted in the [Postgres docs](https://www.postgresql.org/docs/current/sql-select.html#SQL-TABLE):

"It can be used as a top-level command or as a space-saving syntax variant in parts of complex queries. Only the WITH, UNION, INTERSECT, EXCEPT, ORDER BY, LIMIT, OFFSET, FETCH and FOR locking clauses can be used with TABLE; the WHERE clause and any form of aggregation cannot be used."

These other cases have yet to be investigated.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

#704 で導入された既存の TABLE サポートを、PostgreSQL の TABLE ドキュメントと併せて確認する。トップレベルおよび許可されている句のうち、引き続きサポートされていないケースを特定する。完了とは、想定されるケースが一貫してパースされ、リポジトリのテストでカバーされていることを意味する。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust, sql
領域
databases
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。