Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.17 KB

File metadata and controls

42 lines (28 loc) · 1.17 KB

Connecting Java and Apache DataFusion with ADBC

Instructions

Prerequisites

  1. Install Maven

  2. Install dbc

Connect to DataFusion

  1. Install the DataFusion ADBC driver:

    dbc install datafusion
  2. Customize the main method in Example.java

    • Change the SQL SELECT statement in stmt.setSqlQuery(), or keep it set to SELECT * FROM 'games.parquet'; to query the Parquet file included with this example
  3. Run the Java program:

    mvn compile exec:exec