When multiplying two columns together in a spark SQL table with random negative values, returns "NaN" for those which have a negative in one of the columns. Any techniques to help get the calculations work?
SELECT temperature * days FROM weather_data
question from:https://stackoverflow.com/questions/66059902/dealing-with-negatives-in-calculations-databricks-spark-sql