Bug description

"Superset" → "Setting" → "Database Connections" → "+DATABASE" not found "TDengine" option on 4.1.2 package.

Superset include TDengine datasource file TDengine.py , merge by PR: https://github.com/apache/superset/pull/32041

But in latest release packet ver 4.1.2, not found TDengine.py https://github.com/apache/superset/releases/tag/4.1.2

User can not select TDengine data source , but official website tell user already support TDengine data source.

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Comment From: dosubot[bot]

Hello @DuanKuanJun! I'm Dosu, here to help you with bugs, questions, and anything related to contributing. While you're waiting for a human maintainer, feel free to ask anything!

The TDengine.py file is indeed included in the source code repository for version 4.1.2, located at superset/db_engine_specs/tdengine.py [1]. However, it seems that the file might not be present in the setup package for version 4.1.2, which is causing the issue you're experiencing.

To resolve this, you can manually add the TDengine.py file to your Superset installation by downloading it from the repository and placing it in the appropriate directory. Additionally, ensure that you have the necessary dependencies installed: taospy and taos-ws-py [2]. You can install them using:

pip install taospy
pip install taos-ws-py

This should enable TDengine as a data source in your Superset setup.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Comment From: DuanKuanJun

I hope the tdengine.py file will be included in the installation package to be released in the future, like v4.1.3 and v5.0.0.

Comment From: rusackas

Features are not included in patch releases, so it won't be in 4.1.3, and it missed the window for 5.0.0. It'll be in 4.2 (if that happens), 5.1 and/or 6.0. Closing this since the work is done and it awaits release, and therefore isn't a bug.

Comment From: DuanKuanJun

Features are not included in patch releases, so it won't be in 4.1.3, and it missed the window for 5.0.0. It'll be in 4.2 (if that happens), 5.1 and/or 6.0. Closing this since the work is done and it awaits release, and therefore isn't a bug.

Thank you , I understand. @rusackas

Comment From: parekuti

@DuanKuanJun I am working on usecase to integrate tdengine with superset and following the steps provided here.

https://github.com/apache/superset/discussions/33751?sort=new?sort=new

But unable to create any virtual dataset or setup aggregated charts due to SQL parsing errors. For example TDengine Error: taosws error: Error parsing near 'H' at line 1:26 SELECT TIMETRUNCATE(ts, 1h, 0) AS ts, COUNT(*) AS count FROM test.meters WHERE ts >= '2025-07-28 00:00:00.000000' AND ts < '2025-07-29 00:00:00.000000';

This query runs directly from taos CLI but not via superset chart creation or SQL Lab. Any suggestions to resolve the issue?