Skip to content

Commit 0718510

Browse files
JustinRush80ion-elgreco
authored andcommitted
feat: added schema evolution to MERGE statement
Signed-off-by: JustinRush80 <[email protected]>
1 parent 100b447 commit 0718510

File tree

8 files changed

+1302
-171
lines changed

8 files changed

+1302
-171
lines changed

crates/core/src/operations/cast/merge_schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ pub(crate) fn merge_arrow_field(
292292
/// Merges Arrow Table schema and Arrow Batch Schema, by allowing Large/View Types to passthrough.
293293
// Sometimes fields can't be merged because they are not the same types. So table has int32,
294294
// but batch int64. We want the preserve the table type. At later stage we will call cast_record_batch
295-
// which will cast the batch int64->int32. This is desired behaviour so we can have flexibility
295+
// which will cast the batch int64->int32. This is desired behavior so we can have flexibility
296296
// in the batch data types. But preserve the correct table and parquet types.
297297
//
298298
// Preserve_new_fields can also be disabled if you just want to only use the passthrough functionality

0 commit comments

Comments
 (0)