ajantha-bhat commented on a change in pull request #3345: [CARBONDATA-3487] wrong Input metrics (size/record) displayed in spark UI during insert into
URL:
https://github.com/apache/carbondata/pull/3345#discussion_r311389116
##########
File path: integration/spark-common/src/main/scala/org/apache/spark/CarbonInputMetrics.scala
##########
@@ -35,20 +35,28 @@ class CarbonInputMetrics extends InitInputMetrics{
var inputMetrics: InputMetrics = _
// bytes read before compute by other map rdds in lineage
var existingBytesRead: Long = _
+ var recordCount: Long = _
Review comment:
CarbonInputMetrics doesn't need syncronization, only inputMetrics (spark) inside that need synchronization
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services