The compiled tool I use to read the files today is written in C. It converts 
the files to ASCII CSV and prints to STDOUT. Would that work in a format plugin?

Thanks,
Scott Wilburn


-----Original Message-----
From: Jason Altekruse [mailto:[email protected]] 
Sent: Tuesday, March 08, 2016 08:31 AM
To: user
Subject: [E] Re: binary file searching

Not quite sure what you mean by "compiled tool". I'm guessing the most 
efficient way to accomplish something like this would be to write a format 
plugin that would call out to this external code and then read the result with 
the Drill CSV reader. Is this external tool written in Java or another language 
like Scala that compiles to JVM bytecode? We currently don't include any code 
with the Drill server that crosses the JNI boundary to run a native binary 
executable, but it should be possible.

On Tue, Mar 8, 2016 at 8:16 AM, Wilburn, Scott < 
[email protected]> wrote:

> Hello,
> Is there a way to use Drill to search through binary files? I have 
> some binary files that require a special compiled tool to convert into 
> CSV format. Can Drill execute an external tool to convert each file 
> into ASCII before searching?
>
> Thanks,
> Scott Wilburn
>
>

Reply via email to