Re: Getting Index out of bound while executing statement

2015-10-05 Thread Abhishek Girish
Hey I've seen this issue when using an incompatible JDBC jar - for example, using 1.2 jar and a 1.1 Drill-bit. This was with a JDBC program. Can you make sure you are using the same version of JDBC JAR shipped with the Drill? On Mon, Oct 5, 2015 at 8:55 AM, Nikunj Thakkar wrote: > Nope, Same que

Re: Getting Index out of bound while executing statement

2015-10-05 Thread Nikunj Thakkar
Nope, Same query works fine on sqlline and in v1.1.0 release too. The issue is V1.1.0 doesn't support prepared statement so I thought if current build is supporting it, I will use it. But I'm encountering whole new issues here. On Monday 05 October 2015 09:17 PM, Abdel Hakim Deneche wrote: He

Re: Getting Index out of bound while executing statement

2015-10-05 Thread Abdel Hakim Deneche
Hey Nikunj, Do you get an error if you run the same query in sqlline ? Thanks On Mon, Oct 5, 2015 at 7:26 AM, Boris Chmiel wrote: > Hi NikunjNo idea about the meaning this error. I has encountered it many > times I found a workaround to get rid of it by changing my request (usually > split it

Re: Getting Index out of bound while executing statement

2015-10-05 Thread Boris Chmiel
Hi NikunjNo idea about the meaning this error. I has encountered it many times I found a workaround to get rid of it by changing my request (usually split it into 2 sub-queries)Good luck Le Lundi 5 octobre 2015 12h57, Nikunj Thakkar a écrit : Hi, I'm executing simple statement

Getting Index out of bound while executing statement

2015-10-05 Thread Nikunj Thakkar
Hi, I'm executing simple statement in current master branch of drill. Getting following exceptions: java.sql.SQLException: Unexpected RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0 at org.apache.drill.jdbc.impl.DrillCursor.nextRowInternally(DrillCursor.java:261) at org.a