You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/06/09 06:57:57 UTC

[GitHub] [incubator-doris] whutpencil opened a new issue, #10032: [Bug] Brokerload judges the orc empty file logic is defective

whutpencil opened a new issue, #10032:
URL: https://github.com/apache/incubator-doris/issues/10032

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   0.15-rc03
   
   ### What's Wrong?
   
   When we use broker to import hive data, the following error occurs:
   ![image](https://user-images.githubusercontent.com/24907215/172783446-20bc022a-66e4-4840-844b-78aec6170bbf.png)
   Although there is a relevant PR that addresses this issue, there seems to be a flaw:https://github.com/apache/incubator-doris/issues/4812
   ![image](https://user-images.githubusercontent.com/24907215/172783743-88934590-0235-4513-be09-4ce81f20e972.png)
   
   when we use `hive --orcfiledump hdfs://xxx`,  shows that it is indeed a 49 byte empty orc file
   ![image](https://user-images.githubusercontent.com/24907215/172783961-183c5e17-c407-430a-92d7-cfcec649e451.png)
   
   But in the code logic, the empty file is judged by size==0:
   ![image](https://user-images.githubusercontent.com/24907215/172784422-de434547-c767-4162-827b-1d989834e64f.png)
   
   
   
   ### What You Expected?
   
   Correctly judge the orc empty file
   
   ### 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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org