常用的函数:
select
、lit
、as
、groupBy
、agg
、sum
、as
、where
、withColumn
、 col
、 when
、 otherwise
、 join
、withColumnRenamed
、 isin
、 cast
、 $
、 union
、 gt
、 struct
、sort
、desc
、show
、orderBy
、asc
、repartition
、sortWithinPartitions
、filter
、selectExpr
、pivot
、expr
、row_number
、over
、 partitionBy
1 2 3 4 5 6 |
|
UDF:
spark.udf.register