cosven commented on code in PR #35668:
URL: https://github.com/apache/doris/pull/35668#discussion_r1623713911
##########
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:
what if variant_column_name contains a '@' symbol?
Some users have the following ddl
```sql
CREATE TABLE log_test (
`@@id` CHAR(34) NOT NULL ,
`@message` STRING NOT NULL ,
INDEX idx_message_inv(`@message`) USING INVERTED PROPERTIES(
"parser" = "unicode",
"support_phrase" = "true"
)
)
```
--
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]