-
Notifications
You must be signed in to change notification settings - Fork 170
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
SNOW-1250205: Driver returns incorrect column type while querying on Query History Views #1676
Comments
Hello @inishchith , Thanks for raising the issue, we are taking a look. Regards, |
Hello @inishchith , I tried to reproduce it with latest Snowflake JDBC 3.15.0, but its reflecting the correct data type TIMESTAMPLTZ for columns START_TIME from view SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY and SNOWFLAKE.ACCOUNT_USAGE.ACCESS_HISTORY Here is the output: Here is the sample code snippet
Regards, |
Hello @inishchith , let us know if anything further or if you could provide the sample application with jdbc log which reproduces the issue, because its working expected and no issue being surfaced. Regards, |
@sfc-gh-sghosh Thanks for the turnaround, I wasn't able to reproduce this with the above snippet. Thanks again! |
QUERY_START_TIME
(from Access History View) andSTART_TIME
(from Query History View) are both of typeTIMESTAMP_LTZ
.example query:
START_TIME
andQUERY_START_TIME
should ideally return the same column type (i.e TIMESTAMP_LTZ or SnowflakeTimestampWithTimezone) and value, but it doesn't. (image)Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
What is your Snowflake account identifier, if any? (Optional)
The text was updated successfully, but these errors were encountered: