SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Function timeSeriesResampleToGridWithStaleness (alias res) (children 2)
     ExpressionList (children 2)
      Function if (children 1)
       ExpressionList (children 3)
        Function less (children 1)
         ExpressionList (children 2)
          Identifier value
          Literal UInt64_10120
        Literal NULL
        Identifier timestamp
      Function CAST (children 1)
       ExpressionList (children 2)
        Identifier value
        Literal \'Float32\'
     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
