[SPARK-3341][SQL] The dataType of Sqrt expression should be DoubleType.