hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Häusler <>
Subject Table bucketing on structured fields
Date Fri, 17 Apr 2015 16:36:08 GMT
Hi there,

in Hive 0.13.0, I am trying to create a table that should be bucketed by a structured field:

CREATE TABLE foo (bar struct<a:string,b:string>)
CLUSTERED BY (bar.a) INTO 32 buckets;

Unfortunately, I am getting an error that dots are not allowed in the buckets specification:

Error occurred executing hive query: OK FAILED: ParseException line 2:17 mismatched input
'.' expecting ) near 'bar' in table buckets specification

Is there a workaround?

Thanks a lot

View raw message