-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Adding a separator in the CSV extension #16
Comments
What exactly do you mean by "CSV separator extension"? In what CSV functionality are you interested? SQLite3 Multiple Ciphers already includes the CSV extension that is provided by SQLite; this extension allows to select data from CSV files just as from ordinary SQL tables. Additionally, the SQLite shell (which is also included in SQLite3 Multiple Ciphers) allows to import data from CSV files into tables ( If you are missing certain features from those SQLite components, please ask on the SQLite forum. |
Hi, generally I mean to be able to import data from the sql query level. (without command-line shell help) CREATE VIRTUAL TABLE temp.csv1 USING csv( CREATE VIRTUAL TABLE temp.csv2 USING csv( CREATE VIRTUAL TABLE temp.csv3 USING csv( Greetings |
Looking at this post on the SQLite forum you are obviously not the only one interested in additional processing options for CSV import. The post points forward to another thread on the old SQLite mailing list and offers an alternative implementation of the CSV extension. I will consider to add the alternative implementation to this repository. However, due to the differences in the extension names and their functionality I can't simply replace the CSV extension by the new one without possibly breaking existing code relying on the original CSV extension. |
It seems to me that in the current version csv is not used (or very rarely due to lack of choice of separator). Your library is excellent but unfortunately I miss it a lot. I hope you will add another implementation :) |
Unfortunately, I haven't got any feedback, which SQLite extensions are actually in use by consumers of the SQLite3 Multiple Ciphers resp wxSQLite3 library. Therefore, I'm reluctant to simply drop an extension that was included in earlier releases. However, it is no big deal to add the enhanced CSV extension along with the original one. Developers can always configure the build to omit certain extensions, if they are not needed.
I'll do that in the near future.
Well, SQLite itself is written in C. Only the wxSQLite3 library is written in C++, but will not be affected by the addition of another extension. |
The VSV (Variably Separated Values) extension offers additional configuration options in comparison to the CSV extension. In principle, the VSV extension could replace the CSV extension, but for now both extensions are enabled.
Commit 33e7026 adds the VSV extension, which allows a better configuration of the data import than the CSV extension. Currently, both extensions will be enabled. |
The project wxSQLite3 has been updated, too. Therefore I'm closing this issue. |
Hi, thanks for the very quick reaction, you're great :) |
Hello everyone, is it possible to add a CSV separator extension ? Thanks for your feedback.
The text was updated successfully, but these errors were encountered: