Skip to content

Commit 4fde65f

Browse files
chore(deps): Bump simd-json from 0.12.0 to 0.13.3 (#13119)
Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Runji Wang <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Runji Wang <[email protected]>
1 parent c0ab3ca commit 4fde65f

File tree

7 files changed

+38
-10
lines changed

7 files changed

+38
-10
lines changed

Cargo.lock

Lines changed: 25 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/connector/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ serde = { version = "1", features = ["derive", "rc"] }
108108
serde_derive = "1"
109109
serde_json = "1"
110110
serde_with = { version = "3", features = ["json"] }
111-
simd-json = "0.12.0"
111+
simd-json = "0.13.3"
112112
strum = "0.25"
113113
strum_macros = "0.25"
114114
tempfile = "3"

src/connector/src/parser/canal/simd_json_parser.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
use itertools::Itertools;
1616
use risingwave_common::error::ErrorCode::{self, ProtocolError};
1717
use risingwave_common::error::{Result, RwError};
18-
use simd_json::{BorrowedValue, Mutable, ValueAccess};
18+
use simd_json::prelude::{MutableObject, ValueAsScalar, ValueObjectAccess};
19+
use simd_json::BorrowedValue;
1920

2021
use crate::only_parse_payload;
2122
use crate::parser::canal::operators::*;

src/connector/src/parser/common.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
use simd_json::{BorrowedValue, ValueAccess};
15+
use simd_json::prelude::ValueAsContainer;
16+
use simd_json::BorrowedValue;
1617

1718
/// Get a value from a json object by key, case insensitive.
1819
///

src/connector/src/parser/debezium/mongo_json_parser.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ use std::fmt::Debug;
1717
use risingwave_common::error::ErrorCode::{self, ProtocolError};
1818
use risingwave_common::error::{Result, RwError};
1919
use risingwave_common::types::DataType;
20-
use simd_json::{BorrowedValue, Mutable};
20+
use simd_json::prelude::MutableObject;
21+
use simd_json::BorrowedValue;
2122

2223
use crate::only_parse_payload;
2324
use crate::parser::unified::debezium::{DebeziumChangeEvent, MongoProjection};

src/connector/src/parser/debezium/simd_json_parser.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
use std::fmt::Debug;
1616

1717
use risingwave_common::error::{ErrorCode, Result, RwError};
18-
use simd_json::{BorrowedValue, Mutable};
18+
use simd_json::prelude::MutableObject;
19+
use simd_json::BorrowedValue;
1920

2021
use crate::parser::unified::json::{JsonAccess, JsonParseOptions};
2122
use crate::parser::unified::AccessImpl;

src/connector/src/parser/unified/json.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ use risingwave_common::types::{
2323
DataType, Date, Decimal, Int256, Interval, JsonbVal, ScalarImpl, Time, Timestamp, Timestamptz,
2424
};
2525
use risingwave_common::util::iter_util::ZipEqFast;
26-
use simd_json::{BorrowedValue, ValueAccess, ValueType};
26+
use simd_json::prelude::{
27+
TypedValue, ValueAsContainer, ValueAsScalar, ValueObjectAccess, ValueTryAsScalar,
28+
};
29+
use simd_json::{BorrowedValue, ValueType};
2730

2831
use super::{Access, AccessError, AccessResult};
2932
use crate::parser::common::json_object_get_case_insensitive;

0 commit comments

Comments
 (0)