Skip to content

Commit 54780e8

Browse files
YaroslavLitvinovDenys Tsomenko
authored andcommitted
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)" This reverts commit 314a726. * revert changes as of a bad approach use
1 parent 6c262ca commit 54780e8

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

datafusion/core/tests/user_defined/insert_operation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl ExecutionPlan for TestInsertExec {
184184
fn make_count_schema() -> SchemaRef {
185185
Arc::new(Schema::new(vec![Field::new(
186186
"count",
187-
DataType::Int64, // should return signed int for snowflake
187+
DataType::UInt64,
188188
false,
189189
)]))
190190
}

datafusion/expr/src/logical_plan/dml.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ impl Display for InsertOp {
236236

237237
fn make_count_schema() -> DFSchemaRef {
238238
Arc::new(
239-
// should return signed int for snowflake
240-
Schema::new(vec![Field::new("count", DataType::Int64, false)])
239+
Schema::new(vec![Field::new("count", DataType::UInt64, false)])
241240
.try_into()
242241
.unwrap(),
243242
)

0 commit comments

Comments
 (0)