fix(copy): pass pattern to StageTableInfo.
@@ -300,7 +300,7 @@ impl<'a> Binder {
user_stage_info: stage_info,
path,
files: vec![],
- pattern: Default::default(),
+ pattern: stmt.pattern.clone(),
files_to_copy: None,
}),
scan_fields: None,
