You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by "zhaowei93 (via GitHub)" <gi...@apache.org> on 2025/05/30 03:01:09 UTC
[I] pipeline 同步msyql cdc数据时增加Transform filter 过滤数据中文报错 [flink-cdc]
zhaowei93 opened a new issue, #4031:
URL: https://github.com/apache/flink-cdc/issues/4031
### Please don't check the box below
- [x] I'm aware that bugs and new features should be reported on [Apache Jira](https://issues.apache.org/jira) or Flink mailing list (dev@flink.apache.org) instead of here
### Again, please don't check the box below
- [x] I'm aware that new issues on GitHub will be ignored and automatically closed.
### 请不要勾选以下选项
- [x] 我已知悉缺陷和新功能需要在 [Apache Jira](https://issues.apache.org/jira) 或 Flink 邮件列表(dev@flink.apache.org)中反馈,而不是在这里创建新 issue。
### 也请不要勾选以下选项
- [x] 我已知悉 GitHub 上的新 issue 会被忽略且自动关闭。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@flink.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] pipeline 同步msyql cdc数据时增加Transform filter 过滤数据中文报错 [flink-cdc]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4031:
URL: https://github.com/apache/flink-cdc/issues/4031#issuecomment-2923758949
This issue has been closed because Flink CDC doesn't use GitHub issue trackers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] pipeline 同步msyql cdc数据时增加Transform filter 过滤数据中文报错 [flink-cdc]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4031: pipeline 同步msyql cdc数据时增加Transform filter 过滤数据中文报错
URL: https://github.com/apache/flink-cdc/issues/4031
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] pipeline 同步msyql cdc数据时增加Transform filter 过滤数据中文报错 [flink-cdc]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4031:
URL: https://github.com/apache/flink-cdc/issues/4031#issuecomment-2923758929
As required by Apache Flink, please report bugs or new features on Apache Jira under the project Flink using component tag Flink CDC. You must have a JIRA account in order to log cases and issues. If you don’t have an ASF JIRA account, you can request one at the ASF Self-serve portal, account creation requires review by the PMC member of the application project, which normally takes one to two working days to be approved.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] pipeline 同步msyql cdc数据时增加Transform filter 过滤数据中文报错 [flink-cdc]
Posted by "zhaowei93 (via GitHub)" <gi...@apache.org>.
zhaowei93 commented on issue #4031:
URL: https://github.com/apache/flink-cdc/issues/4031#issuecomment-2921100925
我的yaml 配置如下:
transform:
- source-table: ubmpdb.cron_task_info_back_tmp
filter: TASK_NAME = '测试'
description: filtering rows from source table
2025-05-30 11:03:58,265 INFO org.apache.flink.runtime.executiongraph.ExecutionGraph [] - Transform:Data -> SchemaOperator -> PrePartition (1/1) (89ef20142901e12bd2a9853fe1c079c5_90bea66de1c231edf33913ecd54406c1_0_0) switched from RUNNING to FAILED on localhost:33549-0c85b2 @ localhost (dataPort=39423).
org.apache.flink.util.FlinkRuntimeException: org.apache.flink.api.common.InvalidProgramException: Expression cannot be compiled. This is a bug. Please file an issue.
Expression: import static org.apache.flink.cdc.runtime.functions.SystemFunctionUtils.*;valueEquals($0, "&'\6d4b\8bd5")
Column name map: {TASK_NAME=$0}
at org.apache.flink.cdc.runtime.operators.transform.TransformExpressionCompiler.compileExpression(TransformExpressionCompiler.java:85) ~[?:?]
at org.apache.flink.cdc.runtime.operators.transform.TransformFilterProcessor.<init>(TransformFilterProcessor.java:67) ~[?:?]
at org.apache.flink.cdc.runtime.operators.transform.TransformFilterProcessor.of(TransformFilterProcessor.java:83) ~[?:?]
at org.apache.flink.cdc.runtime.operators.transform.PostTransformOperator.processDataChangeEvent(PostTransformOperator.java:418) ~[?:?]
at org.apache.flink.cdc.runtime.operators.transform.PostTransformOperator.processElement(PostTransformOperator.java:258) ~[?:?]
at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask$StreamTaskNetworkOutput.emitRecord(OneInputStreamTask.java:238) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.processElement(AbstractStreamTaskNetworkInput.java:157) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.emitNext(AbstractStreamTaskNetworkInput.java:114) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:65) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:638) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:231) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:973) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:917) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.runtime.taskmanager.Task.runWithSystemExitMonitoring(Task.java:970) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.runtime.taskmanager.Task.restoreAndInvoke(Task.java:949) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:763) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.runtime.taskmanager.Task.run(Task.java:575) ~[flink-dist-1.20.1.jar:1.20.1]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: org.apache.flink.shaded.guava31.com.google.common.util.concurrent.UncheckedExecutionException: org.apache.flink.api.common.InvalidProgramException: Expression cannot be compiled. This is a bug. Please file an issue.
Expression: import static org.apache.flink.cdc.runtime.functions.SystemFunctionUtils.*;valueEquals($0, "&'\6d4b\8bd5")
Column name map: {TASK_NAME=$0}
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2055) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache.get(LocalCache.java:3966) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4863) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.cdc.runtime.operators.transform.TransformExpressionCompiler.compileExpression(TransformExpressionCompiler.java:52) ~[?:?]
... 17 more
Caused by: org.apache.flink.api.common.InvalidProgramException: Expression cannot be compiled. This is a bug. Please file an issue.
Expression: import static org.apache.flink.cdc.runtime.functions.SystemFunctionUtils.*;valueEquals($0, "&'\6d4b\8bd5")
Column name map: {TASK_NAME=$0}
at org.apache.flink.cdc.runtime.operators.transform.TransformExpressionCompiler.lambda$compileExpression$0(TransformExpressionCompiler.java:77) ~[?:?]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4868) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3533) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2282) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2159) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2049) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache.get(LocalCache.java:3966) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4863) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.cdc.runtime.operators.transform.TransformExpressionCompiler.compileExpression(TransformExpressionCompiler.java:52) ~[?:?]
... 17 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 1, Column 92: Invalid escape sequence
at org.codehaus.janino.Scanner.scanLiteralCharacter(Scanner.java:669) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Scanner.scan(Scanner.java:373) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Scanner.produce(Scanner.java:292) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.TokenStreamImpl.produceToken(TokenStreamImpl.java:55) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.TokenStreamImpl.peek(TokenStreamImpl.java:94) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.TokenStreamImpl.peek(TokenStreamImpl.java:119) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.peek(Parser.java:3797) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseExpression(Parser.java:2733) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseArgumentList(Parser.java:3675) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseArguments(Parser.java:3661) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parsePrimary(Parser.java:3323) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseUnaryExpression(Parser.java:3124) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseMultiplicativeExpression(Parser.java:3083) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseAdditiveExpression(Parser.java:3062) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseShiftExpression(Parser.java:3041) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseRelationalExpression(Parser.java:2936) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseEqualityExpression(Parser.java:2910) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseAndExpression(Parser.java:2889) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseExclusiveOrExpression(Parser.java:2868) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseInclusiveOrExpression(Parser.java:2847) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseConditionalAndExpression(Parser.java:2826) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseConditionalOrExpression(Parser.java:2805) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseConditionalExpression(Parser.java:2786) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseAssignmentExpression(Parser.java:2767) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.Parser.parseExpression(Parser.java:2735) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.ExpressionEvaluator.cook2(ExpressionEvaluator.java:480) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.ExpressionEvaluator.cook(ExpressionEvaluator.java:452) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.ExpressionEvaluator.cook(ExpressionEvaluator.java:443) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.ExpressionEvaluator.cook(ExpressionEvaluator.java:409) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.janino.ExpressionEvaluator.cook(ExpressionEvaluator.java:394) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:82) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:77) ~[flink-table-runtime-1.20.1.jar:1.20.1]
at org.apache.flink.cdc.runtime.operators.transform.TransformExpressionCompiler.lambda$compileExpression$0(TransformExpressionCompiler.java:74) ~[?:?]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4868) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3533) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2282) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2159) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2049) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache.get(LocalCache.java:3966) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.shaded.guava31.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4863) ~[flink-dist-1.20.1.jar:1.20.1]
at org.apache.flink.cdc.runtime.operators.transform.TransformExpressionCompiler.compileExpression(TransformExpressionCompiler.java:52) ~[?:?]
... 17 more
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] pipeline 同步msyql cdc数据时增加Transform filter 过滤数据中文报错 [flink-cdc]
Posted by "yuxiqian (via GitHub)" <gi...@apache.org>.
yuxiqian commented on issue #4031:
URL: https://github.com/apache/flink-cdc/issues/4031#issuecomment-2921143652
Could you please create a JIRA ticket at https://issues.apache.org/jira/projects/FLINK/summary?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org