Skip to content

Commit

Permalink
fixed the query for pct data type #156
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaBurek committed May 22, 2024
1 parent e37f947 commit af3659f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ private String getQueryForRow(Map<String, Entry> map) throws DatabaseException {
List<String> errors = new ArrayList<>();
List<Integer> pctThreshList = new ArrayList<>();
if (Util.getAggTypeForStat(Util.getStatForRow(map)).equals(MVUtil.PCT)) {
String mysql = "SELECT DISTINCT ld.n_thresh FROM stat_header h,line_data_pct ld WHERE " + whereFields + "ld.stat_header_id = h.stat_header_id";
String mysql = "SELECT DISTINCT ld.n_thresh FROM stat_header,line_data_pct ld WHERE " + whereFields + "ld.stat_header_id = stat_header.stat_header_id";


for (String databaseName : databaseNames) {
Expand Down

0 comments on commit af3659f

Please sign in to comment.