InsertQuery   (children 2)
 Identifier ts_data_nullable
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 2)
    ExpressionList (children 3)
     Identifier id
     Identifier timestamp
     Identifier value
    TablesInSelectQuery (children 2)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       TableIdentifier ts_data
     TablesInSelectQueryElement (children 1)
      ArrayJoin (children 1)
       ExpressionList (children 2)
        Identifier timestamps (alias timestamp)
        Function arrayResize (alias value) (children 1)
         ExpressionList (children 3)
          Identifier values
          Function length (children 1)
           ExpressionList (children 1)
            Identifier timestamps
          Literal NULL
