Microsoft Fabric Updates Blog

From Clicks to Code: SQL Operator under Fabric Eventstream (Preview)


A new feature has been added to Eventstream—the SQL Operator—which enables real-time data transformation within the platform.

Whether you’re filtering, aggregating, or joining data streams, or handling complex data transformation needs like conditional logic, nested expression, string manipulation etc. SQL Operator gives you the flexibility and control to craft custom transformations using the language you already know and love. This feature takes your Eventstream experience to the next level—unlocking advanced scenarios with precision and ease.

Get ready to transform your data like never before!

A screenshot of a computer

AI-generated content may be incorrect.

Why SQL Operator?

While Eventstream already offers rich no-code experience with built-in operators like Filter, Aggregate, join etc. the SQL Operator gives you full control to:

  • Package the entire data transformation logic in one place.
  • Write custom logic and complex transformation with ease.
  • Apply conditional logic, aggregations, and use variety other supported built-in functions.
  • Easily test and debug.
  • Route enriched data to any supported destination.
  • Easily bring your Azure Stream Analytics transformation logic to Fabric Eventstream.

Key Features

Custom SQL Logic: Define transformations using familiar SQL syntax.

Live Preview: Test your queries on real-time data before publishing.

Flexible Output: Route results to Eventhouse, Lakehouse, Activator or Derived Streams.

IntelliSense Support: Boost productivity and minimize errors with syntax highlighting and auto complete.

How it Works

1. Add the SQL Operator

From the Eventstream canvas, click Transform Events and select SQL Operator.

A screenshot of a computer

Alternatively, you can also add SQL operator by clicking on the ‘Transform events or add destination’ on the canvas and select SQL operator.

A screenshot of a computer

AI-generated content may be incorrect.

SQL node will be added to your Eventstream topology. Click on the pencil icon to edit the SQL operator node. Here you can define a name to this SQL node. Click on edit query button to enter the query editor experience as shown below.

2. Write Your Query

Click the pencil icon to open the SQL editor. Once inside the query editor, add the destination by clicking on the green + button on the left data explorer under output section.

Extend the default query template and write your own custom data transformation logic. 

Eventstream is built on top of Azure stream analytics. You can use the same Stream Analytics Query Language, which is a subset of T-SQL to define your data transformation logic in Eventstream SQL operator.   

Example of the basic query structure that you can use in SQL operator:
SELECT
*
INTO [OUTPUT]
FROM [DEFAULT-STREAM]
 
Here [OUTPUT] is the destination alias that you have added in the previous step. 

3. Test and validate the output

To ensure the accuracy of your logic, use the Test Query button. After verifying the logic and are satisfied with the results, click ‘Save’ to exit the query editor and return to the Eventstream canvas.

4. Complete the output setup and Publish

After saving your SQL transformation, return to the main Eventstream canvas. You’ll notice that an output node has been automatically connected to your SQL operator. Click on this output node to configure your desired destination. Specify the output details according to your requirements, review the configuration and click save. Once complete, your Eventstream is fully configured and ready for publish.

A screenshot of a chat

AI-generated content may be incorrect.

Click ‘publish’ to deploy the eventstream topology as shown in the example. 

The Eventstream is now published and processing live data.

A screenshot of a chat

AI-generated content may be incorrect.

 

What’s Next?

The SQL Operator in Microsoft Fabric Eventstream is more than just a new feature—it’s a leap forward in how you can shape, enrich, and route real-time data. Whether you’re building complex joins, applying custom filters, nested expressions or string manipulation, SQL gives you the precision and flexibility to do it all—right inside the Eventstream canvas.

We can’t wait to see what you build with it. Try it out today and let us know what you think. Your feedback helps shape the future of real-time intelligence in Fabric. Please continue to share your feedback.

Start building smarter, more flexible real-time data processing pipelines with Eventstreams today. Please refer SQL Operator in Eventstream ­ Microsoft Fabric to learn more and get started today. 

Need help or want to suggest an improvement?

Reach out to us on Real-Time Intelligence Forum: Get Help with Real-Time Intelligence – Microsoft Fabric Community 

Request or upvote a suggestion on Fabric Ideas RTI: Fabric Ideas – Microsoft Fabric Community 

Billets de blog associés

From Clicks to Code: SQL Operator under Fabric Eventstream (Preview)

décembre 3, 2025 par Pradeep Srikakolapu

Deployment Challenges While Solutions Are in Development Microsoft Fabric has revolutionized data analytics with its unified platform, but deploying complex architectures with cross-dependencies remains a significant challenge for organizations. The good news is that the Microsoft Fabric team is actively working on native warehouse deployment capabilities with DacFx, cross-item dependency resolution, and cross-warehouse reference support. … Continue reading “Bridging the Gap: Automate Warehouse & SQL Endpoint Deployment in Microsoft Fabric”

novembre 25, 2025 par Arshad Ali

JDBC (Java Database Connectivity) is a widely adopted standard that enables client applications to connect to and work with data from databases and big data platforms. The Microsoft JDBC Driver for Microsoft Fabric Data Engineering (Preview) – an enterprise-grade connector that brings powerful, secure, and flexible Spark SQL connectivity to your Java applications and BI … Continue reading “Microsoft JDBC Driver for Microsoft Fabric Data Engineering (Preview)”