apache / apache/datafusion-python
RFC: Refactor functions into Expressions namespaces and functions on the Expr directly
未關閉
enhancement
- 主要語言
- Python
- 星號
- 604
- 分支
- 174
- 平均合併
- 2 天 22 小時
- 30 天內合併 PR
- 5
描述
One thing I disliked a lot about pyspark was the Functions. Since most of if not all DataFusion.functions take in an expression and return an expression, we could rework this in the Expr namespaces, this should help finding the right expressions much easier, some examples:
- `col().dt.current_date()`
- `col().list.ndims()`
I am happy to start working on this and creating a full list of how the Expr and Expr.namespaces can look like
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
先閱讀現有的 DataFusion Python Functions 與 Expr APIs,接著盤點哪些函式接受並回傳 expressions。將該盤點結果與提議的 Expr 和 Expr namespace 範例進行比較。完成的條件是就完整的 API 設計及相應的實作範圍達成共識;此 RFC 不指定檔案或測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- backend-api-design
- Issue 類型
- 重構
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100