sqlStr:="create table if not exists "+dbName+"."+childTblPrefix+strconv.Itoa(i)+" using "+dbName+".meters tags('"+locations[i%maxLocationSize]+"', "+strconv.Itoa(i)+");"
//fmt.Printf("sqlStr: %v\n", sqlStr)
_,err=db.Exec(sqlStr)
checkErr(err,sqlStr)
}
wg.Done()
runtime.Goexit()
fori:=startTblId;i<=endTblId;i++{
sqlStr:="create table if not exists "+dbName+"."+childTblPrefix+strconv.Itoa(i)+" using "+dbName+".meters tags('"+locations[i%maxLocationSize]+"', "+strconv.Itoa(i)+");"