InsertQuery   (children 2)
 Identifier cast_enums
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 3)
    ExpressionList (children 3)
     Literal \'session\' (alias type)
     Function toDate (alias date) (children 1)
      ExpressionList (children 1)
       Literal \'2017-01-01\'
     Identifier number (alias id)
    TablesInSelectQuery (children 1)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       TableIdentifier system.numbers
    Literal UInt64_2
