[
https://issues.apache.org/jira/browse/DRILL-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114407#comment-15114407
]
ASF GitHub Bot commented on DRILL-4291:
---------------------------------------
GitHub user jacques-n opened a pull request:
https://github.com/apache/drill/pull/336
DRILL-4291: Fix Missing classes when trying to query varchar[] using
jdbc-all
- Create a new simplified version of the Hadoop Text class that doesn't
include massive dependencies.
- Update Vectors to use new Text class.
- Update the jdbc-all module to have a test which also includes complex
types.
- Clean up exclusions in Jdbc jar file to reduce file size.
- Add an enforcer rule that ensures the adbc-all jar exclusions are
maintained in the future.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jacques-n/drill DRILL-4291
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/336.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #336
----
commit 09d7c0c06f12203ae611f8e4733bba2ce7329c03
Author: Jacques Nadeau <[email protected]>
Date: 2016-01-24T17:59:12Z
DRILL-4291: Fix Missing classes when trying to query varchar[] using JDBC
- Create a new simplified version of the Hadoop Text class that doesn't
include massive dependencies.
- Update Vectors to use new Text class.
- Update the jdbc-all module to have a test which also includes complex
types.
- Clean up exclusions in Jdbc jar file to reduce file size.
- Add an enforcer rule that ensures the adbc-all jar exclusions are
maintained in the future.
----
> JDBC Driver regression (DRILL-2482 creeping back in)
> ----------------------------------------------------
>
> Key: DRILL-4291
> URL: https://issues.apache.org/jira/browse/DRILL-4291
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - JDBC
> Affects Versions: 0.5.0
> Environment: Linux / 1.5-SNAPSHOT
> Reporter: Stefán Baxter
> Assignee: Jacques Nadeau
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)