Comments (2)
Hi thanks, for the support. I had started working on Postgres support but faced some issues when handling different data types.
I haven't been able to work on this project lately, since I am busy with some other work. So I can't promise an ETA for now, but I will work on it whenever I have time.
The application has some issues when dealing with different data types like integer, date, etc for Postgres however it can handle strings. So, if for your use case your CSV only has strings it should work, I am attaching the binary script for that, however as I said it will only work for CSVs where the data will be treated as a string when trying to insert into the database.
So, for ids or date-time data, it will fail. Also, make sure the database is created before running it. I haven't tested it extensively so if you plan to use it, do it at your own risk.
You can run it by:
./csv2sql --source-csv-directory "/home/user/temp" --db-connection-string "postgres:username:password@localhost/db_name"
Lastly, if anyone has time and knowledge of elixir feel free to add Postgres support or additional features if you want, I will be happy to review and merge the PRs. 😊
from csv2sql.
Hi, @bvilnis
I just added two new features to the application, which includes support for the PostgreSQL database and a web interface to use the application.
It would be very nice if you could have and look and provide some feedback.
Also, please feel free to report any bugs, suggestions, or advice.
Thanks again for giving this app a try. 😀
from csv2sql.
Related Issues (20)
- Support additional date time formats
- Long text gets cut off while inserting to db HOT 1
- Auto fix invalid column names
- Tab switch issues
- Unsupported csv character
- Cross platform elixir releases
- Maintain column ordering
- App doesn't support csv files with BOM character at the beginning
- default max database workers to 20 HOT 1
- Error while importing Packet too large
- Handle blank or invalid cloumn names
- Date time parsing fails due to bad characters HOT 1
- MySQL error: row size to large HOT 3
- Better error handling HOT 1
- Support utf16 and other common encodings along with utf8
- Broken UI with long file paths
- MySQL error when running the application for the first time.
- Config page UI distroted
- Feature Request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csv2sql.