alibabacloud-flink-python-coding

v2026.09.24

Use this skill when the user needs help with a Flink Python or PyFlink job, especially on Alibaba Cloud Realtime Compute for Apache Flink (VVR): write, modify, review, or debug PyFlink jobs; explain or select Flink Python APIs; resolve package or file dependencies for PyFlink jobs; or prepare PyFlink job deployment.

GitHub
安装命令
npx skhub add aliyun/alibabacloud-flink-python-coding
Markdown
SKILL.md

Alibaba Cloud Flink Python Coding

Support VVR 11.8 and newer. For an older job, establish an upgrade target before applying this skill's development or repair guidance.

For every VVR/PyFlink factual answer and API choice, first inspect the selected version's product/API documentation or package source that supports the conclusion. Use model knowledge to guide lookup and reasoning, never as the sole evidence for capabilities, limitations, signatures, or workarounds. Skill references are navigation and product context, not a complete API manual: when they do not cover a question, continue to the linked API documentation or source.

VVR PyFlink and DataFrame

VVR is Alibaba Cloud's managed Flink runtime. Its Python surface includes pyflink.dataframe, introduced in VVR 11.8, alongside Table and DataStream APIs. Community PyFlink knowledge alone misses these VVR capabilities:

  • DataFrame: relational transformations, connector I/O, Python UDFs, and bridges to Table/DataStream.
  • AI inference: Flink AI Service and built-in LLM operations for prediction, classification, extraction, summarization, and embeddings.
  • Multimodal processing: image, audio, and video operations, including decoding, transformation, frame extraction, and model-backed analysis.

Flink sources and sinks connect to external data systems through connectors. DataFrame read_* / write_* methods are convenient Python entry points to them. Use the connector access routes and capability index to choose a dedicated wrapper, a generic connector call, or access to a catalog table prepared in VVP.

DataFrame column expressions reuse pyflink.table.expression.Expression; that API is part of normal DataFrame development.

For new jobs and general API questions, prioritize DataFrame, including its built-in AI and multimodal functions. Use Table/DataStream when explicitly requested or when the target DataFrame API cannot express the required behavior. Preserve the API structure of existing jobs unless migration is requested.

The local distribution is ververica-flink, the import namespace is pyflink, and execution takes place on VVR. The package supplies API code and docstrings for development, not a supported local VVR runtime. See versions and API source when establishing a target or obtaining source for inspection.

Execution mode

Streaming mode can process bounded data and has more complete feature support in VVR. Prefer it for new jobs, including one-time scans. Configure finite reading through the source's bounded or snapshot settings. Consider batch mode for an explicit user requirement or a workload-specific benefit, after confirming support from the required connectors and operators.

Route

Read the workflow matching the request before answering or implementing. Workflows can compose: development can call dependency resolution and artifact preparation.

Use caseReference
Write a new jobNew job
Modify or review an existing jobExisting job
Answer an API question, including whether a feature is supportedAPI inquiry
Debug an error or failing jobDebug
Resolve Python packages, runtime files, or connector JARsDependencies
Prepare local deployment artifacts and instructionsPrepare deployment

Use official documentation for direct product and API entry points, and its source precedence when documentation conflicts. Exact API behavior comes from the selected version's package source/docstrings or online documentation and source; connector selection also requires the connector documentation.

This skill delivers local code, answers, and deployment artifacts. The README supports manual deployment or handoff to an available job-submission skill when the user requests deployment. Cloud submission is a separate operation; this skill's local workflows require no Alibaba Cloud API permissions.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

未指定

源路径

skills/analyticscomputing/sc/alibabacloud-flink-python-coding

默认分支

master

最新提交

1ba18b8

Tree SHA

6ed356b