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

Allow sql_last_value to be used without timezone #68

Open
jsvd opened this issue May 10, 2021 · 0 comments
Open

Allow sql_last_value to be used without timezone #68

jsvd opened this issue May 10, 2021 · 0 comments
Labels

Comments

@jsvd
Copy link
Member

jsvd commented May 10, 2021

By default, when using sql_last_value with a timestamp, the TIMESTAMP WITH TIMEZONE type is used in oracle databases, so that the timezone is always included.
Some users want to use a TIMESTAMP value instead, not wanting the timezone to be compared.

Currently both time trackers in https://github.com/logstash-plugins/logstash-integration-jdbc/blob/master/lib/logstash/plugin_mixins/jdbc/value_tracking.rb#L74-L100 generate times with timezones, so a new configuration is needed to toggle the use of timezones

@jsvd jsvd added enhancement New feature or request status:needs-triage labels May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant