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

create table fails in datafusion-cli with External error: Failed to convert path to URL: foo #10182

Closed
alamb opened this issue Apr 22, 2024 · 3 comments
Labels
bug Something isn't working regression Something that used to work no longer does

Comments

@alamb
Copy link
Contributor

alamb commented Apr 22, 2024

Describe the bug

Something is wrong with datafusion-cli and creating external tables

To Reproduce

andrewlamb@Andrews-MacBook-Pro:~/Software/arrow-datafusion$ datafusion-cli
DataFusion CLI v37.1.0
> create table foo (x varchar);
External error: Failed to convert path to URL: foo
> create table foo(x varchar) as values ('a');
External error: Failed to convert path to URL: foo

Expected behavior

I expect that all of the above queries work and create an empty table or a table with a single value

Additional context

No response

@alamb alamb added bug Something isn't working regression Something that used to work no longer does labels Apr 22, 2024
@Lordworms
Copy link
Contributor

Take this one

@Lordworms
Copy link
Contributor

Lordworms commented Apr 22, 2024

I used debug mode to build this and the query worked fine. Am I missing something?
image
image

@alamb
Copy link
Contributor Author

alamb commented Apr 22, 2024

🤔 I tested it locally and likewise it seems to work just fine for me in a debug build

I rebuilt a release build and it works fine. Not sure what was going on on my machine.

Sorry for the noise. Thanks @Lordworms

@alamb alamb closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something that used to work no longer does
Projects
None yet
Development

No branches or pull requests

2 participants