Skip to content
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
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ FEDORA=33
PYTHON=3.6
LLVM=11
CLANG_TOOLS=8
RUST=nightly-2021-09-07
RUST=nightly-2021-10-21
GO=1.15
NODE=14
MAVEN=3.5.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-09-07
toolchain: nightly-2021-10-21

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: |
rustup toolchain install nightly-2021-09-07
rustup default nightly-2021-09-07
rustup toolchain install nightly-2021-10-21
rustup default nightly-2021-10-21
rustup component add rustfmt
- name: Cache Cargo
uses: actions/cache@v2
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup toolchain
run: |
rustup toolchain install stable
rustup default stable
- uses: actions/setup-python@v2
with:
python-version: "3.9"
Expand Down Expand Up @@ -283,7 +287,7 @@ jobs:
strategy:
matrix:
arch: [amd64]
rust: [nightly-2021-09-07]
rust: [nightly-2021-10-21]
steps:
- uses: actions/checkout@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion ballista-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
license = "Apache-2.0"
keywords = [ "arrow", "distributed", "query", "sql" ]
edition = "2018"
edition = "2021"
publish = false
rust-version = "1.56"

[dependencies]
arrow-flight = { version = "6.0.0" }
Expand Down
3 changes: 2 additions & 1 deletion ballista/rust/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ version = "0.6.0"
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
edition = "2018"
edition = "2021"
rust-version = "1.56"

[dependencies]
ballista-core = { path = "../core", version = "0.6.0" }
Expand Down
2 changes: 1 addition & 1 deletion ballista/rust/scheduler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ballista-core = { path = "../core", version = "0.6.0" }
uuid = { version = "0.8", features = ["v4"] }

[build-dependencies]
configure_me_codegen = "0.4.0"
configure_me_codegen = "0.4.1"
tonic-build = { version = "0.5" }

[package.metadata.configure_me.bin]
Expand Down
3 changes: 2 additions & 1 deletion benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
name = "arrow-benchmarks"
description = "Apache Arrow Benchmarks"
version = "4.0.0-SNAPSHOT"
edition = "2018"
edition = "2021"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"
license = "Apache-2.0"
publish = false
rust-version = "1.56"

[features]
simd = ["datafusion/simd"]
Expand Down
2 changes: 1 addition & 1 deletion ci/docker/linux-apt-lint.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ COPY ci/scripts/install_iwyu.sh /arrow/ci/scripts/
RUN arrow/ci/scripts/install_iwyu.sh /tmp/iwyu /usr/local ${clang_tools}

# Rust linter
ARG rust=nightly-2021-09-07
ARG rust=nightly-2021-10-21
RUN curl https://sh.rustup.rs -sSf | \
sh -s -- --default-toolchain stable -y
ENV PATH /root/.cargo/bin:$PATH
Expand Down
4 changes: 2 additions & 2 deletions datafusion-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
name = "datafusion-cli"
version = "5.1.0-SNAPSHOT"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
edition = "2018"
edition = "2021"
keywords = [ "arrow", "datafusion", "ballista", "query", "sql", "cli", "repl" ]
license = "Apache-2.0"
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"

rust-version = "1.56"

[dependencies]
clap = "2.33"
Expand Down
2 changes: 1 addition & 1 deletion datafusion-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

FROM rust:1.55 as builder
FROM rust:1.56 as builder

COPY ./datafusion /usr/src/datafusion

Expand Down
3 changes: 2 additions & 1 deletion datafusion-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
license = "Apache-2.0"
keywords = [ "arrow", "query", "sql" ]
edition = "2018"
edition = "2021"
publish = false
rust-version = "1.56"

[[example]]
name = "avro_sql"
Expand Down
3 changes: 2 additions & 1 deletion datafusion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ include = [
"src/**/*.rs",
"Cargo.toml",
]
edition = "2018"
edition = "2021"
rust-version = "1.56"

[lib]
name = "datafusion"
Expand Down
2 changes: 0 additions & 2 deletions datafusion/src/optimizer/filter_push_down.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1172,8 +1172,6 @@ mod tests {
fn table_scan_with_pushdown_provider(
filter_support: TableProviderFilterPushDown,
) -> Result<LogicalPlan> {
use std::convert::TryFrom;

let test_provider = PushDownProvider { filter_support };

let table_scan = LogicalPlan::TableScan {
Expand Down
1 change: 0 additions & 1 deletion datafusion/src/physical_plan/expressions/not.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ impl PhysicalExpr for NotExpr {
)))
}
ColumnarValue::Scalar(scalar) => {
use std::convert::TryInto;
let bool_value: bool = scalar.try_into()?;
Ok(ColumnarValue::Scalar(ScalarValue::Boolean(Some(
!bool_value,
Expand Down
3 changes: 2 additions & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ authors = ["Apache Arrow <dev@arrow.apache.org>"]
description = "Build and run queries against data"
readme = "README.md"
license = "Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56"

[dependencies]
libc = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion python/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2021-09-07
nightly-2021-10-21
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

edition = "2018"
edition = "2021"
max_width = 90

# ignore generated files
Expand Down