Skip to content

Commit

Permalink
fixed overflow bug
Browse files Browse the repository at this point in the history
- fixed Integer Overflow Bug
  • Loading branch information
o-mura committed Mar 8, 2024
1 parent 6dc10ef commit 99d5d78
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ schedule:
TD_API_KEY: ${secret:td.apikey}
+check_max_attempt_id:
td>:
query: select max(cast(id as INTEGER)) as max_id from attempts
query: select max(id) as max_id from attempts
store_last_results: true
database: ${td.database}
+ingest_incremetal_attempt:
Expand All @@ -98,7 +98,7 @@ schedule:
+ingest_incremental_session:
+check_max_session_id:
td>:
query: select max(cast(id as INTEGER)) as max_id, max(time) as last_datetime from ${td.tables.sessions}
query: select max(id) as max_id, max(time) as last_datetime from ${td.tables.sessions}
store_last_results: true
database: ${td.database}

Expand Down

0 comments on commit 99d5d78

Please sign in to comment.