Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support for "WITH (DATA_COMPRESSION = COLUMNSTORE | COLUMNSTORE_ARCHIVE)" for inline index

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, sql
Domain
databases

Research direction

Start by reproducing the issue with the supplied TSql150Parser example and inspect how inline indexes and index options are parsed. Done means the DATA_COMPRESSION values COLUMNSTORE and COLUMNSTORE_ARCHIVE are accepted for the inline index syntax without a parse error.

Written by the indexing model from the issue text.

Description

sql-feature
  • SqlPackage or DacFx Version: latest
  • .NET Framework (Windows-only) or .NET Core: .NET 8
  • Environment (local platform and source/target platforms): net8.0-windows x64

Steps to Reproduce:

using Microsoft.SqlServer.TransactSql.ScriptDom;

var script = @"
  CREATE TABLE [dbo].[Sample](
  [ID] [int] NULL,
  [Code] [varchar](100) NULL,
  INDEX [IDX] CLUSTERED COLUMNSTORE WITH (DATA_COMPRESSION = COLUMNSTORE)
)
";

var parser = new TSql150Parser(false);
var fragment = parser.Parse(new StringReader(script), out var parseErrors);

Console.WriteLine(parseErrors[0].Message);

// Outputs:
// "Option 'DATA_COMPRESSION' is not a valid index option in 'CREATE TABLE (inline index)' statement."
Dominant language
GAP
Stars
277
Forks
43
Avg merge
6d 17h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/SqlScriptDOM

All issues in microsoft/SqlScriptDOM

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.