Re: Issue in developing UDF

2016-01-08 Thread Nathan Griffith
Hi again Nirav, Yup that looks like Drill just isn't finding the function. Do you have a '/src/main/resources/drill-module.conf' file set up in your Maven project for the UDF? If so, could you paste the text here? Best, Nathan On Thu, Jan 7, 2016 at 11:03 PM, Nirav Shah wrote: > Sorry for delay

1.5-SNAPSHOT and UDFs

2016-01-08 Thread Stefán Baxter
Hi, My UDFs have stopped working with the latest version of 1.5-SNAPSHOT (pulled just now). The error is: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Error: SYSTEM ERROR: IllegalArgumentException: Invalid format: "{DrillBuf[74], udle identityHash..." Fragme

Querying Postgres will Drill

2016-01-08 Thread daniel.a.corin
Hi, I am trying to query a Postgres database will the Apache distribution of Drill, version 1.4.0. This issue is possibly related to the unresolved thread here: http://mail-archives.apache.org/mod_mbox/drill-user/201509.mbox/%3c96f2de9e-333b-47a8-8e36-8df72e88d...@contiamo.com%3E I've added the

Re: 1.5-SNAPSHOT and UDFs

2016-01-08 Thread Stefán Baxter
Hi, This seems to have something to do with reading string values from a VarCharHolder. Here is the code that has stopped working: String someValue = input2.buffer.toString(input2.start, input2.end-input2. start, java.nio.charset.Charset.defaultCharset()) It used to return only the string valu

Apache Drill-Querying One JSON File Per Record Option

2016-01-08 Thread John Radin
Hello All- First off, I just wanted to thank you all for this great project. Given the scale and heterogenuity of modern data sources, drill has killer use cases. I did want to inquire about a use case I have been researching where I think Drill could be very useful in my ETL pipeline. I just w

Re: 1.5-SNAPSHOT and UDFs

2016-01-08 Thread Stefán Baxter
Hi again, This code can be used to reproduce this behavior: @FunctionTemplate(name = "asEcho", scope = FunctionTemplate.FunctionScope.SIMPLE, nulls = FunctionTemplate.NullHandling.NULL_IF_NULL) public static class asEcho implements DrillSimpleFunc { @Param VarCharHolder input1; @Out

Re: 1.5-SNAPSHOT and UDFs

2016-01-08 Thread Stefán Baxter
So, This is happening due to changes made to DrillBuffer as a part of Drill-4134 (53dcabeb83f53c8e29aff9c9282eaaa20a8b27ee) @Override public String toString(int index, int length, Charset charset) { final String basics = String.format("{DrillBuf[%d], udle identityHashCode == %d, identity

Classpath scanning & udfs

2016-01-08 Thread rahul challapalli
Before 1.2, my udfs project contained an empty drill-override.conf file and I used to update the drill-override.conf on all the drillbits to specify the package of my UDF. This is no longer working for me. I tried a few things and below is how my drill-override.conf file looks now drill.classpath.

feature request

2016-01-08 Thread Jin Chen
Hi, Just want to know whether apachdrill has plan to support client binding in the future. Such as python/nodejs/golang client, so I could write program to query automatically. Thanks, Jin

Re: feature request

2016-01-08 Thread Rohit Kulkarni
I believe you can still use REST interface to do that! On Sat, Jan 9, 2016 at 5:25 AM, Jin Chen wrote: > Hi, > Just want to know whether apachdrill has plan to support client binding in > the future. > Such as python/nodejs/golang client, so I could write program to query > automatically. > > T