Skip to content

Commit

Permalink
Remove composite and decimal (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn authored May 1, 2024
1 parent aac51cb commit 687a5ca
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 582 deletions.
8 changes: 0 additions & 8 deletions pyvortex/src/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use paste::paste;
use pyo3::prelude::*;
use vortex::array::bool::{Bool, BoolArray, BoolEncoding, OwnedBoolArray};
use vortex::array::chunked::{Chunked, ChunkedArray, ChunkedEncoding, OwnedChunkedArray};
use vortex::array::composite::{Composite, CompositeArray, CompositeEncoding, OwnedCompositeArray};
use vortex::array::constant::{Constant, ConstantArray, ConstantEncoding, OwnedConstantArray};
use vortex::array::primitive::{OwnedPrimitiveArray, Primitive, PrimitiveArray, PrimitiveEncoding};
use vortex::array::r#struct::{OwnedStructArray, Struct, StructArray, StructEncoding};
Expand Down Expand Up @@ -65,7 +64,6 @@ macro_rules! pyarray {

pyarray!(BoolEncoding, BoolArray, "BoolArray");
pyarray!(ChunkedEncoding, ChunkedArray, "ChunkedArray");
pyarray!(CompositeEncoding, CompositeArray, "CompositeArray");
pyarray!(ConstantEncoding, ConstantArray, "ConstantArray");
pyarray!(PrimitiveEncoding, PrimitiveArray, "PrimitiveArray");
pyarray!(SparseEncoding, SparseArray, "SparseArray");
Expand Down Expand Up @@ -97,12 +95,6 @@ impl PyArray {
OwnedChunkedArray::try_from(inner.into_array()).map_err(PyVortexError::map_err)?,
)?
.extract(py),
Composite::ID => PyCompositeArray::wrap(
py,
OwnedCompositeArray::try_from(inner.into_array())
.map_err(PyVortexError::map_err)?,
)?
.extract(py),
Constant::ID => PyConstantArray::wrap(
py,
OwnedConstantArray::try_from(inner.into_array()).map_err(PyVortexError::map_err)?,
Expand Down
1 change: 0 additions & 1 deletion pyvortex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ fn _lib(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_class::<PyBoolArray>()?;
m.add_class::<PyBitPackedArray>()?;
m.add_class::<PyChunkedArray>()?;
m.add_class::<PyCompositeArray>()?;
m.add_class::<PyConstantArray>()?;
m.add_class::<PyDeltaArray>()?;
m.add_class::<PyDictArray>()?;
Expand Down
179 changes: 0 additions & 179 deletions vortex-array/src/array/composite/array.rs

This file was deleted.

40 changes: 0 additions & 40 deletions vortex-array/src/array/composite/compress.rs

This file was deleted.

95 changes: 0 additions & 95 deletions vortex-array/src/array/composite/compute.rs

This file was deleted.

22 changes: 0 additions & 22 deletions vortex-array/src/array/composite/mod.rs

This file was deleted.

Loading

0 comments on commit 687a5ca

Please sign in to comment.