Skip to content

Commit

Permalink
Stateless Row Encoding / Don't Preserve Dictionaries in RowConverter (
Browse files Browse the repository at this point in the history
#4811) (#4819)

* Stateless Row Encoding / Don't Preserve Dictionaries (#4811)

* Add low cardinality benchmarks
  • Loading branch information
tustvold authored Sep 17, 2023
1 parent b64e362 commit 9cb4a75
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 1,149 deletions.
2 changes: 1 addition & 1 deletion arrow-flight/src/sql/metadata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn lexsort_to_indices(arrays: &[ArrayRef]) -> UInt32Array {
.iter()
.map(|a| SortField::new(a.data_type().clone()))
.collect();
let mut converter = RowConverter::new(fields).unwrap();
let converter = RowConverter::new(fields).unwrap();
let rows = converter.convert_columns(arrays).unwrap();
let mut sort: Vec<_> = rows.iter().enumerate().collect();
sort.sort_unstable_by(|(_, a), (_, b)| a.cmp(b));
Expand Down
296 changes: 0 additions & 296 deletions arrow-row/src/dictionary.rs

This file was deleted.

Loading

0 comments on commit 9cb4a75

Please sign in to comment.