SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 3)
    Function arrayMap (alias diff_percent) (children 1)
     ExpressionList (children 3)
      Function lambda (children 1)
       ExpressionList (children 2)
        Function tuple (children 1)
         ExpressionList (children 2)
          Identifier x
          Identifier y
        Function floor (children 1)
         ExpressionList (children 2)
          Function divide (children 1)
           ExpressionList (children 2)
            Function minus (children 1)
             ExpressionList (children 2)
              Identifier y
              Identifier x
            Identifier x
          Literal UInt64_3
      Identifier l
      Identifier r
    Identifier test
    Identifier query
   TablesInSelectQuery (children 4)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (alias s1) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 1)
           Literal Array_[UInt64_1] (alias l)
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      Subquery (alias s2) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 1)
           Literal Array_[UInt64_2] (alias r)
     TableJoin
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      Subquery (alias any_query) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 2)
           Literal \'test\' (alias test)
           Literal \'query\' (alias query)
     TableJoin
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      Subquery (alias check_single_query) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 1)
           Literal UInt64_1
     TableJoin
