Skip to content

[BUG] JDBC Driver reports DATE max size incorrectly #21

Closed
@kylepbit

Description

@kylepbit

What is the bug?
The getDataTypes() call returns a row for the DATE type, and returns the max size as 24 instead of the correct 10. 24 is used for timestamp, not date.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Connect to OpenSearch using the JDBC driver using any custom app or tool like DbVisualizer
  2. Open or invoke the data types
  3. Locate the DATE entry
  4. See the MAX_SIZE column reported as 24 instead of 10

What is the expected behavior?
The MAX_SIZE should be 10 instead of 24.

What is your host/environment?

  • OS: macOS Monterey
  • Version JDBC driver v 1.1.0.1
  • Plugins

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions