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

Kunal Khatua commented on DRILL-6982:
-------------------------------------

I'm a little confused. Is this a documentation bug?
I would think setting the flag to {{false}} should +not+ return the row count.
 [~bbevens] ?

> Affected rows count is not returned by Drill if return_result_set_for_ddl is 
> false
> ----------------------------------------------------------------------------------
>
>                 Key: DRILL-6982
>                 URL: https://issues.apache.org/jira/browse/DRILL-6982
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.15.0
>            Reporter: Anton Gozhiy
>            Priority: Major
>
> *Prerequisites:*
> {code:sql}
> set `exec.query.return_result_set_for_ddl`= false;
> {code}
> *Query:*
> {code:sql}
> create table dfs.tmp.`nation as select * from cp.`tpch/nation.parquet`;
> {code}
> *Expected result:*
> Drill should return the number of affected rows (25 in this case)
> *Actual Result:*
> The table was created, but affected rows count wasn't returned:
> {noformat}
> No rows affected (1.755 seconds)
> {noformat}



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

Reply via email to