You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/09 09:33:26 UTC
[GitHub] [arrow-rs] tustvold opened a new pull request, #3064: Fix row format decode loses timezone (#3063)
tustvold opened a new pull request, #3064:
URL: https://github.com/apache/arrow-rs/pull/3064
# 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 #3063
# 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 `breaking 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
[GitHub] [arrow-rs] tustvold merged pull request #3064: Fix row format decode loses timezone (#3063)
Posted by GitBox <gi...@apache.org>.
tustvold merged PR #3064:
URL: https://github.com/apache/arrow-rs/pull/3064
--
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
[GitHub] [arrow-rs] ursabot commented on pull request #3064: Fix row format decode loses timezone (#3063)
Posted by GitBox <gi...@apache.org>.
ursabot commented on PR #3064:
URL: https://github.com/apache/arrow-rs/pull/3064#issuecomment-1309112735
Benchmark runs are scheduled for baseline = af5f1e4f0a8bd14240153953700fe16b072315be and contender = 5a3ecc2ea270af7f9aba4c1a162072acf9541fb8. 5a3ecc2ea270af7f9aba4c1a162072acf9541fb8 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ec2-t3-xlarge-us-east-2] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/a228c71ce3de4ad2aec99f1b0f2cf672...81712e3607d84c0bb285bc9139be4a33/)
[Skipped :warning: Benchmarking of arrow-rs-commits is not supported on test-mac-arm] [test-mac-arm](https://conbench.ursa.dev/compare/runs/5672c0a712294d6f81662e055ca98280...0f5c90ed5afe415ebb1a91ed415c49e5/)
[Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ursa-i9-9960x] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/b272cfe29d694c8a9d49d426a82d26a4...d53d2dcca66f4338a528b68b56b9153f/)
[Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ursa-thinkcentre-m75q] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/780d64bd9916410cb39921a4437601b3...02b481d729584256a2f57ea4a8bf5ec2/)
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java
--
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
[GitHub] [arrow-rs] tustvold commented on a diff in pull request #3064: Fix row format decode loses timezone (#3063)
Posted by GitBox <gi...@apache.org>.
tustvold commented on code in PR #3064:
URL: https://github.com/apache/arrow-rs/pull/3064#discussion_r1017687437
##########
arrow/src/row/fixed.rs:
##########
@@ -267,7 +267,11 @@ pub fn decode_bool(rows: &mut [&[u8]], options: SortOptions) -> BooleanArray {
}
/// Decodes a `ArrayData` from rows based on the provided `FixedLengthEncoding` `T`
-fn decode_fixed<T: FixedLengthEncoding + ToByteSlice>(
+///
+/// # Safety
+///
+/// `data_type` must be appropriate native type for `T`
+unsafe fn decode_fixed<T: FixedLengthEncoding + ToByteSlice>(
Review Comment:
This was unsafe before, I just had neglected to mark it as such
--
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
[GitHub] [arrow-rs] tustvold commented on a diff in pull request #3064: Fix row format decode loses timezone (#3063)
Posted by GitBox <gi...@apache.org>.
tustvold commented on code in PR #3064:
URL: https://github.com/apache/arrow-rs/pull/3064#discussion_r1017687747
##########
arrow/src/row/dictionary.rs:
##########
@@ -247,7 +247,11 @@ fn decode_bool(values: &[&[u8]]) -> ArrayData {
}
/// Decodes a fixed length type array from dictionary values
-fn decode_fixed<T: FixedLengthEncoding + ToByteSlice>(
+///
+/// # Safety
+///
+/// `data_type` must be appropriate native type for `T`
+unsafe fn decode_fixed<T: FixedLengthEncoding + ToByteSlice>(
Review Comment:
This was unsafe before, it was an oversight that it wasn't marked as such
--
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