RE: Mapstring, Mapstring, string for TEXTFILE

2010-09-10 Thread Steven Wong
I think you have to use \004 and \005 as delimiters for your inner maps. -Original Message- From: Sammy Yu [mailto:s...@brightedge.com] Sent: Friday, September 10, 2010 11:13 AM To: hive-user@hadoop.apache.org Subject: Mapstring, Mapstring, string for TEXTFILE Hi guys, I'm trying to

Re: Mapstring, Mapstring, string for TEXTFILE

2010-09-10 Thread Sammy Yu
Hi Steven, Thanks for the response, but is there a way to specify \004 and \005 as inner map delimiters? I read up on HIVE-337, but I couldn't really see how the inner map value can be escaped. I tried escaping \003 as \004\003 and \002 as \004\002, but that didn't seem to work. Thanks, Sammy

Hive build errors

2010-09-10 Thread Sanjit Jhala
Hi, I'm trying to build Hive. I have CDH3 hadoop installed on my machine. My build command is: *ant package -Dtarget.dir=/home/sanjit/build/hive -Dhadoop.version=0.20.2+320 -Dhadoop.root=/opt/hadoop/hadoop-0.20.2+320/* and I ran into: *build_shims:* * [echo] Compiling shims against hadoop

RE: Mapstring, Mapstring, string for TEXTFILE

2010-09-10 Thread Steven Wong
Let me clarify. By default (i.e. if you don't specify row format ... in your DDL), the delimiters for 1st-level maps are \002 and \003, the delimiters for 2nd-level maps are \004 and \005, etc., up to some hard-coded limit (in LazySimpleSerDe). Only the 1st level delimiters can be changed by

Re: Mapstring, Mapstring, string for TEXTFILE

2010-09-10 Thread Sammy Yu
Hi Steven, Great thanks for your help, it works perfectly! Best, Sammy On Fri, Sep 10, 2010 at 6:15 PM, Steven Wong sw...@netflix.com wrote: Let me clarify. By default (i.e. if you don't specify row format ... in your DDL), the delimiters for 1st-level maps are \002 and \003, the