opensearch-project / opensearch-project/sql-jdbc

[BUG] Incorrect Timestamp Displayed in Tableau Desktop & Tableau Prep from OpenSearch Database

Open
#128 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug good first issue
Dominant language
Java
Stars
28
Forks
39
PR merge metrics
No merged PRs in 30d

Description

What is the bug?
Incorrect Timestamp Displayed in Tableau Desktop & Tableau Prep from OpenSearch Database.
When we load data into Tableau Desktop or Tableau Prep, the timestamp field incorrectly display the year as 1970. However, the actual timestamp in the OpenSearch JSON is correctly recorded as 2025.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Please refer to the attached figures.
  2. Install the required .taco and drivers for opensearch and Tableau Desktop to communicate.
  3. Open Tableau Desktop and connect OpenSearch by OpenSearch Project
  4. After reading the data, preview one of the tables containing timestamp
  5. One can see the wrong year 1970, should be 2025

What is the expected behavior?
The timestamp should match the data in OpenSearch (2025) and not default to 1970 in Tableau Desktop and Tableau Prep.

What is your host/environment?

  • OS: Linux CentOS 7.9 for OpenSearch
  • OpenSearch by OpenSearch Project version: 1.3.19
  • Connectors for opensearch and Tableau Desktop:
  • opensearch_sql_jdbc.taco
  • opensearch_sql_jdbc-v1.0.1.taco
  • opensearch_sql_jdbc-1.1.0.1.jar
  • Tableau Desktop Professional Edition 2024.3.2 (20243.24.1211.0901) Windows version
  • Tableau Prep Builder 2024.3 (24.32.24.1209.1136) Windows version

Do you have any screenshots?
Install the required .taco and drivers for opensearch and Tableau Desktop to communicate:
opensearchInstallationGuide

Required .taco files
1

Required .jar file
2

OpenSearch Dashboard showing the original timestamp (which is the correct year 2025):
OpenSearch Dashboard showing the original timestamp

Connect OpenSearch to Tableau:
Connect OpenSearch to Tableau

timestamp in Tableau Desktop showing the wrong year 1970, should be 2025:
Fig 1
Fig 2

Do you have any additional context?
Add any other context about the problem.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the timestamp conversion with the listed OpenSearch, .taco, and JDBC driver versions, using Tableau Desktop or Tableau Prep. Trace how the JDBC driver exposes the OpenSearch timestamp to Tableau. Done means the same timestamp displays as 2025 rather than 1970 in both affected Tableau applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.