Skip to content

Arrow update 22.0.0 - #1078

Draft
sfc-gh-ext-simba-jy wants to merge 2 commits into
masterfrom
arrow-update-22.0.0
Draft

sfc-gh-ext-simba-jy wants to merge 2 commits into
masterfrom
arrow-update-22.0.0

Conversation

@sfc-gh-ext-simba-jy

Copy link
Copy Markdown
Collaborator

No description provided.


// 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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants