Support for "WITH (DATA_COMPRESSION = COLUMNSTORE | COLUMNSTORE_ARCHIVE)" for inline index
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
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
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/SqlScriptDOM
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/SqlScriptDOM#228 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
microsoft/SqlScriptDOM#183 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 56/100
microsoft/SqlScriptDOM#226 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/SqlScriptDOM#225 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
microsoft/SqlScriptDOM#224 ·
All issues in microsoft/SqlScriptDOM
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
[BUG]: "Clear All" in Settings doesn't clear the saved analysis, old data comes back after reload Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
AOSSIE-Org/OrgExplorer#253 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
needs triage receiver/oracledb
Difficulty 2/5 1-2 days Newbie friendliness 84/100
open-telemetry/opentelemetry-collector-contrib#51400 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100