Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: publicly expose datafusion in ballista client #1169

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ballista/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@

pub mod extension;
pub mod prelude;
pub use datafusion;
6 changes: 3 additions & 3 deletions examples/examples/remote-sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
// specific language governing permissions and limitations
// under the License.

use ballista::prelude::*;
use ballista_examples::test_util;
use datafusion::{
use ballista::datafusion::{
common::Result,
execution::SessionStateBuilder,
prelude::{CsvReadOptions, SessionConfig, SessionContext},
};
use ballista::prelude::*;
use ballista_examples::test_util;

/// This example demonstrates executing a simple query against an Arrow data source (CSV) and
/// fetching results, using SQL
Expand Down
6 changes: 3 additions & 3 deletions examples/examples/standalone-sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
// specific language governing permissions and limitations
// under the License.

use ballista::prelude::{SessionConfigExt, SessionContextExt};
use ballista_examples::test_util;
use datafusion::{
use ballista::datafusion::{
common::Result,
execution::{options::ParquetReadOptions, SessionStateBuilder},
prelude::{SessionConfig, SessionContext},
};
use ballista::prelude::{SessionConfigExt, SessionContextExt};
use ballista_examples::test_util;

#[tokio::main]
async fn main() -> Result<()> {
Expand Down
Loading