seatunnel icon indicating copy to clipboard operation
seatunnel copied to clipboard

[Fix][Transform] Fix sql transform lose source type and options

Open Hisoka-X opened this issue 9 months ago • 1 comments

Purpose of this pull request

This PR fix sql transform lose source type and options.

Does this PR introduce any user-facing change?

no

How was this patch tested?

add new test.

Check list

  • [ ] If any new Jar binary package adding in your PR, please add License Notice according New License Guide
  • [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
  • [ ] If you are contributing the connector code, please check that the following files are updated:
    1. Update change log that in connector document. For more details you can refer to connector-v2
    2. Update plugin-mapping.properties and add new connector information in it
    3. Update the pom file of seatunnel-dist
  • [ ] Update the release-note.

Hisoka-X avatar May 15 '24 09:05 Hisoka-X

cc @hailin0 @rewerma

Hisoka-X avatar May 15 '24 13:05 Hisoka-X

?修复了什么,我使用mongodb同步mysql时还是会显示没有配置result_table_name 2024-07-17 16:32:40,417 INFO [o.a.s.e.c.p. ConfigParserUtil ] [main] - Currently, incorrect configuration of source_table_name and result_table_name options don't affect job running. In the future we will ban incorrect configurations. 2024-07-17 16:32:40,417 WARN [o.a.s.e.c.p. ConfigParserUtil ] [main] - This configuration is not recommended. A source/transform(MongoDB-CDC) is not configured with 'result_table_name' option, but subsequent transform/sink(Sql) is configured with 'source_table_name' option value of 'test'. 2024-07-17 16:32:40,417 INFO [o.a.s.e.c.p. ConfigParserUtil ] [main] - Currently, incorrect configuration of source_table_name and result_table_name options don't affect job running. In the future we will ban incorrect configurations. 2024-07-17 16:32:40,417 WARN [o.a.s.e.c.p. ConfigParserUtil ] [main] - This configuration is not recommended. A source/transform(Sql) is configured with 'result_table_name' option value of 'test1', but subsequent transform/sink(jdbc) is not configured with 'source_table_name' option.

luhanbin111 avatar Jul 17 '24 08:07 luhanbin111

同问

liuyhl avatar Jul 29 '24 13:07 liuyhl