csun5285 commented on code in PR #35668:
URL: https://github.com/apache/doris/pull/35668#discussion_r1623725823


##########
be/src/olap/single_replica_compaction.cpp:
##########
@@ -399,8 +401,16 @@ Status SingleReplicaCompaction::_download_files(DataDir* 
data_dir,
     MonotonicStopWatch watch;
     watch.start();
     for (auto& file_name : file_name_list) {
-        auto remote_file_url = remote_url_prefix + file_name;
-
+        std::string remote_file_url;
+        // The file name of the variant column with the inverted index 
contains %
+        // We need to handle %, otherwise it will cause an HTTP 404 error.
+        if (file_name.find('%') != std::string::npos) {

Review Comment:
    '@' is also used as a separator in the variant column's inverted index file 
name and does not cause any additional impact. such as 
020000000000003f624c4c322c568271060f9b5b274a4a95_0_10133@properties%2Emessage.idx,
 `properties` is a variant column name, `10133` is  a index id.



-- 
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

Reply via email to