Make it possible to force a column type and intricate bugfix.

This commit is contained in:
Paul Masurel
2023-01-20 13:50:20 +09:00
parent d7a8053cc2
commit 6ab8990bbd
5 changed files with 9 additions and 6 deletions

View File

@@ -24,9 +24,5 @@ proptest = "1"
more-asserts = "0.3.0"
rand = "0.8.3"
# temporary
[workspace]
members = []
[features]
unstable = []

6
columnar/Makefile Normal file
View File

@@ -0,0 +1,6 @@
test:
echo "Run test only... No examples."
cargo test --tests --lib
fmt:
cargo +nightly fmt --all

View File

@@ -26,6 +26,7 @@ Add alignment?
Consider another codec to bridge the gap between few and 5k elements
# Cleanup and rationalization
remove the 6 bit limitation of columntype. use 4 + 4 bits instead.
in benchmark, unify percent vs ratio, f32 vs f64.
investigate if should have better errors? io::Error is overused at the moment.
rename rank/select in unit tests

View File

@@ -1,7 +1,7 @@
use std::net::Ipv6Addr;
use crate::value::NumericalType;
use crate::InvalidData;
use crate::{column, Column, DynamicColumn, InvalidData, StrColumn};
/// The column type represents the column type and can fit on 6-bits.
///

View File

@@ -1,4 +1,4 @@
use crate::InvalidData;
use crate::{Column, ColumnType, InvalidData};
#[derive(Copy, Clone, PartialEq, Debug)]
pub enum NumericalValue {