Step 1 - Set the Trades Connector to Incremental Mode
-
In the Administration Console, go to Connectors and click the
trades
JDBC connector. -
In Query parameters:
- For Synchronization mode, select Query-based incremental synchronization
-
For Checkpoint query, enter:
select max(year) from trade
-
For Incremental variable, enter:
YEAR
-
For Incremental query, enter:
select country_id, type, volume, year from trade where year > "$(YEAR)"
- Click Apply.