Feature: transform during load
Author: youngsofunCreated Feb 23, 2023Updated Sep 20, 2026
LabelsC-feature
Summary
todo
- RFC
- support named stage: https://github.com/datafuselabs/databend/pull/10561
- support uri
- support part of columns(maybe reordered): https://github.com/datafuselabs/databend/issues/10582
- support filter, is it reasonable?
- distributed
- refactor: parquet
copy into tableall use ParquetTable Instead of StageTable, (parquet unload and streaming load still need StageTable)- try to avoid OOM after the refactor
the following is out-of-date, we mainly rely on copy from select
auto cast
- for text format, more rules is trivial.
- for parquet, need some rules or just all built-in cast
copy from select (much more general)
- copy into is easier to impl with subquery since we already support select from stage.
- need Atomicity
- streaming_load is harder, since it is syntax is special
- copy into is easier to impl with subquery since we already support select from stage.
insert to view( the view do some transform before insert to table)
Source: databendlabs/databend