sqlString="create topic %s as %s"%(topicNameList[1],queryString)
tdLog.info("create topic sql: %s"%sqlString)
tdSql.execute(sqlString)
tdSql.query(queryString)
expectRowsList.append(tdSql.getRows())
sqlString="create topic %s as select ts, c1, c2 from %s.%s where ts >= %d"%(topicNameList[2],paraDict['dbName'],paraDict['stbName'],paraDict["startTs"]+9000)
queryString="select ts, log(c1), atan(c1) from %s.%s where ts >= %d"%(paraDict['dbName'],paraDict['stbName'],paraDict["startTs"]+9000)
print(sqlString)
sqlString="create topic %s as %s"%(topicNameList[2],queryString)
tdLog.info("create topic sql: %s"%sqlString)
tdSql.execute(sqlString)
tdSql.execute(sqlString)
# tdSql.execute("create topic %s as select ts, c1, c2 from %s.%s where ts >= %d" %(topicNameList[2], paraDict['dbName'], paraDict['stbName'], paraDict["startTs"]+9000))