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 2020/03/30 04:18:49 UTC

[GitHub] [incubator-doris] morningman opened a new issue #3224: [Bug] NPE when using unknown function in broker load process

morningman opened a new issue #3224: [Bug] NPE when using unknown function in broker load process
URL: https://github.com/apache/incubator-doris/issues/3224
 
 
   **Describe the bug**
   when using unknown function in broker load process, NPE will throw as:
   
   ```
   java.lang.NullPointerException: null
           at org.apache.doris.analysis.Analyzer.getDefaultDb(Analyzer.java:1442) ~[palo-fe.jar:?]
           at org.apache.doris.analysis.FunctionName.analyzeDb(FunctionName.java:128) ~[palo-fe.jar:?]
           at org.apache.doris.analysis.FunctionCallExpr.analyzeImpl(FunctionCallExpr.java:547) ~[palo-fe.jar:?]
           at org.apache.doris.analysis.Expr.analyze(Expr.java:364) ~[palo-fe.jar:?]
           at org.apache.doris.load.Load.initColumns(Load.java:1017) ~[palo-fe.jar:?]
           at org.apache.doris.planner.BrokerScanNode.initColumns(BrokerScanNode.java:238) ~[palo-fe.jar:?]
           at org.apache.doris.planner.BrokerScanNode.initParams(BrokerScanNode.java:213) ~[palo-fe.jar:?]
           at org.apache.doris.planner.BrokerScanNode.init(BrokerScanNode.java:167) ~[palo-fe.jar:?]
           at org.apache.doris.load.loadv2.LoadingTaskPlanner.plan(LoadingTaskPlanner.java:119) ~[palo-fe.jar:?]
           at org.apache.doris.load.loadv2.LoadLoadingTask.init(LoadLoadingTask.java:89) ~[palo-fe.jar:?]
           at org.apache.doris.load.loadv2.BrokerLoadJob.createLoadingTask(BrokerLoadJob.java:378) ~[palo-fe.jar:?]
           at org.apache.doris.load.loadv2.BrokerLoadJob.onPendingTaskFinished(BrokerLoadJob.java:340) ~[palo-fe.jar:?]
           at org.apache.doris.load.loadv2.BrokerLoadJob.onTaskFinished(BrokerLoadJob.java:230) ~[palo-fe.jar:?]
           at org.apache.doris.load.loadv2.LoadTask.exec(LoadTask.java:51) [palo-fe.jar:?]
           at org.apache.doris.task.MasterTask.run(MasterTask.java:31) [palo-fe.jar:?]
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_161]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
   ```
   
   **Why**
   
   This is because of the wrong function checking logic.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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


[GitHub] [incubator-doris] imay closed issue #3224: [Bug] NPE when using unknown function in broker load process

Posted by GitBox <gi...@apache.org>.
imay closed issue #3224: [Bug] NPE when using unknown function in broker load process
URL: https://github.com/apache/incubator-doris/issues/3224
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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