Skip to content

Commit

Permalink
0003905: table sym_extract_request not found, missing table prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Apr 9, 2019
1 parent 900ac13 commit 580bf32
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -44,11 +44,11 @@ public DataExtractorServiceSqlMap(IDatabasePlatform platform,

putSql("countExtractChildRequestMissed",
"select count(*) from $(extract_request) where status = ? and parent_request_id > 0 "
+ "and parent_request_id in (select request_id from sym_extract_request where parent_request_id = 0 and status = ?)");
+ "and parent_request_id in (select request_id from $(extract_request) where parent_request_id = 0 and status = ?)");

putSql("releaseExtractChildRequestMissed",
"update sym_extract_request set parent_request_id = 0 where status = ? and parent_request_id > 0 "
+ "and parent_request_id in (select request_id from sym_extract_request where parent_request_id = 0 and status = ?)");
"update $(extract_request) set parent_request_id = 0 where status = ? and parent_request_id > 0 "
+ "and parent_request_id in (select request_id from $(extract_request) where parent_request_id = 0 and status = ?)");

putSql("insertExtractRequestSql", "insert into $(extract_request) (request_id, node_id, queue, status, start_batch_id, end_batch_id, trigger_id, router_id, load_id, table_name, total_rows, parent_request_id, last_update_time, create_time) "
+ " values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, current_timestamp, current_timestamp)");
Expand Down

0 comments on commit 580bf32

Please sign in to comment.