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

COPY FROM not support windows path in 0.6.0 #3195

Closed
amythos opened this issue Jan 18, 2024 · 1 comment
Closed

COPY FROM not support windows path in 0.6.0 #3195

amythos opened this issue Jan 18, 2024 · 1 comment
Assignees
Labels
C-bug Category Bugs docs-required This change requires docs update.

Comments

@amythos
Copy link

amythos commented Jan 18, 2024

What type of bug is this?

Unexpected error

What subsystems are affected?

Standalone mode, Frontend

Minimal reproduce step

execute query: COPY tbl_aaa FROM 'D:\data\tmp\aaa.parquet' WITH (FORMAT = 'parquet');

What did you expect to see?

copy aaa.parquet into tbl_aaa

What did you see instead?

fail to execute the query

What operating system did you use?

Windows 11

What version of GreptimeDB did you use?

0.6.0

Relevant log output and stack trace

2024-01-18T14:17:40.729123Z ERROR frontend::instance: Failed to execute query: COPY tbl_aaa FROM 'D:\\data\\tmp\\aaa.parquet' WITH (FORMAT = 'parquet'); err=0: Table operation error, at src\frontend\src\instance.rs:267:14
1: Failed to build data source backend, at C:\a\greptimedb\greptimedb\src\operator\src\statement\copy_table_from.rs:62:59
2: Unsupported backend protocol: d, url: D:\\data\\tmp\\aaa.parquet, at src\common\datasource\src\object_store.rs:73:10
@killme2008 killme2008 added the C-bug Category Bugs label Jan 18, 2024
@v0y4g3r
Copy link
Contributor

v0y4g3r commented Jan 19, 2024

Please use / as path separator instead of backslash on Windows. COPY tbl_aaa FROM 'D:/data/tmp/aaa.parquet' WITH (FORMAT = 'parquet'); would do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category Bugs docs-required This change requires docs update.
Projects
None yet
Development

No branches or pull requests

3 participants