Deployment results in non-clustered index being rebuilt on table with partitioned index #202
Labels
bug
Something isn't working
fixed-pending-release
Fix in upcoming release
performance
Impacts DacFx interaction perf or efficiency
Milestone
When a table has a partitioned index and a non-clustered index, deploying the dacpac without any changes still result in the non-clustered index being rebuilt.
Repro by creating a sqlproj with this script:
Deploying the same dacpac a second time without any changes, sqlpackage will still generate a script to rebuild the non-clustered index. Deployment is successful however it adds an unnecessary step and is problematic for large tables.
I suspect the bug lies within the Reverse Engineering logic as the extracted dacpac has some differences to the original dacpac built from sqlproj.
The text was updated successfully, but these errors were encountered: