Re: Delimiters for nested structures

2012-02-09 Thread Mark Grover
. "The One to Watch" - Treasury Today's Adam Smith Awards 2009. - Original Message - From: "Aniket Mokashi" To: user@hive.apache.org, "Hao Cheng" Sent: Thursday, February 9, 2012 2:34:29 AM Subject: Re: Delimiters for nested structures AFAIK, hive uses

Re: Delimiters for nested structures

2012-02-09 Thread Evan Pollan
+1. I've had good luck with json and get_json_object. On Feb 9, 2012, at 7:39 AM, "Tucker, Matt" mailto:matt.tuc...@disney.com>> wrote: What about creating a view that converts your data into JSON or XML? You can then make use of the get_json_object

RE: Delimiters for nested structures

2012-02-09 Thread Tucker, Matt
What about creating a view that converts your data into JSON or XML? You can then make use of the get_json_object() or xpath() functions. Matt Tuc

Re: Delimiters for nested structures

2012-02-08 Thread Aniket Mokashi
AFAIK, hive uses default delimiters nested data structures. There is no workaround for this for now. for (int i = 3; i < serdeParams.separators.length; i++) { serdeParams.separators[i] = (byte) (i + 1); } Thanks, Aniket On Wed, Feb 8, 2012 at 10:15 PM, Hao Cheng wrote: > Hi, > > My