File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
src/main/java/de/jlo/talendcomp/google/analytics/ga4/v1 Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 23
23
<attribute name =" maven.pomderived" value =" true" />
24
24
</attributes >
25
25
</classpathentry >
26
+ <classpathentry excluding =" **" kind =" src" output =" target/classes" path =" src/main/resources" >
27
+ <attributes >
28
+ <attribute name =" maven.pomderived" value =" true" />
29
+ <attribute name =" optional" value =" true" />
30
+ </attributes >
31
+ </classpathentry >
32
+ <classpathentry excluding =" **" kind =" src" output =" target/test-classes" path =" src/test/resources" >
33
+ <attributes >
34
+ <attribute name =" maven.pomderived" value =" true" />
35
+ <attribute name =" test" value =" true" />
36
+ <attribute name =" optional" value =" true" />
37
+ </attributes >
38
+ </classpathentry >
26
39
<classpathentry kind =" output" path =" target/classes" />
27
40
</classpath >
Original file line number Diff line number Diff line change @@ -291,6 +291,8 @@ private void doExecute() throws Exception {
291
291
}
292
292
lastFetchedRowCount = lastResultSet .size ();
293
293
currentPlainRowIndex = 0 ;
294
+ maxCountNormalizedValues = 0 ;
295
+ currentNormalizedValueIndex = 0 ;
294
296
}
295
297
296
298
/**
@@ -441,7 +443,7 @@ private List<DimensionValue> buildDimensionValues(List<String> oneRow) {
441
443
return oneRowDimensionValues ;
442
444
}
443
445
444
- private List <MetricValue > buildMetricValues (List <String > oneRow ) {
446
+ private List <MetricValue > buildMetricValues (List <String > onePlainRow ) {
445
447
int index = 0 ;
446
448
final List <MetricValue > oneRowMetricValues = new ArrayList <MetricValue >();
447
449
for (; index < listMetrics .size (); index ++) {
@@ -453,7 +455,7 @@ private List<MetricValue> buildMetricValues(List<String> oneRow) {
453
455
}
454
456
mv .rowNum = currentOverallPlainRowCount ;
455
457
int countDimensions = listDimensions .size ();
456
- String valueStr = oneRow .get (index + countDimensions );
458
+ String valueStr = onePlainRow .get (index + countDimensions );
457
459
try {
458
460
mv .value = Util .convertToDouble (valueStr , Locale .ENGLISH .toString ());
459
461
oneRowMetricValues .add (mv );
You can’t perform that action at this time.
0 commit comments