Skip to content
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

chore(deps): Bump simd-json from 0.10.6 to 0.11.1 & fix error message #12550

Merged
merged 3 commits into from
Oct 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 26, 2023

Bumps simd-json from 0.10.6 to 0.11.1.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot requested a review from a team as a code owner September 26, 2023 18:23
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 26, 2023
TennyZhuang
TennyZhuang previously approved these changes Sep 26, 2023
@TennyZhuang TennyZhuang dismissed their stale review September 26, 2023 23:54

Compilation failed

@dependabot dependabot bot force-pushed the dependabot/cargo/simd-json-0.11.1 branch 3 times, most recently from b6ca1d6 to acc09ee Compare October 2, 2023 18:33
Bumps [simd-json](https://github.com/simd-lite/simd-json) from 0.10.6 to 0.11.1.
- [Commits](simd-lite/simd-json@v0.10.6...v0.11.1)

---
updated-dependencies:
- dependency-name: simd-json
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/simd-json-0.11.1 branch from acc09ee to 16c40fd Compare October 4, 2023 18:40
@xxchan xxchan changed the title chore(deps): Bump simd-json from 0.10.6 to 0.11.1 chore(deps): Bump simd-json from 0.10.6 to 0.11.1 & fix error message Oct 6, 2023
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before

"internal error: AccessError: TypeError { expected: \"i64\", got: \"i64\", value: \"\" }"
"internal error: AccessError: TypeError { expected: \"Some(Boolean)\", got: \"i64\", value: \"2\" }"
"internal error: AccessError: TypeError { expected: \"i16\", got: \"i16\", value: \"\" }"
test parser::debezium::simd_json_parser::tests::test2_mysql::test2_debezium_json_parser_overflow_f64 - should panic ... FAILED
"internal error: AccessError: TypeError { expected: \"i32\", got: \"i32\", value: \"\" }"
"internal error: AccessError: TypeError { expected: \"f32\", got: \"f32\", value: \"\" }"

After

"internal error: AccessError: TypeError { expected: \"Some(Int64)\", got: \"u64\", value: \"9223372036854775808\" }"
"internal error: AccessError: TypeError { expected: \"Some(Boolean)\", got: \"i64\", value: \"2\" }"
"internal error: AccessError: TypeError { expected: \"Some(Int16)\", got: \"i64\", value: \"32768\" }"
"internal error: AccessError: TypeError { expected: \"Some(Int32)\", got: \"i64\", value: \"2147483648\" }"
"internal error: AccessError: TypeError { expected: \"Some(Float32)\", got: \"f64\", value: \"380282347000000000000000000000000000000\" }"

@xxchan xxchan requested review from tabVersion and BugenZhao October 6, 2023 14:30
Comment on lines -513 to -518
// float64 will cause debezium simd_json_parser to panic, therefore included in the next
// test case below
}

#[tokio::test]
#[should_panic]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't panic anymore in 0.11

@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Merging #12550 (f3f0dd7) into main (461c4eb) will decrease coverage by 0.06%.
The diff coverage is 79.16%.

@@            Coverage Diff             @@
##             main   #12550      +/-   ##
==========================================
- Coverage   69.36%   69.30%   -0.06%     
==========================================
  Files        1470     1470              
  Lines      241283   241252      -31     
==========================================
- Hits       167370   167207     -163     
- Misses      73913    74045     +132     
Flag Coverage Δ
rust 69.30% <79.16%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/connector/src/parser/mod.rs 44.79% <0.00%> (-0.24%) ⬇️
.../connector/src/parser/debezium/simd_json_parser.rs 96.91% <90.32%> (+1.83%) ⬆️
src/connector/src/parser/unified/json.rs 64.00% <66.66%> (-0.99%) ⬇️

... and 23 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@xxchan xxchan added this pull request to the merge queue Oct 7, 2023
Merged via the queue into main with commit b0fc8ca Oct 7, 2023
8 checks passed
@xxchan xxchan deleted the dependabot/cargo/simd-json-0.11.1 branch October 7, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file type/chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants