Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Hbase Hex Values


Copy link to this message
-
Re: Hbase Hex Values
You could also use the following (in trunk):
https://issues.apache.org/jira/browse/PIG-3198

so you'd do: invoke&Integer.valueOf(x, 16); where x would be the hex string
2013/5/6 Alan Gates <[EMAIL PROTECTED]>

> I am not aware of any built in or Piggybank UDF that converts Hex to Int,
> but it would be a welcome contribution if you wanted to write it.
>
> Alan.
>
> On May 5, 2013, at 8:14 PM, John Meek wrote:
>
> > Hey all,
> >
> > If I need to load a Hbase table with Hex values into Pig, does that
> require a specific UDF? IS there any inbuilt function in Pig? I searched
> the documentation but cannot find anything that lets me convert Hex to Int.
> >
> >
> > JM
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB