Skip to content

Fabric Data Warehouse Deploying Tables with Identity Columns - Error SQL72014: Seed or Increment not supported #747

@wadegood

Description

@wadegood
  • 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:

  1. Create a table in Fabric Data Warehouse SQL Project that contains an IDENTITY column
  2. Build a DACPAC file from the SQL Project.
  3. 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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixed-pending-releaseFix in upcoming releasesqldwIssues related to SQL DW and/or Synapse

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions