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

Dmytriy Grinchenko updated DRILL-7196:
--------------------------------------
    Description: 
The issue were partially addressed with the DRILL-6732 task. However when 
issuing select request with full path to the table, select still able to 
process it regardless of the plugin state:

{code}
0: jdbc:drill:zk=local> select * from `mongo.my_binaries`.`master.files`;

0: jdbc:drill:zk=local> select md5, chunkSize from 
`mongo.ambari_binaries`.`master.files`;
+-----------------------------------+------------+
|                md5                | chunkSize  |
+-----------------------------------+------------+
| 4e30dc965bb8aa064af4f2a9608fa7ae  | 261120     |
| b223e44347e63fcae296e8432755e07c  | 261120     |
| 2720c5e10e739142d1b28996349a1d7e  | 261120     |
+-----------------------------------+------------+

0: jdbc:drill:zk=local> show schemas;
+---------------------+
|     SCHEMA_NAME     |
+---------------------+
| cp.default          |
| dfs.default         |
| dfs.root            |
| dfs.test            |
| dfs.tmp             |
| hive.default        |
| information_schema  |
| sys                 |
+---------------------+
8 rows selected (0.127 seconds)
{code}

  was:
The issue were partially addressed with the DRILL-6732 task. However when 
issuing select request with full path to the table, select still able to 
process it regardless of the plugin state:

{code}
0: jdbc:drill:zk=local> select * from `mongo.my_binaries`.`master.files`;

+------------------------------------------+-----------------------------------+------------+------------+--------------------------+
|                   _id                    |                md5                
| chunkSize  |   length   |        uploadDate        |
+------------------------------------------+-----------------------------------+------------+------------+--------------------------+
|                                          | 4e30dc965bb8aa064af4f2a9608fa7ae  
| 261120     | 291830238  | 2019-04-24 07:16:22.355  |
|                                          | b223e44347e63fcae296e8432755e07c  
| 261120     | 649511     | 2019-05-08 06:59:33.618  |
|                                          | 2720c5e10e739142d1b28996349a1d7e  
| 261120     | 395283140  | 2019-05-10 08:23:27.041  |
+------------------------------------------+-----------------------------------+------------+------------+--------------------------+

0: jdbc:drill:zk=local> show schemas;
+---------------------+
|     SCHEMA_NAME     |
+---------------------+
| cp.default          |
| dfs.default         |
| dfs.root            |
| dfs.test            |
| dfs.tmp             |
| hive.default        |
| information_schema  |
| sys                 |
+---------------------+
8 rows selected (0.127 seconds)
{code}


> Queries are still runnable on disabled plugins
> ----------------------------------------------
>
>                 Key: DRILL-7196
>                 URL: https://issues.apache.org/jira/browse/DRILL-7196
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>    Affects Versions: 1.12.0
>            Reporter: Dmytriy Grinchenko
>            Assignee: Dmytriy Grinchenko
>            Priority: Major
>             Fix For: 1.17.0
>
>
> The issue were partially addressed with the DRILL-6732 task. However when 
> issuing select request with full path to the table, select still able to 
> process it regardless of the plugin state:
> {code}
> 0: jdbc:drill:zk=local> select * from `mongo.my_binaries`.`master.files`;
> 0: jdbc:drill:zk=local> select md5, chunkSize from 
> `mongo.ambari_binaries`.`master.files`;
> +-----------------------------------+------------+
> |                md5                | chunkSize  |
> +-----------------------------------+------------+
> | 4e30dc965bb8aa064af4f2a9608fa7ae  | 261120     |
> | b223e44347e63fcae296e8432755e07c  | 261120     |
> | 2720c5e10e739142d1b28996349a1d7e  | 261120     |
> +-----------------------------------+------------+
> 0: jdbc:drill:zk=local> show schemas;
> +---------------------+
> |     SCHEMA_NAME     |
> +---------------------+
> | cp.default          |
> | dfs.default         |
> | dfs.root            |
> | dfs.test            |
> | dfs.tmp             |
> | hive.default        |
> | information_schema  |
> | sys                 |
> +---------------------+
> 8 rows selected (0.127 seconds)
> {code}



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

Reply via email to