[Data] Compute Expressions-fixed size array#58741
[Data] Compute Expressions-fixed size array#58741bveeramani merged 28 commits intoray-project:masterfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new _ArrayNamespace to handle fixed-size array operations in Ray Data expressions, adding flatten() and to_list() methods. The implementation is a good start, but I've identified a couple of issues in the new arr_namespace.py file. Specifically, the flatten() method has incorrect fallback logic that makes its behavior inconsistent, and the to_list() method can be optimized for better performance. My review includes suggestions to fix these issues for improved correctness and efficiency.
a86b794 to
000cf1e
Compare
|
Hi @400Ping Thanks for contribution. Can you fix the CI (lint issue)? |
iamjustinhsu
left a comment
There was a problem hiding this comment.
Thanks @400Ping! Can you also add some tests?
Signed-off-by: 400Ping <fourhundredping@gmail.com>
Signed-off-by: 400Ping <fourhundredping@gmail.com>
Signed-off-by: 400Ping <fourhundredping@gmail.com>
Signed-off-by: 400Ping <fourhundredping@gmail.com>
987ca07 to
7819f4b
Compare
Signed-off-by: 400Ping <fourhundredping@gmail.com>
|
cc @goutamvenkat-anyscale PTAL |
Signed-off-by: Ping <fourhundredping@gmail.com>
|
@goutamvenkat-anyscale fixed, PTAL. |
|
cc @owenowenisme @bveeramani PTAL |
Signed-off-by: 400Ping <fourhundredping@gmail.com>
|
@400Ping Could you fix the conflict first? Thanks. |
Signed-off-by: 400Ping <fourhundredping@gmail.com>
Done |
goutamvenkat-anyscale
left a comment
There was a problem hiding this comment.
Overall looks good. Thanks.
Just a couple of comments
## Description Completing the fixed-size array namespace operations ## Related issues Related to ray-project#58674 ## Additional information --------- Signed-off-by: 400Ping <fourhundredping@gmail.com> Signed-off-by: Ping <fourhundredping@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: jeffery4011 <jefferyshen1015@gmail.com>
## Description Completing the fixed-size array namespace operations ## Related issues Related to ray-project#58674 ## Additional information --------- Signed-off-by: 400Ping <fourhundredping@gmail.com> Signed-off-by: Ping <fourhundredping@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
## Description Completing the fixed-size array namespace operations ## Related issues Related to ray-project#58674 ## Additional information --------- Signed-off-by: 400Ping <fourhundredping@gmail.com> Signed-off-by: Ping <fourhundredping@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
## Description Completing the fixed-size array namespace operations ## Related issues Related to ray-project#58674 ## Additional information --------- Signed-off-by: 400Ping <fourhundredping@gmail.com> Signed-off-by: Ping <fourhundredping@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
Description
Completing the fixed-size array namespace operations
Related issues
Related to #58674
Additional information