xy720 commented on PR #19045: URL: https://github.com/apache/doris/pull/19045#issuecomment-1576800144
> It seems that `struct_element` will read the whole struct and discard other none related columns,will we implement a function that only read the target column.This could save lots of scan io. That's a very good idea! How to scan target field is important. But I think what we need is not only a function. What we should do is that we prune sub fields in struct/map type while generating query plan in Fe. And then pass the pruned fields into column_reader.new_iterator() function in be, so that we read only the target field in Block, which will be passed to function. This is very important when we support nested complex type. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org