Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkovsky committed Feb 24, 2025
1 parent ea14a2f commit 9060345
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

12 changes: 4 additions & 8 deletions datafusion/common/src/dfschema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ pub type DFSchemaRef = Arc<DFSchema>;
/// To build a schema with metadata columns, use [DFSchema::new_with_metadata]:
/// ```rust
/// use datafusion_common::{DFSchema, Column, TableReference};
/// use arrow_schema::{Field, Schema};
/// use arrow::datatypes::DataType;
/// use arrow::datatypes::{DataType, Field, Schema};
/// use std::collections::HashMap;
///
/// let schema = Schema::new(vec![
Expand Down Expand Up @@ -233,8 +232,7 @@ impl QualifiedSchema {
/// ```rust
/// use std::sync::Arc;
/// use datafusion_common::{QualifiedSchema, TableReference};
/// use arrow_schema::{Field, Schema};
/// use arrow::datatypes::DataType;
/// use arrow::datatypes::{DataType, Field, Schema};
/// let schema = Arc::new(Schema::new(vec![
/// Field::new("c1", DataType::Int32, false),
/// ]));
Expand Down Expand Up @@ -388,8 +386,7 @@ impl QualifiedSchema {
///
/// ```rust
/// use datafusion_common::{DFSchema, QualifiedSchema, TableReference};
/// use arrow_schema::{Field, Schema};
/// use arrow::datatypes::DataType;
/// use arrow::datatypes::{DataType, Field, Schema};
/// use std::sync::Arc;
///
/// let schema1 = QualifiedSchema::new_with_table(
Expand Down Expand Up @@ -436,8 +433,7 @@ impl QualifiedSchema {
///
/// ```
/// use datafusion_common::{DFSchema, QualifiedSchema, TableReference};
/// use arrow_schema::{Field, Schema};
/// use arrow::datatypes::DataType;
/// use arrow::datatypes::{DataType, Field, Schema};
/// use std::sync::Arc;
///
/// let mut schema1 = QualifiedSchema::new_with_table(
Expand Down
2 changes: 1 addition & 1 deletion datafusion/core/tests/sql/metadata_columns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::any::Any;
use std::fmt::{self, Debug, Formatter};
use std::sync::{Arc, Mutex};

use arrow_array::{ArrayRef, StringArray, UInt64Array};
use arrow::array::{ArrayRef, StringArray, UInt64Array};
use async_trait::async_trait;
use datafusion::arrow::array::{UInt64Builder, UInt8Builder};
use datafusion::arrow::datatypes::{DataType, Field, Schema, SchemaRef};
Expand Down

0 comments on commit 9060345

Please sign in to comment.