[localhost:21000] > create table part_test (col int) partitioned by (p int);
Query: create table part_test (col int) partitioned by (p int)
Query submitted at: 2016-07-28 09:39:36 (Coordinator: http:Query progress can be monitored at: http:
Fetched 0 row(s) in 0.40s
[localhost:21000] > create table test(col1 int, p int);
Query: create table test(col1 int, p int)
Query submitted at: 2016-07-28 09:39:44 (Coordinator: http:Query progress can be monitored at: http:
Fetched 0 row(s) in 0.11s
[localhost:21000] > insert overwrite table part_test partition (p=1) select max(col1) as col from test group by p;
Query: insert overwrite table part_test partition (p=1) select max(col1) as col from test group by p
Query submitted at: 2016-07-28 09:39:51 (Coordinator: http:Query progress can be monitored at: http:Inserted 0 row(s) in 5.36s
[localhost:21000] > insert overwrite table part_test partition (p=1) [SHUFFLE] select max(col1) from test group by p;
Query: insert overwrite table part_test partition (p=1) [SHUFFLE] select max(col1) from test group by p
Query submitted at: 2016-07-28 09:40:08 (Coordinator: http:ERROR: IllegalStateException: null
[localhost:21000] > explain insert overwrite table part_test partition (p=1) [SHUFFLE] select max(col1) from test group by p;
Query: explain insert overwrite table part_test partition (p=1) [SHUFFLE] select max(col1) from test group by p
Query submitted at: 2016-07-28 09:41:38 (Coordinator: http:ERROR: IllegalStateException: null