File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ exclude this from your PR!)
153153```
154154
155155[ patch.'https://github.com/cube-js/arrow-rs ']
156- arquet = { path = "../../../arrow-rs/parquet" }
156+ parquet = { path = "../../../arrow-rs/parquet" }
157157arrow = { path = "../../../arrow-rs/arrow" }
158158
159159[ patch.'https://github.com/cube-js/arrow-datafusion ']
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ impl HllInstance {
201201 let mut values = Vec :: with_capacity ( num_hashes) ;
202202 let mut data = Cursor :: new ( data) ;
203203 let maxval = ( 1 << reg_width) as u32 - 1 ;
204- while ! data. is_empty ( ) {
204+ while data. position ( ) < data . get_ref ( ) . len ( ) as u64 {
205205 let hash = data. read_u64 :: < BigEndian > ( ) . unwrap ( ) ;
206206 let ind = hash & mask;
207207 let val = hash >> log_num_buckets;
Original file line number Diff line number Diff line change 1- #![ feature( cursor_remaining) ]
21/*
32 * Licensed under the Apache License, Version 2.0 (the "License");
43 * you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments