Skip to content

Clarification on Timestamp Precision in ADBC GetObjects Metadata #2496

Open
@idosilverwater-vast

Description

@idosilverwater-vast

I have been looking at how parameterized types are represented in the schema returned by AdbcConnectionGetObjects. I found that for DECIMAL(precision, scale), the precision and scale map to xdbc_column_size and xdbc_decimal_digits respectively. However, I wasn't able to determine where the time unit (s/ms/us/ns) of a TIMESTAMP type should be specified.

From my understanding, the column properties in COLUMN_SCHEMA are designed to mirror JDBC/ODBC metadata. However, I haven't found any standardized documentation that explicitly states how timestamp precision should be represented in this context.

My questions:

  • Is there a standard way to represent timestamp precision in the ADBC metadata schema?
  • If so, which field should hold this information?
  • Does this align with JDBC/ODBC metadata standards, and if so, where is it documented?

Any clarification on this would be greatly appreciated! Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions