queryStr = WebServiceParams.query(queryStr);
TablePartion part = GetPartions.partion(projectName);
KmeansQueryParse kmeansData = AdhocHivePartions.getKmeansDays(queryStr);
LinkedHashMap<String, String> filetypeMap = MdrillFieldInfo.readFieldsFromSchemaXml(stormconf,part.name);
ArrayList<String> fqList = WebServiceParams.fqListHive(false,hpart,kmeansData.queryStr,isPartionByPt, filetypeMap,null,null,null);
StringBuffer sqlWhere =AdhocWebServiceParams.makeWhere(fqList,exlist,idcols);
LOG.info("queryStr:"+queryStr+">>>>kmeansData.queryStr:"+kmeansData.queryStr+","+sqlWhere.toString()+","+fqList.toString());
// String hql = "select custid from " + projectName + " " + sqlWhere.toString() + " " ;
final String[] sqlparams=PrintSql.makeSql(projectName, sqlWhere.toString(), idcols, kmeansData.getSortDays(), colls_important, number_important, colls, numbers);;
String hql=sqlparams[0];
String md5 = MD5.getMD5(hql);
SimpleDateFormat fmt = new SimpleDateFormat("yyyyMMdd");