Skip to content

tdgpt使用prophet模型预测数据报错 #33437

@game1991

Description

@game1991

Bug Description
A clear and concise description of what the bug is.
taos> SELECT _flow,_fhigh,_frowts, FORECAST(val, "algo=prophet,rows=10") from foo ;

DB error: Analysis failed since anode return error [0x80000445] (0.020038s)

通过日志查询到:
...数据req
'option': 'algo=prophet,rows=10', 'algo': 'prophet', 'prec': 'ms', 'wncheck': 1, 'return_conf': 1, 'forecast_rows': 10, 'conf': 0.95, 'every': 999, 'start': 1577808118596, 'rows': 106, 'protocol': 1.0}
2025-10-30 17:49:04,064 - uWSGIWorker2Core2 - ERROR - forecast failed, Python int too large to convert to C long

感觉是这个prophet

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Type in '....'
  3. See error

Expected Behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Environment (please complete the following information):

  • OS: [e.g. CentOS 7.0]
  • Memory, CPU, current Disk Space
  • TDengine Version [e.g. 1.6.1.7]

CentOS7.9
Docker部署社区版
TDengine版本3.3.8.1

Additional Context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions