As far as I can see, there is no way to serialize arrays in the Avatica RPC.
Support ARRAY DML in Calcite-Phoenix
PhoenixArray.getResultSet not implemented
ArrayImpl to return JDBC objects for method getArray()
Implicit and explicit "null" not handled correctly with protobuf
GitHub Pull Request #2