to import csv file to a table in mysql, should it already exist?
Open
- Dominant language
- Python
- Stars
- 1k
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
i am trying to build a dynamic table uploaded by a user using odo but the table is not being created dynamically. is there any inbuilt method i can use or should i resort to manually creating the table and then inserting it.
datashape = discover(resource(csvfilepath))
uri=mysql+pymysql://'+username]+':'+password+'@localhost/'+databasename+"::"+tablename
x=odo(csvfilepath,uri,dshape=datashape)
this gives me an error that database.tablename doesnt exist
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.