SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 1)
   ExpressionList (children 2)
    Literal UInt64_4 (alias nelems)
    Function arrayResize (children 1)
     ExpressionList (children 2)
      Function arrayPartialSort (children 1)
       ExpressionList (children 3)
        Function lambda (children 1)
         ExpressionList (children 2)
          Function tuple (children 1)
           ExpressionList (children 1)
            Identifier x
          Function negate (children 1)
           ExpressionList (children 1)
            Identifier x
        Identifier nelems
        Literal Array_[UInt64_1, Float64_nan, UInt64_2, NULL, UInt64_3, Float64_nan, Int64_-4, NULL, Float64_inf, Float64_-inf]
      Identifier nelems
