apache / apache/datafusion-sqlparser-rs
Add support for UDFs: CREATE FUNCTION
未關閉
- 主要語言
- Rust
- 星號
- 3.5k
- 分支
- 772
- 平均合併
- 4 天 9 小時
- 30 天內合併 PR
- 17
描述
It would be great to have support for `CREATE FUNCTION` statement to define UDFs.
I think it makes sense to develop the more minimal variant of BigQuery first: support for `LANGUAGE` (e.g. javascript) and `AS` (sql) or even sql-only to start with.
https://cloud.google.com/bigquery/docs/reference/standard-sql/user-defined-functions
https://www.postgresql.org/docs/9.1/sql-createfunction.html
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
先將所要求的最小 CREATE FUNCTION 語法與連結的 BigQuery 和 PostgreSQL 參考進行比較,重點關注 LANGUAGE 和 AS。完成的標準是 parser 接受約定的純 SQL 形式或 LANGUAGE/AS 形式,並一致地拒絕不支援的形式;issue 未指定要執行的檔案或測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- rust, sql
- 領域
- databases
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 32/100