-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor: Move proxy to datafusion common #10561
Conversation
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @jayzhan211 other than the name of the new memory_pool
module -- maybe we can just put it in utils instead
// specific language governing permissions and limitations | ||
// under the License. | ||
|
||
pub mod proxy; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think moving the proxy code (that helps track allocations) makes sense to me
What do you think about putting it somewhere other than a directory called "memory_pool"
Perhaps datafusion/common/src/utils/proxy.rs
🤔
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
@@ -74,7 +74,7 @@ datafusion-common = { workspace = true } | |||
datafusion-execution = { workspace = true } | |||
datafusion-expr = { workspace = true } | |||
datafusion-physical-expr = { workspace = true, default-features = true } | |||
hashbrown = { version = "0.14", features = ["raw"], optional = true } | |||
hashbrown = { workspace = true, optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jayzhan211
* move proxy to common Signed-off-by: jayzhan211 <[email protected]> * fix doc Signed-off-by: jayzhan211 <[email protected]> * move to utils Signed-off-by: jayzhan211 <[email protected]> * fix doc Signed-off-by: jayzhan211 <[email protected]> --------- Signed-off-by: jayzhan211 <[email protected]>
Which issue does this PR close?
Closes #.
Part of #10484
Rationale for this change
These two allocExtension is used in binary map (datafusion/physical-expr/src/binary_map.rs), which is planned to move to
functions-aggregate
, so I move it to common to avoid importing execution crate.What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?