-
Notifications
You must be signed in to change notification settings - Fork 590
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
test(source): refactor upsert avro tests #17044
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
274245b
to
b9d8937
Compare
# TODO: Uncomment this when we add test data kafka key with format `"ID":id` | ||
# statement ok | ||
# CREATE TABLE upsert_avro_json ( | ||
# PRIMARY KEY("ID") | ||
# ) | ||
# WITH ( | ||
# connector = 'kafka', | ||
# properties.bootstrap.server = '${RISEDEV_KAFKA_BOOTSTRAP_SERVERS}', | ||
# topic = 'upsert_avro_json') | ||
# FORMAT UPSERT ENCODE AVRO (schema.registry = '${RISEDEV_SCHEMA_REGISTRY_URL}'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't actually understand what's the commented test mean. Just kept it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We used to parse kafka key with Json format. That's why it required the key looks like "ID": id
. But now we parse kafka key as bytes
, so I think we can uncomment this now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try enable in #17062
2347104
to
4d34ffc
Compare
4d34ffc
to
4c9169b
Compare
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
source_inline
and use risedev env vars to be easier to run locallyChecklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.