Tip: How many rows left to load from 7.7 onwards?


From 7.7, using SourceFile, FileSourcesystem, etc, we can now get an idea of how many more records need to be loaded. When running SourceFile.syncAll (filter-spec) or SourceFile.processAll(filter-spec), the entries for the canonicals are recorded in the SourceFile type . The below example counts how many more records remain to be loaded for a canonical called CanonicalWellStreamMeasurement:
c3Grid(SourceFile.evaluate({projection:"sum(recordStats.recordCount)",filter:"source.typeName=='CanonicalWellStreamMeasurement' && status != 'completed'"}))

substitute your CanonicalName in the above, or include other filters as desired.