In a recent blog post, Josh Wills describes an interesting application of Optiq inside a Hive table-generating function:
http://blog.cloudera.com/blog/2014/08/how-to-count-events-like-a-data-scientist/ If you browse the code you’ll see that he implemented Optiq’s Schema and Table APIs based on Hive metadata, so that when running inside Hive, Optiq automatically sees all data that Hive can see. https://github.com/jwills/exhibit https://github.com/jwills/exhibit/tree/master/src/main/java/com/cloudera/exhibit/udtf Julian
