SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Function multiply (children 1)
     ExpressionList (children 2)
      Function if (children 1)
       ExpressionList (children 3)
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier action
          Literal \'bonus\'
        Identifier sport_amount
        Literal UInt64_0
      Literal UInt64_100
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 2)
           Identifier message (alias action)
           Function CAST (alias sport_amount) (children 1)
            ExpressionList (children 2)
             Identifier message
             Literal \'Float64\'
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             TableIdentifier test_table
