[SPARK-3892][SQL] remove redundant type name