Details
Description
Code:
val userDF = app_user_register_log.filter($"add_time" > startDay).filter($"add_time" < endDay)
.select("id").as("userReg")
.join(activeDF.as("ad"), $"userReg.id" === $"ad.uid")
.select("ad.uid","ad.clientVerion","ad.loc","ad.auth_status"
,"ad.channel","ad.bd_area","ad.mobile_area","ad.idcard_area")
.withColumn("count", $"count") // Exception came from this line