Skip to content

Commit

Permalink
Correcting DQ analysis comment
Browse files Browse the repository at this point in the history
Co-authored-by: Alberto Spelta <[email protected]>
  • Loading branch information
dgosbell and albertospelta authored Mar 21, 2024
1 parent 9f33efc commit 42facfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dax.Model.Extractor/StatExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void LoadRelationshipStatistics(int sampleRows = 0,bool analyzeDirectQuer
// only get relationship stats if the relationship has an ID
var relationshipList = DaxModel.Relationships.Where(r => r.Dmv1200RelationshipId != 0)
.Where(rel =>
// we are analyzing DQ and both columns are in a table with DQ partitions
// we are analyzing DQ and either column is in a table with DQ partitions
(analyzeDirectQuery && ((rel.FromColumn.Table.HasDirectQueryPartitions) || (rel.ToColumn.Table.HasDirectQueryPartitions)))

// or we are analyzing DL and either column is in a table with DL partitions
Expand Down

0 comments on commit 42facfe

Please sign in to comment.