Skip to content
Lucas Lessa
Voltar para as notícias
Microsoft FabricPublic PreviewImpacto: Médio

Invoke Python logic via T-SQL in Warehouse with User Data Functions

Integrate custom Python functions using T-SQL external functions in Microsoft Fabric Warehouse.

O que mudou

The User Data Function integration allows invoking custom Python logic directly from T-SQL external functions within your warehouse.### Use casesImagine you need to apply custom Python transformation routines to your relational data stored in the warehouse without moving everything to a separate notebook. With this integration, you execute Python code directly from standard T-SQL queries.### How to usesqlCREATE EXTERNAL FUNCTION dbo.my_python_function()RETURNS INTAS EXTERNAL NAME [my_workspace].[my_python_service];SELECT dbo.my_python_function() FROM my_table;What happens in this code:1. An external function pointing to the configured Python service in the workspace is created.2. The function is queried directly in a standard SQL statement against the table.### Limitations and requirementsThis feature is in Public Preview.

Ver nota oficial do Microsoft Fabric

Warehouse User Data Function integration (Preview)

Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.

Relacionadas