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

[Bug] JDBC driver Incorrect/different results with getDate, getTimestamp and getTime with Calendar in ResultSet #6730

Open
3 of 4 tasks
KHassain opened this issue Oct 15, 2024 · 1 comment
Labels
kind:bug This is a clearly a bug priority:major

Comments

@KHassain
Copy link

KHassain commented Oct 15, 2024

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

Hi Team,

when we use kyuubi-hive-jdbc-shaded-1.9.2 driver from tableau we are getting different values for date and timestamp with different time zone.

for Eg:

Date field.

Actual value --> 2024-01-15 , in tableau it is showing as 2024-01-14

Timestamp field

Actual value --> 2023-05-04 06:24:58 In tableau desktop if I'm using from IST time zone it is showing as 2023-05-04 00:54:58

if I'm Tableau desktop from CE time zone it is showing as 2023-05-04 04:24:58 and using BST time zone 2023-05-04 05:24:58

we are suspecting somewhere Date and timestamp field are convert into epoch time and resulting out into UTC .

Is there any way that we need avoid the conversions and display the actual value .
Date_Time_Tableau_issue.xlsx
Screenshot from tableau desktop

Affects Version(s)

1.9.2

Kyuubi Server Log Output

No response

Kyuubi Engine Log Output

No response

Kyuubi Server Configurations

No response

Kyuubi Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
  • No. I cannot submit a PR at this time.
@KHassain KHassain added kind:bug This is a clearly a bug priority:major labels Oct 15, 2024
Copy link

Hello @KHassain,
Thanks for finding the time to report the issue!
We really appreciate the community's efforts to improve Apache Kyuubi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug priority:major
Projects
None yet
Development

No branches or pull requests

1 participant