HappenLee commented on code in PR #59263:
URL: https://github.com/apache/doris/pull/59263#discussion_r3315341731
##########
be/src/storage/segment/column_reader.cpp:
##########
@@ -882,6 +901,37 @@ Result<TColumnAccessPaths>
ColumnIterator::_get_sub_access_paths(
return sub_access_paths;
}
+Result<TColumnAccessPaths> ColumnIterator::_process_sub_access_paths(
+ const TColumnAccessPaths& access_paths, const bool is_predicate) {
+ TColumnAccessPaths sub_access_paths = access_paths;
+ for (auto it = sub_access_paths.begin(); it != sub_access_paths.end();) {
+ TColumnAccessPath& name_path = *it;
+ if (name_path.data_access_path.path.empty()) {
+ return ResultError(
+ Status::InternalError("Invalid access path for struct
column: path is empty"));
Review Comment:
这个代码不只是只有strut,map也会走到这里,感觉你这个报错不对,得根据具体类型来看
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]