You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "DuanKuanJun (via GitHub)" <gi...@apache.org> on 2025/05/21 06:12:03 UTC

[I] Data source connect TDengine.py file not include in 4.1.2 setup packet [superset]

DuanKuanJun opened a new issue, #33545:
URL: https://github.com/apache/superset/issues/33545

   ### 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
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [ ] 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Data source connect TDengine.py file not include in 4.1.2 setup packet [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #33545: Data source connect TDengine.py  file not include in 4.1.2 setup packet
URL: https://github.com/apache/superset/issues/33545


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Data source connect TDengine.py file not include in 4.1.2 setup packet [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #33545:
URL: https://github.com/apache/superset/issues/33545#issuecomment-2899105671

   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. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Data source connect TDengine.py file not include in 4.1.2 setup packet [superset]

Posted by "parekuti (via GitHub)" <gi...@apache.org>.
parekuti commented on issue #33545:
URL: https://github.com/apache/superset/issues/33545#issuecomment-3128164123

   @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?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Data source connect TDengine.py file not include in 4.1.2 setup packet [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #33545:
URL: https://github.com/apache/superset/issues/33545#issuecomment-2896727120

   <!-- Greeting -->
   Hello @DuanKuanJun! I'm [Dosu](https://dosu.dev), 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!
   
   <!-- Answer -->
   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` <sup>[[1]](https://github.com/apache/superset/blob/master/superset/db_engine_specs/tdengine.py)</sup>. 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` <sup>[[2]](https://github.com/apache/superset/blob/master/docs/docs/configuration/databases.mdx)</sup>. You can install them using:
   
   ```bash
   pip install taospy
   pip install taos-ws-py
   ```
   
   This should enable TDengine as a data source in your Superset setup.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/c08d4bda-82bd-4820-8a2e-fe5cd99b0acf?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/c08d4bda-82bd-4820-8a2e-fe5cd99b0acf?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/c08d4bda-82bd-4820-8a2e-fe5cd99b0acf?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/c08d4bda-82bd-4820-8a2e-fe5cd99b0acf?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c08d4bda-82bd-4820-8a2e-fe5cd99b0acf?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/c08d4bda-82bd-4820-8a2e-fe5cd99b0acf?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c08d4bda-82bd-4820-8a2e-fe5cd99b0acf?feedback_type=other)</sup>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Data source connect TDengine.py file not include in 4.1.2 setup packet [superset]

Posted by "DuanKuanJun (via GitHub)" <gi...@apache.org>.
DuanKuanJun commented on issue #33545:
URL: https://github.com/apache/superset/issues/33545#issuecomment-2896737503

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Data source connect TDengine.py file not include in 4.1.2 setup packet [superset]

Posted by "DuanKuanJun (via GitHub)" <gi...@apache.org>.
DuanKuanJun commented on issue #33545:
URL: https://github.com/apache/superset/issues/33545#issuecomment-2899683782

   > 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 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org