This commit is contained in:
christianwade 2016-12-05 22:26:43 -08:00
parent a20b9681cb
commit c4b3ee7e3b

View File

@ -249,6 +249,12 @@ namespace AsPartitionProcessing
Server server = new Server(); Server server = new Server();
try try
{ {
LogMessage("", false);
LogMessage($"Merge partitions into {partitionKey} for table {analysisServicesTable}", false);
LogMessage(new String('-', partitionKey.Length + analysisServicesTable.Length + 33), false);
LogMessage("", false);
LogMessage("=>Actions & progress:", false);
//Check target granularity //Check target granularity
if (targetGranularity == Granularity.Daily) if (targetGranularity == Granularity.Daily)
{ {
@ -357,18 +363,6 @@ namespace AsPartitionProcessing
} }
} }
/// <summary>
/// Merge day partitions into a month partition.
/// </summary>
/// <param name="modelConfiguration">Configuration info for the model</param>
/// <param name="messageLogger">Pointer to logging method</param>
/// <param name="monthPartitionKey">Month partition key following yyyymm</param>
public static void MergeDaysToMonth(ModelConfiguration modelConfiguration, LogMessageDelegate messageLogger, string monthPartitionKey)
{
}
#endregion #endregion
#region Private Methods #region Private Methods
@ -512,7 +506,6 @@ namespace AsPartitionProcessing
partitionsExisting.Add(partition); partitionsExisting.Add(partition);
} }
} }
partitionsExisting.Sort();
return partitionsExisting; return partitionsExisting;
} }