-
Notifications
You must be signed in to change notification settings - Fork 926
Split out arrow-ord (#2594) #3299
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,18 +25,20 @@ on: | |
- master | ||
pull_request: | ||
paths: | ||
- arrow/** | ||
- .github/** | ||
- arrow-array/** | ||
- arrow-buffer/** | ||
- arrow-cast/** | ||
- arrow-csv/** | ||
- arrow-data/** | ||
- arrow-schema/** | ||
- arrow-select/** | ||
- arrow-integration-test/** | ||
- arrow-ipc/** | ||
- arrow-csv/** | ||
- arrow-json/** | ||
- .github/** | ||
- arrow-ord/** | ||
- arrow-schema/** | ||
- arrow-select/** | ||
- arrow-string/** | ||
- arrow/** | ||
|
||
jobs: | ||
|
||
|
@@ -58,8 +60,8 @@ jobs: | |
run: cargo test -p arrow-data --all-features | ||
- name: Test arrow-schema with all features | ||
run: cargo test -p arrow-schema --all-features | ||
- name: Test arrow-array with all features | ||
run: cargo test -p arrow-array --all-features | ||
- name: Test arrow-array with all features except SIMD | ||
run: cargo test -p arrow-array | ||
- name: Test arrow-select with all features | ||
run: cargo test -p arrow-select --all-features | ||
- name: Test arrow-cast with all features | ||
|
@@ -72,6 +74,8 @@ jobs: | |
run: cargo test -p arrow-json --all-features | ||
- name: Test arrow-string with all features | ||
run: cargo test -p arrow-string --all-features | ||
- name: Test arrow-ord with all features except SIMD | ||
run: cargo test -p arrow-ord --features dyn_cmp_dict | ||
- name: Test arrow-integration-test with all features | ||
run: cargo test -p arrow-integration-test --all-features | ||
- name: Test arrow with default features | ||
|
@@ -129,10 +133,12 @@ jobs: | |
uses: ./.github/actions/setup-builder | ||
with: | ||
rust-version: nightly | ||
- name: Run tests --features "simd" | ||
run: cargo test -p arrow --features "simd" | ||
- name: Check compilation --features "simd" | ||
run: cargo check -p arrow --features simd | ||
- name: Test arrow-array with SIMD | ||
run: cargo test -p arrow-array --features simd | ||
- name: Test arrow-ord with SIMD | ||
run: cargo test -p arrow-ord --features simd | ||
- name: Test arrow with SIMD | ||
run: cargo test -p arrow --features simd | ||
- name: Check compilation --features simd --all-targets | ||
run: cargo check -p arrow --features simd --all-targets | ||
|
||
|
@@ -174,8 +180,8 @@ jobs: | |
run: cargo clippy -p arrow-data --all-targets --all-features -- -D warnings | ||
- name: Clippy arrow-schema with all features | ||
run: cargo clippy -p arrow-schema --all-targets --all-features -- -D warnings | ||
- name: Clippy arrow-array with all features | ||
run: cargo clippy -p arrow-array --all-targets --all-features -- -D warnings | ||
- name: Clippy arrow-array with all features except SIMD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I created rust-lang/cargo#11467 to track making this less error prone |
||
run: cargo clippy -p arrow-array --all-targets -- -D warnings | ||
- name: Clippy arrow-select with all features | ||
run: cargo clippy -p arrow-select --all-targets --all-features -- -D warnings | ||
- name: Clippy arrow-cast with all features | ||
|
@@ -188,5 +194,7 @@ jobs: | |
run: cargo clippy -p arrow-json --all-targets --all-features -- -D warnings | ||
- name: Clippy arrow-string with all features | ||
run: cargo clippy -p arrow-string --all-targets --all-features -- -D warnings | ||
- name: Clippy arrow-ord with all features except SIMD | ||
run: cargo clippy -p arrow-ord --all-targets --features dyn_cmp_dict -- -D warnings | ||
- name: Clippy arrow | ||
run: cargo clippy -p arrow --features=prettyprint,csv,ipc,test_utils,ffi,ipc_compression,dyn_cmp_dict,dyn_arith_dict,chrono-tz --all-targets -- -D warnings |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,6 @@ on: | |
- arrow-ipc/** | ||
- arrow-schema/** | ||
- arrow-select/** | ||
- arrow-string/** | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. arrow-flight doesn't depend on this crate and so this can be removed |
||
- .github/** | ||
|
||
jobs: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,6 @@ on: | |
- arrow-ipc/** | ||
- arrow-csv/** | ||
- arrow-json/** | ||
- arrow-string/** | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Parquet doesn't actually depend on any of these kernels, and so this can be removed |
||
- parquet/** | ||
- .github/** | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
[package] | ||
name = "arrow-ord" | ||
version = "28.0.0" | ||
description = "Ordering kernels for arrow arrays" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would "comparison kernels" be a more accurate description? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are sort kernels in there, so it is kind of kernels that relate to the ordering of elements? Maybe? I don't really feel strongly, was just trying to justify why it is arrow-ord and not arrow-cmp or something 😅 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is fine 👍 |
||
homepage = "https://github.com/apache/arrow-rs" | ||
repository = "https://github.com/apache/arrow-rs" | ||
authors = ["Apache Arrow <[email protected]>"] | ||
license = "Apache-2.0" | ||
keywords = ["arrow"] | ||
include = [ | ||
"benches/*.rs", | ||
"src/**/*.rs", | ||
"Cargo.toml", | ||
] | ||
edition = "2021" | ||
rust-version = "1.62" | ||
|
||
[lib] | ||
name = "arrow_ord" | ||
path = "src/lib.rs" | ||
bench = false | ||
|
||
[dependencies] | ||
arrow-array = { version = "28.0.0", path = "../arrow-array" } | ||
arrow-buffer = { version = "28.0.0", path = "../arrow-buffer" } | ||
arrow-data = { version = "28.0.0", path = "../arrow-data" } | ||
arrow-schema = { version = "28.0.0", path = "../arrow-schema" } | ||
arrow-select = { version = "28.0.0", path = "../arrow-select" } | ||
num = { version = "0.4", default-features = false, features = ["std"] } | ||
|
||
[dev-dependencies] | ||
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"] } | ||
|
||
[features] | ||
dyn_cmp_dict = [] | ||
simd = ["arrow-array/simd"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to add this in #3295