Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

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