You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Michael-J-Ward (via GitHub)" <gi...@apache.org> on 2024/10/10 21:39:43 UTC

[PR] WIP: Upgrade to Datafusion 43 [datafusion-python]

Michael-J-Ward opened a new pull request, #905:
URL: https://github.com/apache/datafusion-python/pull/905

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
   -->
   
   Closes #.
   
    # Rationale for this change
   <!--
    Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
    Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.  
   -->
   
   # What changes are included in this PR?
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   # 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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Upgrade to Datafusion 43 [datafusion-python]

Posted by "Michael-J-Ward (via GitHub)" <gi...@apache.org>.
Michael-J-Ward merged PR #905:
URL: https://github.com/apache/datafusion-python/pull/905


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] WIP: Upgrade to Datafusion 43 [datafusion-python]

Posted by "timsaucer (via GitHub)" <gi...@apache.org>.
timsaucer commented on PR #905:
URL: https://github.com/apache/datafusion-python/pull/905#issuecomment-2442678960

   Do you need help troubleshooting the test?


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] WIP: Upgrade to Datafusion 43 [datafusion-python]

Posted by "Michael-J-Ward (via GitHub)" <gi...@apache.org>.
Michael-J-Ward commented on PR #905:
URL: https://github.com/apache/datafusion-python/pull/905#issuecomment-2466796689

   @timsaucer - thanks for finishing this up!
   
   I think it's good to go. Especially since this 1st upgrade PR is primarily for the dependencies.
   


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] WIP: Upgrade to Datafusion 43 [datafusion-python]

Posted by "timsaucer (via GitHub)" <gi...@apache.org>.
timsaucer commented on PR #905:
URL: https://github.com/apache/datafusion-python/pull/905#issuecomment-2466440798

   Ok, I think this is ready to merge. @Michael-J-Ward do you want to look over the changes I added in to account for the new string views?


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] WIP: Upgrade to Datafusion 43 [datafusion-python]

Posted by "Michael-J-Ward (via GitHub)" <gi...@apache.org>.
Michael-J-Ward commented on PR #905:
URL: https://github.com/apache/datafusion-python/pull/905#issuecomment-2442642237

   For context on the `SmoothTwoColumn` test.
   
   On this branch, the `values` argument passed into  `SmoothTwoColumn.evaluate_all`
   
   ```python
   > /home/mike/workspace/datafusion-python/dev/python/tests/test_udwf.py(143)evaluate_all()
   -> results = []
   (Pdb) values
   [<pyarrow.lib.Int64Array object at 0x7fff8ec772e0>
   [
     0,
     1,
     2,
     3,
     4,
     5,
     6
   ]]
   ```
   
   On `main`, it contains both `a` and `b` columns:
   
   ```
   > /home/mike/workspace/datafusion-python/main/python/tests/test_udwf.py(143)evaluate_all()
   -> values_a = values[0]
   (Pdb) values
   [<pyarrow.lib.Int64Array object at 0x7fffe8dcb700>
   [
     0,
     1,
     2,
     3,
     4,
     5,
     6
   ], <pyarrow.lib.Int64Array object at 0x7fffe8dcbd60>
   [
     7,
     4,
     3,
     8,
     9,
     1,
     6
   ]]
   (Pdb) c
   ```


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] WIP: Upgrade to Datafusion 43 [datafusion-python]

Posted by "Michael-J-Ward (via GitHub)" <gi...@apache.org>.
Michael-J-Ward commented on PR #905:
URL: https://github.com/apache/datafusion-python/pull/905#issuecomment-2442696429

   @timsaucer - yes, if you wouldn't mind.
   
   Here's where I'm at.
   
   `MulticolumnWindowUDF::partition_evaluator` gets called with the correct arguments
   
   ```console
   RUST: evaluating partition_evaluator_args: PartitionEvaluatorArgs { input_exprs: [Column { name: "a", index: 0 }, Column { name: "b", index: 1 }], input_types: [Int64, Int64], is_reversed: false, ignore_nulls: false }
   ```
   
   But then `RustPartitionEvaluator::evaluate_all` only receives the one array
   
   ```console
   RUST: evaluating evaluate_all with 1 value arrays: [PrimitiveArray<Int64>
   [
     0,
     1,
     2,
     3,
     4,
     5,
     6,
   ]]
   ```
   
   My next step would be to dig deeper into the upstream machinery, so I'd appreciate if you could take a quick sanity check before that.


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org