-
Notifications
You must be signed in to change notification settings - Fork 598
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
fix(sink): fix integer array type for remote sink #12334
Conversation
RW_TYPE_TO_JDBC_TYPE_NAME.put(TypeName.TIMESTAMP, "timestamp"); | ||
RW_TYPE_TO_JDBC_TYPE_NAME.put(TypeName.INTERVAL, "varchar"); | ||
RW_TYPE_TO_JDBC_TYPE_NAME.put(TypeName.DATE, "date"); | ||
RW_TYPE_TO_JDBC_TYPE_NAME.put(TypeName.TIMESTAMPTZ, "timestampz"); |
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.
timestampz
should be timestamptz
, tz
in the end
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.
Good catch. Fixed in the latest commit.
3130eb7
to
204d9db
Compare
Codecov Report
@@ Coverage Diff @@
## main #12334 +/- ##
==========================================
+ Coverage 68.62% 68.68% +0.05%
==========================================
Files 1496 1496
Lines 249578 249578
==========================================
+ Hits 171270 171415 +145
+ Misses 78308 78163 -145
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 17 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
CI passed, shall we merge this PR? @hzxa21 |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
There is a typo in the
valueOf
function signature for Integer/Short/Long causing errors when the remote sink is trying to get value from array.Checklist
./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.