[Improve](complex-type) update for array/map element_at with nested complex type with local tvf (#22927)

This commit is contained in:
amory
2023-08-16 20:47:36 +08:00
committed by GitHub
parent a5c73c7a39
commit 390c52f73a
8 changed files with 550 additions and 18 deletions

View File

@ -165,6 +165,7 @@ void ColumnMap::pop_back(size_t n) {
}
void ColumnMap::insert_from(const IColumn& src_, size_t n) {
DCHECK(n < src_.size());
const ColumnMap& src = assert_cast<const ColumnMap&>(src_);
size_t size = src.size_at(n);
size_t offset = src.offset_at(n);