milenkovicm commented on PR #1125:
URL: 
https://github.com/apache/datafusion-ballista/pull/1125#issuecomment-2498708158

   once we merge this patch, ballista will read deltalake (custom codecs 
needed) 
   
   ```rust
     let config = SessionConfig::new_with_ballista()
         .with_target_partitions(1)
         .with_ballista_standalone_parallelism(2)
         
.with_ballista_logical_extension_codec(Arc::new(BallistaDeltaLogicalCodec::default()))
         
.with_ballista_physical_extension_codec(Arc::new(BallistaDeltaPhysicalCodec::default()));
   
     let state = SessionStateBuilder::new()
         .with_config(config)
         .with_default_features()
         .build();
   
     let table = deltalake::open_table("/Users/ballissta/TMP/delta_table/")
         .await
         .unwrap();
   
     let ctx = SessionContext::standalone_with_state(state).await?;
   
     ctx.register_table("demo", Arc::new(table)).unwrap();
   
     let df = ctx.sql("select * from demo").await?;
   
     df.show().await?;
   ```
   
   relates to #457


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to