Upgrade Calcite to Avatica version 1.19.
Currently version 1.19 has not been released.
1.19 fixes at least one issue whose test cases are attached as PRs.
Release Avatica 1.19.0
Release Calcite 1.28.0
ClassCastException retrieving from an ARRAY that has DATE, TIME or TIMESTAMP elements
ClassCastException retrieving from ARRAY that has mixed INTEGER and DECIMAL elements
Prepare for next development iteration (1.19.0)
Upgrade Calcite to Avatica 1.20
In Avatica, support columns of type "NULL" in query results
GitHub Pull Request #2578
PR 2578 (contains upgrade and all dependent changes)