Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
Description
A simple data such as
{ "id": "0001", "type": "donut1", "batters": { "batter": 1 } } { "id": "0002", "type": "donut2", "batters": { "batter": 2 } }
I tried to partition by batters.batter:
create table t1 (c1, c2) partition by (c2) as select t.id, t.batters.batter from `t.json` t;
But got this exception:
Error: SYSTEM ERROR: IllegalArgumentException: partition col c2 could not be resolved in table's column lists!