forked from KipData/KiteSQL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.rs
More file actions
29 lines (27 loc) · 731 Bytes
/
mod.rs
File metadata and controls
29 lines (27 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pub(crate) mod aggregate;
pub(crate) mod describe;
pub(crate) mod dummy;
pub(crate) mod except;
pub(crate) mod explain;
pub(crate) mod filter;
pub(crate) mod function_scan;
pub(crate) mod index_scan;
pub(crate) mod join;
pub(crate) mod limit;
pub(crate) mod projection;
pub(crate) mod seq_scan;
pub(crate) mod show_table;
pub(crate) mod show_view;
pub(crate) mod sort;
pub(crate) mod union;
pub(crate) mod values;
#[cfg(test)]
pub(crate) mod test {
use crate::types::value::DataValue;
use itertools::Itertools;
pub(crate) fn build_integers(ints: Vec<Option<i32>>) -> Vec<DataValue> {
ints.into_iter()
.map(|i| i.map(DataValue::Int32).unwrap_or(DataValue::Null))
.collect_vec()
}
}