Description
When using hs2 protocol, we get NULL Replicas for SHOW PARTITIONS on a kudu backed impala table.
To reproduce:
impala-shell --protocol=hs2
create table xm(id int, value int, PRIMARY KEY(id)) PARTITION BY HASH PARTITIONS 16 STORED AS KUDU;
[localhost:21050] default> show partitions xm;
Query: show partitions xm
-------------------------------------------+
Start Key | Stop Key | Leader Replica | #Replicas |
-------------------------------------------+
00000001 | 127.0.0.1:31201 | NULL | |
00000001 | 00000002 | 127.0.0.1:31202 | NULL |
00000002 | 00000003 | 127.0.0.1:31202 | NULL |
00000003 | 00000004 | 127.0.0.1:31202 | NULL |
00000004 | 00000005 | 127.0.0.1:31202 | NULL |
00000005 | 00000006 | 127.0.0.1:31202 | NULL |
00000006 | 00000007 | 127.0.0.1:31202 | NULL |
00000007 | 00000008 | 127.0.0.1:31200 | NULL |
00000008 | 00000009 | 127.0.0.1:31201 | NULL |
00000009 | 0000000A | 127.0.0.1:31202 | NULL |
0000000A | 0000000B | 127.0.0.1:31200 | NULL |
0000000B | 0000000C | 127.0.0.1:31202 | NULL |
0000000C | 0000000D | 127.0.0.1:31201 | NULL |
0000000D | 0000000E | 127.0.0.1:31202 | NULL |
0000000E | 0000000F | 127.0.0.1:31201 | NULL |
0000000F | 127.0.0.1:31202 | NULL |
-------------------------------------------+