Skip to content

[cdc] Do not check referenced field if no physical fields provided when computing columns #5329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JackeyLee007
Copy link
Contributor

Purpose

Linked issue: close #xxx

This PR is for computing columns when using kafka_sync_database. There would be multiple different tables to sync, so it's hard to list the exact data fields. No data fields provided would stop the buidling of computing column expressions.

This PR ignores the check when building expressions for kafka_sync_database, since it provides empty_list as the data fields. And it postpones the check to evaluation, which returns null if the referenced field doesn't exist.

Tests

API and Format

Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant