Python Task
【Preview Release】This feature is currently in an invitation-only preview phase. If access is required, please contact our technical support team for assistance.
For many data analysis and processing scenarios, especially for BI + AI analysis scenarios, the combination of Python and SQL can greatly improve the efficiency of data analysis and processing. In Singdata Lakehouse, Python code can be run by providing a task type for Python scripts.
User Guide
-
Create a New Task: In the data development interface, click the new task button to enter the task configuration page.
-
Select Task Type: On the task configuration page, select "Python Script" as the task type.
-
Write Python Code: In the Python code editing area, write the Python statements you need to execute.
-
Run Task: Click the "Run" button to execute the SQL script you wrote. The execution results will be displayed in the result display area below.
-
Task Scheduling: Like SQL tasks, Python tasks can be scheduled and maintained periodically, and workflow orchestration with other tasks can be achieved by setting task dependencies.
Practical Guide
For practical usage on how to install dependency packages, customize the environment, import data, etc., in Python tasks, you can refer to the following documents: