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
Michael

Reply via email to