Closed aosingh closed 3 weeks ago
Thank you, I will go through the review comments and also check why some unit tests failed
@paleolimbot
Could you please help with the GitHub CI workflow ? I wanted to verify the latest changes and unit tests. Thanks.
Thanks for the additional changes! I was out-of-office today but will take a look tomorrow morning 🙂
There are a few style guide check failures and 1 unit test failed. I am checking this.
Did you know about pre-commit run --all-files
? (It should take care of the style checks for you)
Thanks, pre-commit run --all-files
formatted the code as per style guide. I have also modified a unit testcase to use UTC timezone in timestamps.
@paleolimbot
Please review the updates. I have simplified unit tests. Hopefully, the test cases are clear now. Let me know your feedback.
I have added CSchemaView.storage_buffer_format
and updated unit tests. I will further review it tomorrow.
@paleolimbot
I have updated the PR based on the review comments.
To summarize:
storage_buffer_format
storage_buffer_format
either returns the existing buffer_format
or the underlying buffer format corresponding to the logical data typePlease review and let me know your feedback
@paleolimbot
Sure, no problem, thank you for your patience.
na.c_buffer([d1, d2, d3], na.timestamp("ms"))
raises ValueError. The unit tests are modified to verify that.
with pytest.raises(ValueError):
na.c_buffer([d1, d2, d3], na.timestamp("ms"))
is this not expected ?
Sorry, I missed that! Thank you!
@paleolimbot
I see some unit tests for Windows has failed after merge. Let me try to understand the reason
Addresses https://github.com/apache/arrow-nanoarrow/issues/478
Currently, if you create a
c_array
from an iterable of timestamps an error is raisedCode:
Error:
Expected output:
Benefits
to_pandas