Arrow update 22.0.0 - #1078
Draft
sfc-gh-ext-simba-jy wants to merge 2 commits into
Draft
Arrow update 22.0.0#1078sfc-gh-ext-simba-jy wants to merge 2 commits into
sfc-gh-ext-simba-jy wants to merge 2 commits into
Conversation
|
|
||
| // For integers, selectivity is the proportion of the build interval that overlaps | ||
| // with the probe interval | ||
| uint64_t num_build_rows = settings.num_build_batches * settings.batch_size; |
| for (ExecBatch& batch : r_batches_with_schema.batches) | ||
| r_batches_.InsertBatch(std::move(batch)); | ||
|
|
||
| stats_.num_build_rows = settings.num_build_batches * settings.batch_size; |
| r_batches_.InsertBatch(std::move(batch)); | ||
|
|
||
| stats_.num_build_rows = settings.num_build_batches * settings.batch_size; | ||
| stats_.num_probe_rows = settings.num_probe_batches * settings.batch_size; |
| BinaryBitBlockCounter filter_counter(filter_data, filter.offset, filter_is_valid, | ||
| filter.offset, filter.length); | ||
| BitBlockCounter is_valid_counter(filter_is_valid, filter.offset, filter.length); | ||
| while (position < filter.length) { |
|
|
||
| BinaryBitBlockCounter filter_counter(filter_data, filter.offset, filter_is_valid, | ||
| filter.offset, filter.length); | ||
| while (position < filter.length) { |
| // this function requires a function holder | ||
| static int64_t multiply_by_n(int64_t holder_ptr, int32_t value) { | ||
| auto* holder = reinterpret_cast<MultiplyHolder*>(holder_ptr); | ||
| return value * (*holder)(); |
|
|
||
| // 1. Copy directly into the FixedSizeBinary data buffer, packed to the right. | ||
| uint8_t* decode_out = builder->GetMutableValue(builder->length() + null_count); | ||
| memcpy(decode_out, data_, values_decoded * byte_width); |
| std::uniform_real_distribution<double> dist_prefix_length(0, 1); | ||
|
|
||
| std::vector<ByteArray> out(array_length); | ||
| buf.resize(max_size * array_length); |
| std::vector<uint8_t>& buffer) { | ||
| int max_byte_array_len = 12; | ||
| int num_bytes = static_cast<int>(max_byte_array_len + sizeof(uint32_t)); | ||
| size_t nbytes = num_values * num_bytes; |
| std::vector<uint8_t>& buffer, int min_len, | ||
| int max_len) { | ||
| int num_bytes = static_cast<int>(max_len + sizeof(uint32_t)); | ||
| size_t nbytes = num_values * num_bytes; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.