RE: casting complex data types for outputs of custom scripts

2014-01-20 Thread Bogala, Chandra Reddy
Can it be possible to share python script which does the conversion? Thanks, Chandra -Original Message- From: rohan monga [mailto:monga.ro...@gmail.com] Sent: Monday, January 20, 2014 6:08 AM To: user@hive.apache.org Subject: Re: casting complex data types for outputs of custom scripts

Re: casting complex data types for outputs of custom scripts

2014-01-19 Thread rohan monga
sorry for the delayed response. yes the python script follows that. -- Rohan Monga On Tue, Jan 14, 2014 at 4:31 PM, Stephen Sprague wrote: > @OP - first thing i'd ask is does your python script obey the ^A,^B,^C,^D > etc. nesting delimiter pattern. give that your create table does not > speci

Re: casting complex data types for outputs of custom scripts

2014-01-14 Thread Stephen Sprague
@OP - first thing i'd ask is does your python script obey the ^A,^B,^C,^D etc. nesting delimiter pattern. give that your create table does not specify delimiters those are the defaults. nb. ^A == control-A == \001 Cheers, Stephen. On Tue, Jan 14, 2014 at 3:11 PM, Andre Araujo wrote: > I had

Re: casting complex data types for outputs of custom scripts

2014-01-14 Thread Andre Araujo
I had a similar issue in the past when trying to cast an empty array to array(). By default Hive assumes it's an array(). I don't think there's currently a Hive syntax to cast values to complex data types. If there's one, I'd love to know what it is :) On 14 January 2014 10:22, rohan monga wrote