[CALCITE-4600] ClassCastException retrieving from an ARRAY that has DATE, TIME or TIMESTAMP elements

Support DATE/TIME/TIMESTAMP slot object's content for
Date/Time/Timestamp array accessors.

Rename method DateFromNumberAccessor#getDate to
DateFromNumberAccessor#getNumber.

Fix tests that were introduced in the following changes
(Alessandro Solimando):
 * [CALCITE-4757] Allow columns of type Null in ResultSet
 * [CALCITE-4536] Add support for BIT data type

Close apache/calcite-avatica#154
3 files changed
tree: c7798507cf9dc391d9f04fe48660eb2a3e875f69
  1. .github/
  2. bom/
  3. core/
  4. docker/
  5. gradle/
  6. metrics/
  7. metrics-dropwizardmetrics/
  8. noop-driver/
  9. release/
  10. server/
  11. shaded/
  12. site/
  13. src/
  14. standalone-server/
  15. tck/
  16. .editorconfig
  17. .gitattributes
  18. .gitignore
  19. .ratignore
  20. .travis.yml
  21. build.gradle.kts
  22. docker-compose.yml
  23. docker.sh
  24. gradle.properties
  25. gradlew
  26. gradlew.bat
  27. LICENSE
  28. NOTICE
  29. README
  30. README.md
  31. settings.gradle.kts
README.md

Build Status CI Status

Apache Calcite -- Avatica

Apache Calcite's Avatica is a framework for building database drivers.

Avatica is a sub-project of Apache Calcite.

For more details, see the home page.

Release notes for all published versions are available on the history page.