Skip to content

Tableau fix getDate with calendar#2062

Merged
mzitnik merged 3 commits intomainfrom
tableau-date-fix
Jan 5, 2025
Merged

Tableau fix getDate with calendar#2062
mzitnik merged 3 commits intomainfrom
tableau-date-fix

Conversation

@mzitnik
Copy link
Contributor

@mzitnik mzitnik commented Jan 1, 2025

Summary

Tableau fix getDate with calendar

Checklist

Delete items not relevant to your PR:

  • Closes issue
  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG
  • For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

this.metaData = new com.clickhouse.jdbc.metadata.ResultSetMetaData(this);
this.closed = false;
this.wasNull = false;
this.defaultCalendar = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
Copy link
Contributor

Choose a reason for hiding this comment

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

there is a feature to use server timezone for date. So it may be applicable here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will check the JDBC v1 implementation to how we deal with that in the past

@mzitnik mzitnik marked this pull request as ready for review January 5, 2025 11:37
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 5, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
52.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@mzitnik mzitnik merged commit 5e2874c into main Jan 5, 2025
29 of 30 checks passed
@mzitnik mzitnik deleted the tableau-date-fix branch March 13, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants