Skip to content

Commit

Permalink
Make datafusion-sql depend on arrow-schema instead of arrow (#4456
Browse files Browse the repository at this point in the history
)

* Make `datafusion-sql` depend on `arrow-schema` instead of `arrow`

* Update Cargo.lock file of `datafusion-cli`
  • Loading branch information
mbrobbel committed Dec 1, 2022
1 parent 78ac53a commit 38e9f30
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions datafusion-cli/Cargo.lock

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

4 changes: 2 additions & 2 deletions datafusion/sql/Cargo.toml
Expand Up @@ -24,7 +24,7 @@ repository = "https://github.com/apache/arrow-datafusion"
readme = "README.md"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
license = "Apache-2.0"
keywords = [ "datafusion", "sql", "parser", "planner" ]
keywords = ["datafusion", "sql", "parser", "planner"]
edition = "2021"
rust-version = "1.62"

Expand All @@ -37,7 +37,7 @@ default = ["unicode_expressions"]
unicode_expressions = []

[dependencies]
arrow = { version = "28.0.0", default-features = false }
arrow-schema = "28.0.0"
datafusion-common = { path = "../common", version = "14.0.0" }
datafusion-expr = { path = "../expr", version = "14.0.0" }
sqlparser = "0.27"
2 changes: 1 addition & 1 deletion datafusion/sql/examples/sql.rs
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

use arrow::datatypes::{DataType, Field, Schema};
use arrow_schema::{DataType, Field, Schema};
use datafusion_common::{DataFusionError, Result};
use datafusion_expr::{
logical_plan::builder::LogicalTableSource, AggregateUDF, ScalarUDF, TableSource,
Expand Down
2 changes: 1 addition & 1 deletion datafusion/sql/src/planner.rs
Expand Up @@ -22,7 +22,7 @@ use std::str::FromStr;
use std::sync::Arc;
use std::{convert::TryInto, vec};

use arrow::datatypes::*;
use arrow_schema::*;
use sqlparser::ast::TimezoneInfo;
use sqlparser::ast::{ArrayAgg, ExactNumberInfo, SetQuantifier};
use sqlparser::ast::{
Expand Down
2 changes: 1 addition & 1 deletion datafusion/sql/src/utils.rs
Expand Up @@ -17,7 +17,7 @@

//! SQL Utility Functions

use arrow::datatypes::{DataType, DECIMAL128_MAX_PRECISION, DECIMAL_DEFAULT_SCALE};
use arrow_schema::{DataType, DECIMAL128_MAX_PRECISION, DECIMAL_DEFAULT_SCALE};
use sqlparser::ast::Ident;

use datafusion_common::{DataFusionError, Result, ScalarValue};
Expand Down

0 comments on commit 38e9f30

Please sign in to comment.