Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Simple Contains Function for Apache Drill

This functions regex matches for drill

How to Compile Install

Clone and compile.


git clone https://github.com/parisni/drill-simple-contains.git

cd drill-simple-contains

mvn package

Copy the jar files from your functions into the 3rdparty directory in the Drill distro

cp drill-simple-contains/target/*.jar apache-drill-X.X.X/jars/3rdparty

Now run drill and test the results

$ cd apache-drill-X.X.X/
$ bin/drill-embedded
0: jdbc:drill:zk=local>
SELECT * FROM cp.`employee.json` WHERE contains(first_name,'She.*');
first_name |
-----------|
Sheri      |
Sheila     |
Shelby     |
Shelley    |
Shelly     |
Sheila     |

About

An apache-drill UDF in order to use regex in queries

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.