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

Importing plain text/CSV files #803

Open
abhi-deshpande opened this issue May 10, 2024 · 1 comment
Open

Importing plain text/CSV files #803

abhi-deshpande opened this issue May 10, 2024 · 1 comment
Assignees
Labels
enhancement 🚀 New feature or request

Comments

@abhi-deshpande
Copy link

abhi-deshpande commented May 10, 2024

Is your feature request related to a problem? Please describe.
Currently, importing a database as an SQL script is possible, but it is not possible as a CSV or text file. An SQL script is not very lightweight and large scripts may cause the program go unresponsive. Importing CSV or TXT via LOAD DATA LOCAL INLINE is very inconvenient, in case a table has lots of columns.

Describe the solution you'd like
An import feature that allows to -

  • Select a plain text file from storage.
  • Select a table in which it is desired to be imported.
  • Select the desired delimiter/allows to enter one.
  • Select whether the CSV has a header.
  • Automatically create the columns, or allow to optionally drop ones which are already present and re-create.

Describe alternatives you've considered
I really loved the simplicity of Antares, but for importing CSV, I am currently using DBeaver or Dbgate. They have direct import options for plaintext.

Additional context
I know this may need really a lot of work, but it would be a good to have feature.

@Fabio286 Fabio286 added the enhancement 🚀 New feature or request label May 10, 2024
@Fabio286
Copy link
Member

You are right, a more immediate import from CSV file to a target table can be really handy.
I will add it to the list of future features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🚀 New feature or request
Projects
Status: 📌 To do
Development

No branches or pull requests

2 participants