Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused dyn_cmp_dict feature #4766

Merged
merged 1 commit into from
Sep 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/arrow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Test arrow with default features
run: cargo test -p arrow
- name: Test arrow with all features apart from simd
run: cargo test -p arrow --features=force_validate,prettyprint,ipc_compression,ffi,dyn_cmp_dict,chrono-tz
run: cargo test -p arrow --features=force_validate,prettyprint,ipc_compression,ffi,chrono-tz
- name: Run examples
run: |
# Test arrow examples
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
- name: Clippy arrow-row with all features
run: cargo clippy -p arrow-row --all-targets --all-features -- -D warnings
- name: Clippy arrow with all features except SIMD
run: cargo clippy -p arrow --features=prettyprint,csv,ipc,test_utils,ffi,ipc_compression,dyn_cmp_dict,chrono-tz --all-targets -- -D warnings
run: cargo clippy -p arrow --features=prettyprint,csv,ipc,test_utils,ffi,ipc_compression,chrono-tz --all-targets -- -D warnings
- name: Clippy arrow-integration-test with all features
run: cargo clippy -p arrow-integration-test --all-targets --all-features -- -D warnings
- name: Clippy arrow-integration-testing with all features
Expand Down
6 changes: 0 additions & 6 deletions arrow-string/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,3 @@ arrow-select = { workspace = true }
regex = { version = "1.7.0", default-features = false, features = ["std", "unicode", "perf"] }
regex-syntax = { version = "0.7.1", default-features = false, features = ["unicode"] }
num = { version = "0.4", default-features = false, features = ["std"] }

[package.metadata.docs.rs]
all-features = true

[features]
dyn_cmp_dict = []
1 change: 0 additions & 1 deletion arrow-string/src/like.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ mod tests {
macro_rules! test_dict_utf8 {
($test_name:ident, $left:expr, $right:expr, $op:expr, $expected:expr) => {
#[test]
#[cfg(feature = "dyn_cmp_dict")]
fn $test_name() {
let expected = BooleanArray::from($expected);
let left: DictionaryArray<Int8Type> = $left.into_iter().collect();
Expand Down
5 changes: 1 addition & 4 deletions arrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ rand = { version = "0.8", default-features = false, features = ["std", "std_rng"
pyo3 = { version = "0.19", default-features = false, optional = true }

[package.metadata.docs.rs]
features = ["prettyprint", "ipc_compression", "dyn_cmp_dict", "ffi", "pyarrow"]
features = ["prettyprint", "ipc_compression", "ffi", "pyarrow"]

[features]
default = ["csv", "ipc", "json"]
Expand All @@ -85,9 +85,6 @@ pyarrow = ["pyo3", "ffi"]
force_validate = ["arrow-data/force_validate"]
# Enable ffi support
ffi = ["arrow-schema/ffi", "arrow-data/ffi"]
# Enable dyn-comparison of dictionary arrays with other arrays
# Note: this does not impact comparison against scalars
dyn_cmp_dict = ["arrow-string/dyn_cmp_dict"]
chrono-tz = ["arrow-array/chrono-tz"]

[dev-dependencies]
Expand Down
1 change: 0 additions & 1 deletion arrow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ The `arrow` crate provides the following features which may be enabled in your `
- `chrono-tz` - support of parsing timezone using [chrono-tz](https://docs.rs/chrono-tz/0.6.0/chrono_tz/)
- `ffi` - bindings for the Arrow C [C Data Interface](https://arrow.apache.org/docs/format/CDataInterface.html)
- `pyarrow` - bindings for pyo3 to call arrow-rs from python
- `dyn_cmp_dict` - enables comparison of dictionary arrays within dyn comparison kernels

## Arrow Feature Status

Expand Down