Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5.0
-
None
-
Linux / 1.5-SNAPSHOT
Description
Hi,
We are using the 1.5-SNAPSHOT version of the JDBC drilver (all) and we seem to be getting this old thing:
https://issues.apache.org/jira/browse/DRILL-2482
We are either doing something wrong or this or this is a regression. Has anyone else experienced not being able to get nested structures via the latest JDBC driver?
(I'm going to pull the lastest from master to be sure this has not been solved)
The error we get when accessing a field containing a sub-structure is :
java.lang.NoClassDefFoundError: org/apache/hadoop/io/Text
at oadd.org.apache.drill.exec.util.JsonStringArrayList.<clinit>(JsonStringArrayList.java:35)
at oadd.org.apache.drill.exec.vector.RepeatedVarCharVector$Accessor.getObject(RepeatedVarCharVector.java:293)
at oadd.org.apache.drill.exec.vector.RepeatedVarCharVector$Accessor.getObject(RepeatedVarCharVector.java:290)
at oadd.org.apache.drill.exec.vector.accessor.GenericAccessor.getObject(GenericAccessor.java:44)
at oadd.org.apache.drill.exec.vector.accessor.BoundCheckingAccessor.getObject(BoundCheckingAccessor.java:148)
at org.apache.drill.jdbc.impl.TypeConvertingSqlAccessor.getObject(TypeConvertingSqlAccessor.java:795)
at org.apache.drill.jdbc.impl.AvaticaDrillSqlAccessor.getObject(AvaticaDrillSqlAccessor.java:179)
at oadd.net.hydromatic.avatica.AvaticaResultSet.getObject(AvaticaResultSet.java:351)
at org.apache.drill.jdbc.impl.DrillResultSetImpl.getObject(DrillResultSetImpl.java:420)
Regards,
-Stefan