Skip to content

Commit

Permalink
rename crate to datafusion-comet-spark-expr
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jul 9, 2024
1 parent dc665ab commit 8eec13e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
24 changes: 12 additions & 12 deletions native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion native/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ once_cell = "1.18.0"
regex = "1.9.6"
crc32fast = "1.3.2"
simd-adler32 = "0.3.7"
datafusion-spark-expr = { path = "../spark-expr", version = "0.1.0" }
datafusion-comet-spark-expr = { path = "../spark-expr", version = "0.1.0" }

[build-dependencies]
prost-build = "0.9.0"
Expand Down
2 changes: 1 addition & 1 deletion native/core/src/execution/datafusion/expressions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ mod utils;
pub mod variance;
pub mod xxhash64;

pub use datafusion_spark_expr::EvalMode;
pub use datafusion_comet_spark_expr::EvalMode;

fn arithmetic_overflow_error(from_type: &str) -> CometError {
CometError::ArithmeticOverflow {
Expand Down
2 changes: 1 addition & 1 deletion native/core/src/execution/datafusion/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ use crate::{
};

use super::expressions::{create_named_struct::CreateNamedStruct, EvalMode};
use datafusion_spark_expr::abs::Abs;
use datafusion_comet_spark_expr::abs::Abs;

// For clippy error on type_complexity.
type ExecResult<T> = Result<T, ExecutionError>;
Expand Down
4 changes: 2 additions & 2 deletions native/spark-expr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

[package]
name = "datafusion-spark-expr"
name = "datafusion-comet-spark-expr"
description = "DataFusion expressions that emulate Apache Spark's behavior"
version = { workspace = true }
homepage = { workspace = true }
Expand All @@ -34,5 +34,5 @@ datafusion-common = { workspace = true }
datafusion-functions = { workspace = true }

[lib]
name = "datafusion_spark_expr"
name = "datafusion_comet_spark_expr"
path = "src/lib.rs"
2 changes: 1 addition & 1 deletion native/spark-expr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ specific language governing permissions and limitations
under the License.
-->

# datafusion-spark-expr: Spark-compatible Expressions
# datafusion-comet-spark-expr: Spark-compatible Expressions

This crate provides Apache Spark-compatible expressions for use with DataFusion and is maintained as part of the
[Apache DataFusion Comet](https://github.com/apache/datafusion-comet/) subproject.

0 comments on commit 8eec13e

Please sign in to comment.