Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated getIndexInfo() to include Columnstore indexes by using custom query. #2563

Closed
wants to merge 26 commits into from

Conversation

Ananya2
Copy link
Contributor

@Ananya2 Ananya2 commented Dec 13, 2024

Replaced the use of the sp_statistics stored procedure with a custom query to retrieve index information as the sp_statistics procedure did not return Columnstore indexes, so a query using sys.indexes was implemented as a workaround.
This new query ensures that all index types (Clustered, NonClustered, Columnstore) are included in the result set.
Github Issue: #2546

… query

Replaced the use of the sp_statistics stored procedure with a custom query to retrieve index information as the sp_statistics procedure did not return Columnstore indexes, so a query using sys.indexes was implemented as a workaround.
This new query ensures that all index types (Clustered, NonClustered, Columnstore) are included in the result set.
Github Issue: #2546
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.10%. Comparing base (6829848) to head (4cbcd3d).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2563      +/-   ##
============================================
+ Coverage     51.03%   51.10%   +0.06%     
- Complexity     3919     3930      +11     
============================================
  Files           147      147              
  Lines         33456    33445      -11     
  Branches       5604     5602       -2     
============================================
+ Hits          17074    17091      +17     
+ Misses        13971    13964       -7     
+ Partials       2411     2390      -21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Ananya2 Ananya2 self-assigned this Dec 13, 2024
@Ananya2 Ananya2 marked this pull request as draft December 13, 2024 17:04
@Ananya2
Copy link
Contributor Author

Ananya2 commented Dec 17, 2024

Changes have already been requested as a part of #2566, hence closing the PR.

@Ananya2 Ananya2 closed this Dec 17, 2024
@Ananya2 Ananya2 deleted the users/anagarg/issue#2546 branch December 18, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

2 participants