Reputation: 1
The issue i am having is that i am working on streaming data from Azure SQL Database, & to do that i created a reference data input from azure sql db, blob input stream & output that pushes to power bi workspace, unfortunatley the streaming job is failing to insert the reference data from azure sql db to the blob input stream & returning "Error encountered while storing reference data snapshot into the storage account" error.
This is how i am doing it:
Upvotes: 0
Views: 34
Reputation: 3639
So, the output is "no result to show."I created a sample table reference using this doc for SQL Database in an Azure Stream Analytics job.
You are facing null due to there being no data in the SQL database, or you have sent the data of the table in a Snapshot query.
CREATE TABLE Products (
ProductID INT PRIMARY KEY IDENTITY(1,1),
ProductName NVARCHAR(100) NOT NULL,
Category NVARCHAR(50),
Price DECIMAL(10, 2),
StockQuantity INT
);
Insert sample data into the Products table:
INSERT INTO Products (ProductName, Category, Price, StockQuantity)
VALUES
('Laptop', 'Electronics', 999.99, 10),
('Smartphone', 'Electronics', 699.99, 25),
('Tablet', 'Electronics', 299.99, 15),
('Headphones', 'Accessories', 49.99, 50),
('Monitor', 'Electronics', 199.99, 20),
('Keyboard', 'Accessories', 29.99, 40),
('Mouse', 'Accessories', 19.99, 35),
('Chair', 'Furniture', 149.99, 10),
('Desk', 'Furniture', 249.99, 5),
('Lamp', 'Furniture', 39.99, 30);
Important Note:
Azure Stream Analytics retains snapshots within this storage account. When configuring the retention policy, it is imperative to ensure that the chosen timespan effectively encompasses the desired recovery duration for your Stream Analytics job.
Upvotes: 0