Skip to content

CDC3.1.1的filter怎么写能使用mysql的关键字? #3480

Answered by yuxiqian
jeeinn asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, I forgot the YAML parsing rules. It says a string literal could not start with `, so wrapping the entire line with quotes should be fine:

transform:
  - source-table: db.record
    filter: "`date` >= 20230101"

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jeeinn
Comment options

@yuxiqian
Comment options

Answer selected by jeeinn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants