Skip to content

Commit cd070e1

Browse files
author
Rickard Lundin
committed
getting schema missmatch
1 parent 1108dfc commit cd070e1

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/chunked/recordbatch_output.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,10 @@ pub(crate) struct DeltaOut {
113113

114114
impl DeltaOut {
115115
async fn deltasetup(schema: FixedSchema, out: PathBuf) -> Result<DeltaTable, DeltaTableError> {
116-
// let table_uri = std::env::var("TABLE_URI").map_err(|e| DeltaTableError::GenericError {
117-
// source: Box::new(e),
118-
// })?;
119-
116+
120117
info!("Using the location of: {:?}", out);
121118

122-
let table_path = deltalake::Path::parse(out.to_str().unwrap()).unwrap();
119+
let table_path =out.to_str().unwrap();
123120

124121
let maybe_table = deltalake::open_table(&table_path).await;
125122
let mut table = match maybe_table {

0 commit comments

Comments
 (0)