SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Function timeSeriesResampleToGridWithStaleness (alias res) (children 2)
     ExpressionList (children 2)
      Function CAST (children 1)
       ExpressionList (children 2)
        Identifier timestamp
        Literal \'DateTime64(3, \\\'UTC\\\')\'
      Function CAST (children 1)
       ExpressionList (children 2)
        Identifier value
        Literal \'Float32\'
     ExpressionList (children 4)
      Literal UInt64_100
      Literal UInt64_100
      Literal UInt64_15
      Literal UInt64_50
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier ts_data
