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

Chore: Delta table writes should be able to use relative paths for COPY TO #3159

Open
talagluck opened this issue Aug 20, 2024 · 0 comments
Open
Assignees
Labels
chore DX, infra etc that's not build or CI related

Comments

@talagluck
Copy link
Contributor

Description

Currently, COPY TO for all data types except for Delta tables allows for relative paths, e.g.

COPY (SELECT 1) TO './my_file.csv';

However, when copying to a Delta table, it requires the path to be specified in the following way:

COPY (SELECT 1) TO 'file:///Users/path/to/your_new_delta_table';

In addition to being inconsistent with the other file types, it is also less convenient, particularly for an embedded use-case. Ideally, Delta tables could be copied to in the same way as other file types, e.g.:

COPY (SELECT 1) TO './my_delta_table';
@talagluck talagluck added the chore DX, infra etc that's not build or CI related label Aug 20, 2024
@tychoish tychoish self-assigned this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore DX, infra etc that's not build or CI related
Projects
None yet
Development

No branches or pull requests

2 participants