Skip to content
Permalink
Browse files

Broken sql

  • Loading branch information...
jumpmind-josh committed Feb 21, 2019
1 parent 06c7fa7 commit 559ba4b0101bef48ec5aab8ee8aab8078af353a9
@@ -126,7 +126,7 @@ public DataServiceSqlMap(IDatabasePlatform platform, Map<String, String> replace
+ " case "
+ " when ? > end_data_batch_id then finalize_batch_loaded + ? else finalize_batch_loaded "
+ " end, "
+ " rows_loaded = (select sum(load_rows) from $(table_extract_request) where load_id = ?), last_update_time = ?, "
+ " rows_loaded = (select sum(loaded_rows) from $(extract_request) where load_id = ?), last_update_time = ?, "
+ " completed = case when (finalize_batch_count > 0 and finalize_batch_loaded = finalize_batch_count) or (finalize_batch_count = 0 and data_batch_loaded = data_batch_count) then 1 else 0 end, "
+ " end_time = case when completed = 1 then ? else end_time end "
+ " where load_id = ? and completed = 0");

0 comments on commit 559ba4b

Please sign in to comment.
You can’t perform that action at this time.