Zoltan Borok-Nagy has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24636 )

Change subject: IMPALA-8523: Migrate hdfsOpen to builder-based openFile API
......................................................................


Patch Set 9: Code-Review+1

(3 comments)

Left minor comments, otherwise LGTM!

http://gerrit.cloudera.org:8080/#/c/24636/9/be/src/runtime/io/hdfs-monitored-ops.cc
File be/src/runtime/io/hdfs-monitored-ops.cc:

http://gerrit.cloudera.org:8080/#/c/24636/9/be/src/runtime/io/hdfs-monitored-ops.cc@92
PS9, Line 92: understandare
typo


http://gerrit.cloudera.org:8080/#/c/24636/9/be/src/util/open-file-options-util-test.cc
File be/src/util/open-file-options-util-test.cc:

http://gerrit.cloudera.org:8080/#/c/24636/9/be/src/util/open-file-options-util-test.cc@103
PS9, Line 103: THdfsFileFormat::TEXT
Is it intended to use TEXT here?


http://gerrit.cloudera.org:8080/#/c/24636/9/be/src/util/open-file-options-util.cc
File be/src/util/open-file-options-util.cc:

http://gerrit.cloudera.org:8080/#/c/24636/9/be/src/util/open-file-options-util.cc@55
PS9, Line 55: const char* ReadPolicyForFormat(THdfsFileFormat::type format) {
            :   switch (format) {
            :     case THdfsFileFormat::PARQUET:
            :     case THdfsFileFormat::HUDI_PARQUET:
            :     case THdfsFileFormat::ORC:
            :     case THdfsFileFormat::RC_FILE:
            :     case THdfsFileFormat::AVRO:
            :     case THdfsFileFormat::JSON:
            :     case THdfsFileFormat::TEXT:
            :     case THdfsFileFormat::SEQUENCE_FILE:
            :       return RANDOM_READ_POLICY;
            :     default:
            :       // KUDU and JDBC are not read through this path. A format 
added later keeps
            :       // the S3A default until it has been considered here.
            :       return nullptr;
            :   }
            : }
This is only used by backend tests. Now that all formats return RANDOM, this 
could be removed.



--
To view, visit http://gerrit.cloudera.org:8080/24636
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I46d810b19fe7d4859e3c2bcd7568b61fe73408c1
Gerrit-Change-Number: 24636
Gerrit-PatchSet: 9
Gerrit-Owner: Daniel Vanko <[email protected]>
Gerrit-Reviewer: Daniel Vanko <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Wed, 21 Oct 2026 11:05:20 +0000
Gerrit-HasComments: Yes

Reply via email to