Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Jul 2, 2024
1 parent ab6c3aa commit 92a4d7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/connector/codec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,3 @@ workspace-hack = { path = "../../workspace-hack" }

[lints]
workspace = true

[lib]
test = false
doctest = false
8 changes: 8 additions & 0 deletions src/connector/codec/tests/integration_tests/avro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ struct Config {
data_encoding: TestDataEncoding,
}

/// Data driven testing for converting Avro Schema to RisingWave Schema, and then converting Avro data into RisingWave data.
///
/// The expected results can be automatically updated. To run and update the tests:
/// ```bash
/// UPDATE_EXPECT=1 cargo test -p risingwave_connector_codec
/// ```
/// Or use Rust Analyzer. Refer to <https://github.com/rust-analyzer/expect-test>.
///
/// ## Arguments
/// - `avro_schema`: Avro schema in JSON format.
/// - `avro_data`: list of Avro data. Refer to [`TestDataEncoding`] for the format.
Expand Down

0 comments on commit 92a4d7a

Please sign in to comment.