gongxun0928 commented on code in PR #1382:
URL: https://github.com/apache/cloudberry/pull/1382#discussion_r2419810074
##########
contrib/pax_storage/src/cpp/storage/orc/orc_writer.cc:
##########
@@ -323,18 +331,16 @@ std::vector<std::pair<int, Datum>>
OrcWriter::PrepareWriteTuple(
Assert(tuple_desc);
const auto &required_stats_cols = group_stats_.GetRequiredStatsColsMask();
- for (int i = 0; i < tuple_desc->natts; i++) {
+ for (int i : varlena_slowpath_indices_) {
Review Comment:
there is no essential difference between using 'const auto&' and 'int' in
the range-based for loop.
--
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]