SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 6)
    Function arrayPartialReverseSort (children 1)
     ExpressionList (children 2)
      Function arraySort (children 1)
       ExpressionList (children 3)
        Function lambda (children 1)
         ExpressionList (children 2)
          Function tuple (children 1)
           ExpressionList (children 2)
            Identifier x
            Identifier y
          Identifier y
        Literal Array_[NULL, NULL]
        Literal Array_[NULL, NULL]
      Identifier arr
    Function arrayMap (alias arr) (children 1)
     ExpressionList (children 2)
      Function lambda (children 1)
       ExpressionList (children 2)
        Function tuple (children 1)
         ExpressionList (children 1)
          Identifier x
        Function toString (children 1)
         ExpressionList (children 1)
          Identifier x
      Literal Array_[UInt64_257, Int64_-9223372036854775807, UInt64_2, Int64_-2147483648, UInt64_2147483648, NULL, UInt64_65536, Int64_-2147483648, UInt64_2, UInt64_65535]
    Literal NULL
    Literal UInt64_100 (alias lim)
    Literal UInt64_65536
    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 reverse (children 1)
           ExpressionList (children 1)
            Identifier x
        Identifier lim
        Identifier arr
      Identifier lim
   ExpressionList (children 1)
    Literal Array_[NULL, UInt64_1023, Int64_-2, NULL, UInt64_255, \'0\', NULL, UInt64_9223372036854775806]
