- Moved around book from `examples` to `candle-book` proper (overlapping
  the book and the lib structures)
This commit is contained in:
Nicolas Patry
2023-08-15 15:42:22 +02:00
parent c109c93db7
commit dd06d93d0b
8 changed files with 260 additions and 244 deletions

View File

@ -9,6 +9,9 @@ categories.workspace = true
license.workspace = true
readme = "README.md"
[lib]
crate-type=["dylib"]
[dependencies]
byteorder = { workspace = true }
candle = { path = "../candle-core", version = "0.2.0", package = "candle-core" }

View File

@ -81,14 +81,14 @@ mod tests {
);
// Keep for now to showcase how to use.
//for row in rows {
// if let Ok(row) = row {
// for (_idx, (_name, field)) in row.get_column_iter().enumerate() {
// if let parquet::record::Field::Str(value) = field {
// println!("Value {value:?}");
// }
// }
// }
//}
for row in rows {
if let Ok(row) = row {
for (_idx, (_name, field)) in row.get_column_iter().enumerate() {
if let parquet::record::Field::Str(value) = field {
println!("Value {value:?}");
}
}
}
}
}
}