[ 
https://issues.apache.org/jira/browse/DRILL-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808777#comment-16808777
 ] 

ASF GitHub Bot commented on DRILL-7145:
---------------------------------------

agozhiy commented on pull request #1727: DRILL-7145: Exceptions happened during 
retrieving values from ValueVe…
URL: https://github.com/apache/drill/pull/1727#discussion_r271769864
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/WebUserConnection.java
 ##########
 @@ -151,7 +151,7 @@ public void sendData(RpcOutcomeListener<Ack> listener, 
QueryWritableBatch result
         loader.clear();
       }
     } catch (Exception e) {
-      exception = UserException.systemError(e).build(logger);
+      throw UserException.systemError(e).build(logger);
 
 Review comment:
   Changed the approach to calling listener.failed() instead of throwing the 
exception.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


> Exceptions happened during retrieving values from ValueVector are not being 
> displayed at the Drill Web UI
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-7145
>                 URL: https://issues.apache.org/jira/browse/DRILL-7145
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.15.0
>            Reporter: Anton Gozhiy
>            Assignee: Anton Gozhiy
>            Priority: Major
>             Fix For: 1.16.0
>
>
> *Data:*
> A text file with the following content:
> {noformat}
> Id,col1,col2
> 1,aaa,bbb
> 2,ccc,ddd
> 3,eee
> 4,fff,ggg
> {noformat}
> Note that the record with id 3 has not value for the third column.
> exec.storage.enable_v3_text_reader should be false.
> *Submit the query from the Web UI:*
> {code:sql}
> select * from 
> table(dfs.tmp.`/drill/text/test`(type=>'text',lineDelimiter=>'\n',fieldDelimiter=>',',extractHeader=>true))
> {code}
> *Expected result:*
> Exception should happen due to DRILL-4814. It should be properly displayed.
> *Actual result:*
> Incorrect data is returned but without error. Query status: success.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to