Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 可以导入python脚本进行数据分析吗?
Can TiDB import Python scripts and perform data analysis through user-defined functions when conducting data analysis?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 可以导入python脚本进行数据分析吗?
Can TiDB import Python scripts and perform data analysis through user-defined functions when conducting data analysis?
It does not support UDF, but you can write a script to retrieve the data through the SQL client and then perform the corresponding analysis.
Functions and procedures are not yet supported. It is recommended to implement business logic in the business code. The database should be used primarily for storing data and performing simple data statistics.
Pushing business logic down to the DB is a practice from the last century. Connect to TiDB with Python and implement the logic in the code.
This topic will be automatically closed 60 days after the last reply. No new replies are allowed.