queryString="select ts, log(c1), cos(c1) from %s.%s where c1 > 5000"%(paraDict['dbName'],paraDict['stbName'])
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)
print(sqlString)
queryString="select ts, log(c1), atan(c1) from %s.%s where ts >= %d"%(paraDict['dbName'],paraDict['stbName'],paraDict["startTs"]+9000)
sqlString="create topic %s as %s"%(topicNameList[2],queryString)
tdLog.info("create topic sql: %s"%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))