[jira] [Created] (DRILL-7382) Apache Drill to Hbase Connection issue

2019-09-20 Thread Amogh (Jira)
Amogh created DRILL-7382: Summary: Apache Drill to Hbase Connection issue Key: DRILL-7382 URL: https://issues.apache.org/jira/browse/DRILL-7382 Project: Apache Drill Issue Type: Bug Compone

[GitHub] [drill] arina-ielchiieva commented on issue #1749: DRILL-7177: Format Plugin for Excel Files

2019-09-20 Thread GitBox
arina-ielchiieva commented on issue #1749: DRILL-7177: Format Plugin for Excel Files URL: https://github.com/apache/drill/pull/1749#issuecomment-533517468 @cgivre since @paul-rogers is EVF creator, it would be nice if he could his opinion on the changes...

[GitHub] [drill] arina-ielchiieva edited a comment on issue #1749: DRILL-7177: Format Plugin for Excel Files

2019-09-20 Thread GitBox
arina-ielchiieva edited a comment on issue #1749: DRILL-7177: Format Plugin for Excel Files URL: https://github.com/apache/drill/pull/1749#issuecomment-533517468 @cgivre since @paul-rogers is EVF creator, it would be nice if he could give his opinion on the changes...

UDFs not Working in Unit Tests

2019-09-20 Thread Charles Givre
Hello Drillers, I'm encountering a strange error in a unit test. The code is included below, and it fails because when Drill attempts to execute the test, it cannot find the function st_astext(). If I build Drill and execute the query in the CLI it works, so I suspect there is some environmen

Re: UDFs not Working in Unit Tests

2019-09-20 Thread Paul Rogers
Hi Charles, I seem to recall fighting with something similar in the past. The problem is not with your setup; it is with how Drill finds your (custom?) UDF on the classpath. My memory is hazy; but I think it had to do with the way that Drill uses the drill-override.conf file to extend class pa

Re: UDFs not Working in Unit Tests

2019-09-20 Thread Charles Givre
Hey Paul, Thanks for your help. I should have clarified that the work I'm doing is for an ESRI Shape File plugin which is in contrib. The unit test in question calls a function which is in the contrib/udfs and I think you've pinpointed the issue. Unfortunately, running the test with maven pr

[GitHub] [drill] cgivre closed pull request #335: DRILL-4303: ESRI Shapefile (shp) format plugin

2019-09-20 Thread GitBox
cgivre closed pull request #335: DRILL-4303: ESRI Shapefile (shp) format plugin URL: https://github.com/apache/drill/pull/335 This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [drill] cgivre opened a new pull request #1858: DRILL-4303: ESRI Shapefile (shp) Format Plugin

2019-09-20 Thread GitBox
cgivre opened a new pull request #1858: DRILL-4303: ESRI Shapefile (shp) Format Plugin URL: https://github.com/apache/drill/pull/1858 # Format Plugin for ESRI Shape Files This format plugin allows Drill to read ESRI Shape files. You can read about the shapefile format here: https://en.w

Re: UDFs not Working in Unit Tests

2019-09-20 Thread Paul Rogers
Hi Charles, Your workaround sounds right. In general, unit tests should make as few assumptions as possible about the system under test; they should focus on the one part of the system they want to exercise. (There is a large body of testing theory behind this statement...) In your case, it ma

Re: UDFs not Working in Unit Tests

2019-09-20 Thread Charles Givre
Hey Paul, It turns out that I got it to work by added a test dependency in the plugin's pom.xml file. I ended up keeping the unit test because in this instance, one of the fields returned is a VARBINARY field, specifically a shape, which is not really possible to interpret without using one of