Skip to content

Commit

Permalink
Merge branch 'main' into kyle/ipc-test
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Sep 18, 2024
2 parents b471d50 + 24a3eb1 commit 31b6f06
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 186 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"fastify": "^4.28.1",
"gh-pages": "^6.1.1",
"typedoc": "^0.26.7",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
"typescript": "^5.6.2",
"vitest": "^2.1.1"
},
"volta": {
"node": "20.12.2",
Expand Down
5 changes: 5 additions & 0 deletions src/reader_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ impl ParquetFile {
Ok(self.meta.metadata().as_ref().to_owned().into())
}

#[wasm_bindgen]
pub fn schema(&self) -> WasmResult<arrow_wasm::Schema> {
Ok(self.meta.schema().clone().into())
}

/// Read from the Parquet file in an async fashion.
///
/// @param options
Expand Down
Loading

0 comments on commit 31b6f06

Please sign in to comment.