-
Notifications
You must be signed in to change notification settings - Fork 27
Description
- SqlPackage or DacFx Version: 2.1.0-preview.2
- .NET Framework (Windows-only) or .NET Core: 8.0.417
- Environment (local platform and source/target platforms): Ubuntu-latest
Steps to Reproduce:
- Create a table in Fabric Data Warehouse SQL Project that contains an IDENTITY column
- Build a DACPAC file from the SQL Project.
- Attempt to deploy the DACPAC file.
Below is the table definition within the SQL project and the error message returned when attempting to deploy the DACPAC file. It appears that seeding is getting added to the DACPAC when the build occurs. Since Fabric Data Warehouse does not currently support seeding, this is resulting in an error.
Table Definition in SQL Project
CREATE TABLE [dwh_crm].[dbo].[DIMItem]
(
[ITEM_KEY] [bigint] IDENTITY NOT NULL,
[ITEM_NAME] varchar NULL
)
GO
Error Message:
Error SQL72014: Core Microsoft SqlClient Data Provider: Msg 24742, Level 16, State 1, Line 1 Identity column 'ITEM_KEY' does not support specifying SEED or INCREMENT.
Error SQL72045: Script execution error. The executed script:
CREATE TABLE [dbo].[DIMItem] (
[ITEM_KEY] BIGINT IDENTITY (1, 1) NOT NULL,
[ITEM_NAME] VARCHAR (255) NULL
);
Did this occur in prior versions? If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio)