You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2024/03/15 11:36:10 UTC

[PR] Minor: Remove redundant dependencies from `datafusion-functions/Cargo.toml` [arrow-datafusion]

alamb opened a new pull request, #9622:
URL: https://github.com/apache/arrow-datafusion/pull/9622

   ## Which issue does this PR close?
   
   Part of https://github.com/apache/arrow-datafusion/issues/9285
   
   ## Rationale for this change
   
   `datafusion-functions` already depends on arrow, so bringing dependencies on the arrow subcrates simply makes the use's less clear and consistent (and requires patching multiple crates if you want to patch out arrow)
   
   
   ## What changes are included in this PR?
   1. Remove dependencies on `arrow-schema` and `arrow-array` from `datafusion-functions/Cargo.toml`
   2. Update `use` statements
   
   ## Are these changes tested?
   By existing CI
   <!--
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   3. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?
   -->
   
   ## Are there any user-facing changes?
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!--
   If there are any breaking changes to public APIs, please add the `api change` label.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Minor: Remove redundant dependencies from `datafusion-functions/Cargo.toml` [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #9622:
URL: https://github.com/apache/arrow-datafusion/pull/9622#discussion_r1526153204


##########
datafusion/functions/Cargo.toml:
##########
@@ -57,8 +57,6 @@ path = "src/lib.rs"
 
 [dependencies]
 arrow = { workspace = true }
-arrow-array = { workspace = true }

Review Comment:
   The point of the PR is to remove these two lines. The rest of the changes were driven by the compiler



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Minor: Remove redundant dependencies from `datafusion-functions/Cargo.toml` [arrow-datafusion]

Posted by "jayzhan211 (via GitHub)" <gi...@apache.org>.
jayzhan211 merged PR #9622:
URL: https://github.com/apache/arrow-datafusion/pull/9622


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org