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

Denys Ordynskiy updated DRILL-6932:
-----------------------------------
    Summary: Drill can't submit Physical plan returned by submitting Logical 
plan  (was: Drill can't submit Physical plan, returned by submitting Logical 
plan)

> Drill can't submit Physical plan returned by submitting Logical plan
> --------------------------------------------------------------------
>
>                 Key: DRILL-6932
>                 URL: https://issues.apache.org/jira/browse/DRILL-6932
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.14.0
>            Reporter: Denys Ordynskiy
>            Priority: Major
>
> *Description:*
> Drill WebUI allows to submit Logical plan and returns 2 types of a result:
> - "resultMode" : "EXEC" - to get query result set
> - "resultMode" : "PHYSICAL" - to get Physical plan of the query
> If I get Physical plan by submiting Logical plan with "resultMode" : 
> "PHYSICAL",
> this Physical plan throws an error after submiting it.
> *Steps to reproduce issue in a Drill WebUI:*
> - get Logical plan by running query "EXPLAIN PLAN WITHOUT IMPLEMENTATION FOR 
> SELECT * FROM cp.`employee.json` LIMIT 2";
> - change "resultMode" from "LOGICAL" to "PHYSICAL";
> - select "Query Type" - "LOGICAL" and submit Logical plan and get Physical 
> plan;
> - select "Query Type" - "PHYSICAL" and submit Physical plan;
> *Actual result:*
> {color:#d04437}*Query Failed: An Error Occurred*
> org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: 
> IllegalStateException: Already had POJO for id (java.lang.Integer) 
> [[ObjectId: key=0, 
> type=com.fasterxml.jackson.databind.deser.impl.PropertyBasedObjectIdGenerator,
>  scope=java.lang.Object]] Please, refer to logs for more information. [Error 
> Id: f7a2422f-55e8-4478-9e22-1008175ce9b6 on maprhost:31010]{color}
> *Expected result:*
> result set for the original query "SELECT * FROM cp.`employee.json` LIMIT 2"



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

Reply via email to