Hi team, I'm working on a lookup job. There is a ...
# troubleshooting
a
Hi team, I'm working on a lookup job. There is a JDBC source and a CDC source, and I join them using the 'FOR SYSTEM_TIME AS OF' syntax. I expect the JDBC source to act as a dimension table so I can add some information immediately when the CDC message arrives and query new records when some dimension cache entries do not exist or are overdue. However, when the job starts, the JDBC task just loads all the records and finishes; it doesn't make new requests to the database. I'm really curious if I misunderstood the documentation regarding 'lookup.cache'. Can the JDBC task run as an eternal task and issue queries when the cache is overdue?
OK, I mixed up temporal join and lookup join. I declared a watermark in the JDBC source table. I hope this could be helpful to someone like me