Skip to content

Commit

Permalink
revert test error
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Sep 21, 2023
1 parent da12224 commit 57e0bc7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cpp/src/io/parquet/page_decode.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -430,12 +430,7 @@ __device__ size_type gpuInitStringDescriptors(page_state_s volatile* s,
while (pos < target_pos) {
int len = 0;
if ((s->col.data_type & 7) == FIXED_LEN_BYTE_ARRAY) {
if (k < dict_size) {
len = s->dtype_len_in;
} else {
s->set_error_code(0x20);
break;
}
if (k < dict_size) { len = s->dtype_len_in; }
} else {
if (k + 4 <= dict_size) {
len = (cur[k]) | (cur[k + 1] << 8) | (cur[k + 2] << 16) | (cur[k + 3] << 24);
Expand Down

0 comments on commit 57e0bc7

Please sign in to comment.