Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DATA_TYPE, DECIMAL_DIGITS for parametric date/time types #6307

Merged
merged 2 commits into from
Dec 11, 2020

Conversation

findepi
Copy link
Member

@findepi findepi commented Dec 11, 2020

Fix information reported by DatabaseMetaData#getColumns:

  • fix DATA_TYPE for parametric time and time with time zone
  • provide DECIMAL_DIGITS for parametric time and timestamp (with
    and without zone)

Test TYPE_NAME returned by that method.

Fix information reported by `DatabaseMetaData#getColumns`:

- fix `DATA_TYPE` for parametric `time` and `time with time zone`
- provide `DECIMAL_DIGITS` for parametric `time` and `timestamp` (with
  and without zone)

Test `TYPE_NAME` returned by that method.
@findepi
Copy link
Member Author

findepi commented Dec 11, 2020

cc @martint

@findepi findepi added bug Something isn't working jdbc Relates to Trino JDBC driver labels Dec 11, 2020
Copy link
Member

@losipiuk losipiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo one question out of curiosity.

@findepi findepi merged commit 2fe748b into trinodb:master Dec 11, 2020
@findepi findepi deleted the findepi/fix-col-type branch December 11, 2020 20:34
@findepi findepi added this to the 348 milestone Dec 11, 2020
@findepi findepi mentioned this pull request Dec 11, 2020
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla-signed jdbc Relates to Trino JDBC driver
Development

Successfully merging this pull request may close these issues.

3 participants