Add wrapper classes for Expression types
まだ誰も着手していません。
評価
調査の方向性
まず現在の datafusion.expr のエクスポート、特に expr_internal.Limit の再エクスポートを確認し、その後、動機となっているユースケースについて PR #1674 と issue #1673 を読んでください。既存の Expression 型を基にラッパーの範囲を定義します。意図したラッパーが、Limit.fetch と Limit.skip を含む、要求された式データを公開できれば作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As part of the discussion in https://github.com/apache/datafusion-python/pull/1674 we found a user wants access to some of the elements within an expression. In this case, Limit. If there is a growing base of users who want to use datafusion-python to do things such as analyzing the plans and using the data in them, then we should probably add wrapper classes for each of the Expressions.
Describe the solution you'd like
Right now we have the expressions like Limit available in datafusion.expr reexported like
Limit = expr_internal.Limit
Instead we could have a datafusion.expr module that contains
class Limit(Expr):
which has attributes to get fetch and skip.
Describe alternatives you've considered
We could leave as is and continue to expose data members as requested.
Additional context
This is a follow on to https://github.com/apache/datafusion-python/issues/1673
- 主要言語
- Python
- スター
- 605
- フォーク
- 176
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 8
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/datafusion-python のほかの issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/datafusion-python#1726 ·
-
難易度 2/5 半日 初心者へのやさしさ 88/100
apache/datafusion-python#1691 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/datafusion-python#1644 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
apache/datafusion-python#1737 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
apache/datafusion-python#1735 · コメント 1 件 ·
apache/datafusion-python の issue をすべて見る
似ている issue
-
Add: hunch オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/dodal#2211 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openml/openml-python#1749 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
sipyourdrink-ltd/bernstein#6191 ·