commit | 20b3b80de02fac24b024dd441567041d39ad2c6a | [log] [tgz] |
---|---|---|
author | Will Lauer <wlauer@yahoo-inc.com> | Thu Nov 19 09:48:28 2015 -0600 |
committer | Will Lauer <wlauer@yahoo-inc.com> | Thu Nov 19 09:48:28 2015 -0600 |
tree | 78a1517d800206be33b58385ddce86a0340362cd | |
parent | 548be702284a216817fab74626f2baaf8da05675 [diff] | |
parent | 8c12c0d11dccaed0788b736c1802a807fe4529ed [diff] |
Merge pull request #3 from DataSketches/codeCleanup Code cleanup
Depends on sketches-core.
To use Hive UDFs, you should do the following:
hive> add jar sketches-hive-0.1.0-incDeps.jar
hive> create temporary function estimate as 'com.yahoo.sketches.hive.theta.EstimateSketchUDF';
hive> create temporary function dataToSketch as 'com.yahoo.sketches.hive.theta.DataToSketchUDAF';
hive> select estimate(dataToSketch(myCol, 16384, 1.0)) from myTable where color = blue;