Re: [Spark SQL] [DISK_ONLY Persistence] getting "this.inMemSorter" is null exception

2024-11-11 Thread Gurunandan
Hi Ashwani, Please verify input data by ensuring that the data being processed is valid and free of null values or unexpected data types. if data undergoes complex transformations before sorting review the data Transformations, verify that data transformations don't introduce inconsistencies or nul

Observation not working on jdbc write

2024-11-11 Thread Smokeriu
Spark version is 3.2.2 I want to observe row count before write to jdbc using observation: ds.observe("stepName", F.count(F.lit(1)).as("_rc")) And I add QueryExecutionListener to my spark session. code like : val metrics = qe.observedMetrics > logInfo(s"Function $funcName success. Try send me