Mysql
 sql >> Datenbank >  >> RDS >> Mysql

python odo sql AssertionError:datashape muss Record type sein, hat 0 * {...}

Ich hatte diesen Fehler, ich musste die Tabelle angeben

# error
odo('data.csv', 'postgresql://usr:example@sqldat.com/db')

# works
odo('data.csv', 'postgresql://usr:example@sqldat.com/db::table')