[SPARK-3781] code Style format