canal icon indicating copy to clipboard operation
canal copied to clipboard

canal-adapter同步mysql至es,etlCondition无效,1.1.5版本中还是无效。请问什么时候能修复这个bug?

Open keketrtr opened this issue 3 years ago • 5 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

environment

  • canal version
  • mysql version

Issue Description

canal-adapter同步mysql至es,etlCondition无效,1.1.5版本中还是无效。请问什么时候能修复这个bug? 手动同步的时候传参数是有效的。但自动同步的时候,etlCondition无效。where条件写到sql里面也不起作用。

Steps to reproduce

Expected behaviour

Actual behaviour

If there is an exception, please attach the exception trace:

Just put your stack trace here!

keketrtr avatar Mar 05 '22 17:03 keketrtr

这是你的问题,根本不是bug。传参需要加params

wscjwacs avatar Apr 24 '22 15:04 wscjwacs

加params只能手动 ETL,如果是增量自动同步,etlCondition设置的 where 条件好像是无效。

xuchengli avatar Aug 16 '22 14:08 xuchengli

为什么我手动etl,加了params参数,参数不起作用。

YanGongQi avatar Sep 23 '22 10:09 YanGongQi

这是你的问题,根本不是bug。传参需要加params

如何加 params

huangbule2024 avatar Dec 03 '22 05:12 huangbule2024

加params只能手动 ETL,如果是增量自动同步,etlCondition设置的 where 条件好像是无效。 @xuchengli 麻烦问下,增量自动同步,无法使用etlCondition问题解决了吗?

lucca-tang avatar Sep 20 '24 04:09 lucca-tang