@@ -54,21 +54,21 @@ async Task ProcessBlockAsync(
54
54
item . Activity . SourceTable . DatabaseName ) ;
55
55
var folderPath = $ "activities/{ item . Activity . ActivityName } " +
56
56
$ "iterations/{ item . Iteration . IterationId : D20} " +
57
- $ "/blocks/{ item . BlockItem . BlockId : D20} ";
57
+ $ "/blocks/{ item . Block . BlockId : D20} ";
58
58
var writableUris = await StagingBlobUriProvider . GetWritableFolderUrisAsync (
59
59
folderPath ,
60
60
ct ) ;
61
61
var query = Parameterization . Activities [ item . Activity . ActivityName ] . KqlQuery ;
62
62
var operationId = await dbClient . ExportBlockAsync (
63
- new KustoPriority ( item . BlockItem . GetIterationKey ( ) ) ,
63
+ new KustoPriority ( item . Block . GetIterationKey ( ) ) ,
64
64
writableUris ,
65
65
query ,
66
66
item . Iteration . CursorStart ,
67
67
item . Iteration . CursorEnd ,
68
- item . BlockItem . IngestionTimeStart ,
69
- item . BlockItem . IngestionTimeEnd ,
68
+ item . Block . IngestionTimeStart ,
69
+ item . Block . IngestionTimeEnd ,
70
70
ct ) ;
71
- var blockItem = item . BlockItem . ChangeState ( BlockState . Exporting ) ;
71
+ var blockItem = item . Block . ChangeState ( BlockState . Exporting ) ;
72
72
73
73
blockItem . OperationId = operationId ;
74
74
RowItemGateway . Append ( blockItem ) ;
@@ -96,8 +96,8 @@ private async Task<IEnumerable<ActivityFlatHierarchy>> GetExportLineUpAsync(
96
96
. Select ( g => new
97
97
{
98
98
ClusterUri = g . Key ,
99
- ExportingCount = g . Count ( h => h . BlockItem . State == BlockState . Exporting ) ,
100
- Candidates = g . Where ( h => h . BlockItem . State == BlockState . Planned )
99
+ ExportingCount = g . Count ( h => h . Block . State == BlockState . Exporting ) ,
100
+ Candidates = g . Where ( h => h . Block . State == BlockState . Planned )
101
101
} )
102
102
// Keep only clusters with candidates
103
103
. Where ( o => o . Candidates . Any ( ) )
@@ -119,7 +119,7 @@ private async Task<IEnumerable<ActivityFlatHierarchy>> GetExportLineUpAsync(
119
119
. Where ( o => o . ExportingAvailability > 0 )
120
120
// Select candidates by priority
121
121
. SelectMany ( o => o . Candidates
122
- . OrderBy ( c => new KustoPriority ( c . BlockItem . GetIterationKey ( ) ) )
122
+ . OrderBy ( c => new KustoPriority ( c . Block . GetIterationKey ( ) ) )
123
123
. Take ( o . ExportingAvailability ) )
124
124
. ToImmutableArray ( ) ;
125
125
0 commit comments