dutyu opened a new issue, #20088:
URL: https://github.com/apache/doris/issues/20088

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   1.2.4
   
   ### What's Wrong?
   
   SQL:
   ```sql
   select 
     t_1.y_all_nums, 
     t_2.by_all_nums, 
     (t_1.y_all_nums - t_2.by_all_nums)* 100 / t_2.by_all_nums as n1 
   from 
     (
       SELECT 
         'editlog_info' as name, 
         count(1) as y_all_nums 
       from 
         dp_data_db.editlog_info 
       where 
         pday = '20230416'
     ) t_1 
     left outer join (
       select 
         'editlog_info' as name, 
         count(1) as by_all_nums 
       from 
         dp_data_db.editlog_info 
       where 
         pday = '20230415'
     ) t_2 on t_1.name = t_2.name 
   LIMIT 
     1000
   ```
   
   Error message: `detailMessage = Fail to parse columnsFromPath, expected: 
[pday], filePath: hdfs://xxx/auditlog/output/20230416/part-00000`
   
   This table is a hive external table, the tbl creater defines the source data 
path as `hdfs://xxx/auditlog/output/${pay}`, it does not match the 
"hdfs://xxx/../partition-key=partition-value" format. 
   
   ### What You Expected?
   
   Query should not fail.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to