You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add batch size control for column statistics analysis (#135)
This commit introduces a new constant, DefaultColumnBatchSize in the StatExtractor to define the default number of rows processed at a time during column statistics analysis. The UpdateStatisticsModel method has been updated to include a columnBatchSize parameter, which is then passed to the LoadColumnStatistics method.
// UpdateStatisticsModel has been marked as obsolete because its usage may require rerunning the DMVs for models with DirectLake partitions. Since this logic should be handled by the library, we may consider removing it from the public APIs in a future release.
28
33
[Obsolete("This method may produce incomplete results if used on a model with DirectLake partitions and DirectLakeExtractionMode parameter set to anything other than ResidentOnly. Use TomExtractor.GetDaxModel instead.")]
#pragma warning restore CS0618// Type or member is obsolete
309
309
310
310
// If model has any DL partitions and we have forced all columns into memory then re-run the DMVs to update the data with the new values after everything has been transcoded.
@@ -334,7 +334,7 @@ public static Tom.Database GetDatabase(string connectionString)
334
334
returndb??thrownewArgumentException($"The database '{databaseName}' could not be found. Either it does not exist or you do not have admin rights to it.");
#pragma warning restore CS0618// Type or member is obsolete
357
357
358
358
// If model has any DL partitions and we have forced all columns into memory then re-run the DMVs to update the data with the new values after everything has been transcoded.
0 commit comments