Skip to content

Return TIMESTAMP WITH TIME ZONE from Prometheus connector #4756

Merged
dain merged 2 commits intotrinodb:masterfrom
dain:prometheus-time-zone
Aug 9, 2020
Merged

Return TIMESTAMP WITH TIME ZONE from Prometheus connector #4756
dain merged 2 commits intotrinodb:masterfrom
dain:prometheus-time-zone

Conversation

@dain
Copy link
Member

@dain dain commented Aug 9, 2020

No description provided.

@dain dain requested a review from electrum August 9, 2020 07:31
@cla-bot cla-bot bot added the cla-signed label Aug 9, 2020
@dain dain force-pushed the prometheus-time-zone branch from 3f8f276 to 016bc43 Compare August 9, 2020 17:53
Copy link
Member

Choose a reason for hiding this comment

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

This seems strange the data is coming from a different system (unlikely JMX where it's local to that JVM). Using session time zone seems better. Though in practice these are likely to be the same.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it should either be JVM or a configuration. We can add a configuration later if people want.

@dain dain force-pushed the prometheus-time-zone branch from 016bc43 to c01d8b8 Compare August 9, 2020 22:14
@dain dain merged commit ba45061 into trinodb:master Aug 9, 2020
@dain dain mentioned this pull request Aug 9, 2020
9 tasks
@dain dain deleted the prometheus-time-zone branch August 9, 2020 23:28
@martint martint added this to the 341 milestone Sep 9, 2020
fgwang7w added a commit to fgwang7w/presto that referenced this pull request Aug 11, 2021
This commit enables `TIMESTAMP WITH TIME ZONE`, and some code cleanup

Cherry-pick of trinodb/trino#4756

Co-authored by: Dain Sundstrom <dain@iq80.com>
beinan pushed a commit to prestodb/presto that referenced this pull request Aug 12, 2021
This commit enables `TIMESTAMP WITH TIME ZONE`, and some code cleanup

Cherry-pick of trinodb/trino#4756

Co-authored by: Dain Sundstrom <dain@iq80.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants