You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Chun Chang (JIRA)" <ji...@apache.org> on 2014/05/13 23:35:21 UTC

[jira] [Resolved] (DRILL-717) set option adds an entry instead of modifying the existing entry to the new value

     [ https://issues.apache.org/jira/browse/DRILL-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chun Chang resolved DRILL-717.
------------------------------

    Resolution: Fixed

invalid

> set option adds an entry instead of modifying the existing entry to the new value
> ---------------------------------------------------------------------------------
>
>                 Key: DRILL-717
>                 URL: https://issues.apache.org/jira/browse/DRILL-717
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Chun Chang
>            Assignee: Chun Chang
>
> 0: jdbc:drill:schema=dfs> select name, bool_val from sys.options where name like 'planner%';
> +------------+------------+
> |    name    |  bool_val  |
> +------------+------------+
> | planner.enable_mergejoin | true       |
> | planner.enable_broadcast_join | false      |
> | planner.enable_hashagg | true       |
> | planner.disable_exchanges | false      |
> | planner.enable_multiphase_agg | false      |
> | planner.enable_streamagg | true       |
> | planner.enable_hashjoin | true       |
> +------------+------------+
> 7 rows selected (0.15 seconds)
> 0: jdbc:drill:schema=dfs> alter session set `planner.enable_mergejoin` = false;
> +------------+------------+
> |     ok     |  summary   |
> +------------+------------+
> | true       | planner.enable_mergejoin updated. |
> +------------+------------+
> 1 row selected (0.038 seconds)
> 0: jdbc:drill:schema=dfs> select name, bool_val from sys.options where name like 'planner%';
> +------------+------------+
> |    name    |  bool_val  |
> +------------+------------+
> | planner.enable_mergejoin | true       |
> | planner.enable_broadcast_join | false      |
> | planner.enable_hashagg | true       |
> | planner.disable_exchanges | false      |
> | planner.enable_multiphase_agg | false      |
> | planner.enable_streamagg | true       |
> | planner.enable_hashjoin | true       |
> | planner.enable_mergejoin | false      |
> +------------+------------+
> 8 rows selected (0.086 seconds)



--
This message was sent by Atlassian JIRA
(v6.2#6252)