[ https://issues.apache.org/jira/browse/DRILL-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13984846#comment-13984846 ]
Ramana Inukonda Nagaraj commented on DRILL-592: ----------------------------------------------- Just learnt that sqlline truncates the plan unless you increase column width. Here is the full plan | ScreenPrel: rowcount = 50.0, cumulative cost = {281.48092021712586 rows, 141.0 cpu, 0.0 io}, id = 22845 SingleMergeExchangePrel(sort0=[1 ASC]): rowcount = 50.0, cumulative cost = {276.48092021712586 rows, 136.0 cpu, 0.0 io}, id = 22844 SortPrel(sort0=[$1], dir0=[ASC]): rowcount = 50.0, cumulative cost = {271.48092021712586 rows, 131.0 cpu, 0.0 io}, id = 22843 HashToRandomExchangePrel(dist0=[[$1]]): rowcount = 50.0, cumulative cost = {115.0 rows, 126.0 cpu, 0.0 io}, id = 22842 ProjectPrel(*=[$0], gpa=[$1]): rowcount = 50.0, cumulative cost = {110.0 rows, 121.0 cpu, 0.0 io}, id = 22841 FilterPrel(condition=[>($1, 2)]): rowcount = 50.0, cumulative cost = {105.0 rows, 111.0 cpu, 0.0 io}, id = 22840 ScanPrel(table=[[dfs, drillTestDirP1, student]]): rowcount = 100.0, cumulative cost = {100.0 rows, 101.0 cpu, 0.0 io}, id = 22725 > order by on select * with filter fails > -------------------------------------- > > Key: DRILL-592 > URL: https://issues.apache.org/jira/browse/DRILL-592 > Project: Apache Drill > Issue Type: Bug > Reporter: Ramana Inukonda Nagaraj > > 0: jdbc:drill:schema=dfs.drillTestDirP1> explain plan for select * from > student where gpa>2 order by gpa; > +------------+------------+ > | text | json | > +------------+------------+ > | ScreenPrel: rowcount = 50.0, cumulative cost = {281.48092021712586 rows, > 141.0 cpu, 0.0 io}, id = 17763 > SingleMergeExchangePrel(sort0=[1 ASC]): rowcount = 50.0, cumulative cost = > {276.48092021712586 rows, 136.0 cpu, 0.0 io}, id = 17762 > SortPrel(sort0=[$1], dir | > +------------+------------+ > 1 row selected (0.068 seconds) > 0: jdbc:drill:schema=dfs.drillTestDirP1> select * from student where gpa>2 > order by gpa; > Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while > running query.[error_id: "f9ef8a1b-e231-4e97-a04b-1c9da48e9262" > endpoint { > address: "drillats1.qa.lab" > user_port: 31010 > control_port: 31011 > data_port: 31012 > } > error_type: 0 > message: "Failure while running fragment. < ClassCastException:[ > org.apache.drill.exec.vector.VarBinaryVector cannot be cast to > org.apache.drill.exec.vector.Float4Vector ]" > ] > Error: exception while executing query (state=,code=0) > Might be related to Drill-586 but looks unlikely. That bug failed during plan > phase itself. -- This message was sent by Atlassian JIRA (v6.2#6252)