SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Identifier result
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 3)
           Function tuple (alias input_geo) (children 1)
            ExpressionList (children 2)
             Identifier lon
             Identifier lat
           Function h3ToGeo (alias output_geo) (children 1)
            ExpressionList (children 1)
             Function geoToH3 (children 1)
              ExpressionList (children 3)
               Identifier lon
               Identifier lat
               Identifier res
           Function if (alias result) (children 1)
            ExpressionList (children 3)
             Function and (children 1)
              ExpressionList (children 2)
               Function less (children 1)
                ExpressionList (children 2)
                 Function abs (children 1)
                  ExpressionList (children 1)
                   Function minus (children 1)
                    ExpressionList (children 2)
                     Function tupleElement (children 1)
                      ExpressionList (children 2)
                       Identifier input_geo
                       Literal UInt64_1
                     Function tupleElement (children 1)
                      ExpressionList (children 2)
                       Identifier output_geo
                       Literal UInt64_1
                 Literal Float64_0.001
               Function less (children 1)
                ExpressionList (children 2)
                 Function abs (children 1)
                  ExpressionList (children 1)
                   Function minus (children 1)
                    ExpressionList (children 2)
                     Function tupleElement (children 1)
                      ExpressionList (children 2)
                       Identifier input_geo
                       Literal UInt64_2
                     Function tupleElement (children 1)
                      ExpressionList (children 2)
                       Identifier output_geo
                       Literal UInt64_2
                 Literal Float64_0.001
             Literal \'ok\'
             Literal \'fail\'
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             TableIdentifier h3_geo
