SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Function timeSeriesResampleToGridWithStalenessIf (alias res) (children 2)
     ExpressionList (children 3)
      Identifier timestamp
      Identifier value
      Function equals (children 1)
       ExpressionList (children 2)
        Function modulo (children 1)
         ExpressionList (children 2)
          Identifier value
          Literal UInt64_2
        Literal UInt64_0
     ExpressionList (children 4)
      Literal UInt64_100
      Literal UInt64_150
      Literal UInt64_15
      Literal UInt64_50
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier ts_data
