Don't think that will work. I tried what seemed obvious and got a NPE. Joys of Drill.
On Wed, Jan 3, 2018 at 1:31 PM, Charles Givre <[email protected]> wrote: > This isn’t the most elegant example, but should do the trick. > > https://github.com/cgivre/drill-network-functions/blob/ > master/src/main/java/org/apache/drill/contrib/function/IsPrivateIP.java < > https://github.com/cgivre/drill-network-functions/blob/ > master/src/main/java/org/apache/drill/contrib/function/IsPrivateIP.java> > > > > > > On Jan 3, 2018, at 16:09, Ted Dunning <[email protected]> wrote: > > > > On Wed, Jan 3, 2018 at 12:17 PM, Charles Givre <[email protected]> wrote: > > > >> HI Ted, > >> This is really looking amazing. Thank you so much for working on > this. I > >> wanted to ask whether you’ve tried the BitWriter to write a Boolean > value? > >> I’ve done that in UDFs. > > > > > > Point me to an example. I think booleans would be vastly better. > >
