feat(copy_to_csv): add date_format/timestamp_format/time_format. (#6995)

feat(copy_to_csv): add `date_format` and so on to `Copy ... to with` syntax

Signed-off-by: Yihai Lin <yihai-lin@foxmail.com>
This commit is contained in:
Lin Yihai
2025-09-24 14:22:53 +08:00
committed by GitHub
parent c7050831db
commit b5a8725582
14 changed files with 224 additions and 37 deletions

View File

@@ -160,6 +160,12 @@ impl CopyTableArgument {
.get(common_datasource::file_format::FILE_PATTERN)
.cloned()
}
pub fn timestamp_pattern(&self) -> Option<String> {
self.with
.get(common_datasource::file_format::TIMESTAMP_FORMAT)
.cloned()
}
}
#[cfg(test)]