forked from apache/arrow-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added basic support for arrow -> avro codec along with beginnings of …
…avro writer.
- Loading branch information
1 parent
63899b7
commit 7d4e6fd
Showing
6 changed files
with
640 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ mod schema; | |
mod compression; | ||
|
||
mod codec; | ||
mod writer; | ||
|
||
#[cfg(test)] | ||
mod test_util { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
mod schema; | ||
mod vlq; | ||
|
||
#[cfg(test)] | ||
mod test { | ||
use std::fs::File; | ||
use std::io::BufWriter; | ||
use arrow_array::RecordBatch; | ||
|
||
fn write_file(file: &str, batch: &RecordBatch) { | ||
let file = File::open(file).unwrap(); | ||
let mut writer = BufWriter::new(file); | ||
|
||
} | ||
} |
Oops, something went wrong.