스터디/Spark

    [Spark] Array[Struct]의 값을 집계하는 방법 (aggregate 활용)

    https://spark.apache.org/docs/latest/api/sql/#aggregate Spark SQL, Built-in Functions Spark SQL, Built-in Functions Docs » Functions ! expr - Logical not. Examples: > SELECT ! true; false > SELECT ! false; true > SELECT ! NULL; NULL Since: 1.0.0 expr1 != expr2 - Returns true if expr1 is not equal to expr2, or false otherwise. Arguments: ex spark.apache.org Spark SQL의 AGGREGATE 펑션을 사용하면 Array 내의 ..