Skip to content

Commit 38e2225

Browse files
committed
Review feedback
1 parent 92b7cb9 commit 38e2225

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
cargo test
112112
cd arrow
113113
# re-run tests on arrow workspace with additional features
114-
cargo test --features=prettyprint
114+
cargo test --features=prettyprint --features=async
115115
# run test on arrow with minimal set of features
116116
cargo test --no-default-features
117117
cargo run --example builders
@@ -238,7 +238,7 @@ jobs:
238238
run: |
239239
export CARGO_HOME="/github/home/.cargo"
240240
export CARGO_TARGET_DIR="/github/home/target"
241-
cargo clippy --features test_common --all-targets --workspace -- -D warnings -A clippy::redundant_field_names
241+
cargo clippy --features test_common --features prettyprint --features=async --all-targets --workspace -- -D warnings -A clippy::redundant_field_names
242242
243243
check_benches:
244244
name: Check Benchmarks (but don't run them)

parquet/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ cli = ["serde_json", "base64", "clap"]
6565
test_common = []
6666
# Experimental, unstable functionality primarily used for testing
6767
experimental = []
68-
# Experimental, unstable, async API
68+
# Enable async API
6969
async = ["futures", "tokio"]
7070

7171
[[bin]]

parquet/src/arrow/async_reader.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ impl<T: AsyncRead + AsyncSeek + Unpin> ParquetRecordBatchStreamBuilder<T> {
163163
}
164164

165165
enum StreamState<T> {
166+
/// At the start of a new row group, or the end of the parquet stream
166167
Init,
167168
/// Decoding a batch
168169
Decoding(ParquetRecordBatchReader),
@@ -183,7 +184,7 @@ impl<T> std::fmt::Debug for StreamState<T> {
183184
}
184185
}
185186

186-
/// A [`Stream`] of [`RecordBatch`] for a parquet file
187+
/// An asynchronous [`Stream`] of [`RecordBatch`] for a parquet file
187188
pub struct ParquetRecordBatchStream<T> {
188189
metadata: Arc<ParquetMetaData>,
189190

0 commit comments

Comments
 (0)