Condividi tramite


lastProgress (StreamingQuery)

Restituisce l'aggiornamento più recente StreamingQueryProgress di questa query di streaming o None se non sono stati apportati aggiornamenti dello stato.

Restituzioni

StreamingQueryProgress oppure None

Examples

sdf = spark.readStream.format("rate").load()
sq = sdf.writeStream.format('memory').queryName('this_query').start()
sq.lastProgress
sq.stop()