flink-cdc
flink-cdc copied to clipboard
[fix][cdc-connector][oracle] Fix oracle server time zone option missing in table api.
Prepare a Pull Request
Fixes: #2977
Motivation
oracle cdc support server-time-zone option in table api.
Modifications
- Modify OracleTableSource, added serverTimeZone argument in constructor and set this argument in getScanRuntimeProvider method.
- Modify OracleTableSourceFactory, add optionalOptions and validate if the serverTimeZone is valid
- Modify UnitTests of oracle cdc