olahallengren / sql-server-maintenance-solution

SQL Server Maintenance Solution
https://ola.hallengren.com
MIT License
2.91k stars 756 forks source link

Logic if there are ColumnStore Index on the table #769

Open praveensachdeva opened 1 year ago

praveensachdeva commented 1 year ago

If there is ColumnStore Index on the table, then the logic on line 1576 was marking the Non-ColumnStore indexes as ColumnStore Indexes, hence these Indexes were not picked up for Online Rebuild. The change proposed here fixes that.

pwehland commented 9 months ago

BUGBUG: You have incorrect aliasing between [indexes] and [indexes5]. This is a bad PR.