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

Execution error: Unable to find factory for PARQUET #839

Open
dadepo opened this issue Jul 7, 2023 · 0 comments
Open

Execution error: Unable to find factory for PARQUET #839

dadepo opened this issue Jul 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dadepo
Copy link
Contributor

dadepo commented Jul 7, 2023

Describe the bug
Trying to access Ballista via the flight_sql_jdbc_driver does not seem to work. Specifically trying to run the create external table fails.

To Reproduce

I am using the flight_sql_jdbc_driver that can be download here https://mvnrepository.com/artifact/org.apache.arrow/flight-sql-jdbc-driver. I have tried with version 10, 11 and 12 and I get same result.

I confirmed I can connect, but when I run the query to register a parquet file

Statement st = conn.createStatement();
st.executeQuery("create external table tripdata stored as PARQUET location '/Users/me/testdata/yellow_tripdata_2022-01.parquet'");

I get the error

Error while executing SQL "create external table tripdata stored as PARQUET location '/Users/me/testdata/yellow_tripdata_2022-01.parquet'": Error building plan: Execution error: Unable to find factory for PARQUET

Are there any other libs I need to have in my class path for this to work?

Expected behavior

I should be able to connect and execute queries

Additional context

 ballista-executor --version
Ballista version: 0.11.0

ballista-scheduler --version
Ballista version: 0.11.0
@dadepo dadepo added the bug Something isn't working label Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant