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

csvsql Import to Mysql #1266

Open
scoleri opened this issue Oct 24, 2024 · 1 comment
Open

csvsql Import to Mysql #1266

scoleri opened this issue Oct 24, 2024 · 1 comment
Labels

Comments

@scoleri
Copy link

scoleri commented Oct 24, 2024

I've had to downgrade to 1.5.0 because with 2.0.1 i'm getting:

TypeError: conversion from NoneType to Decimal is not supported

This is when importing to mysql.

csvsql --db "mysql+mysqlconnector://admin:$PASS@$HOST:3306/blah" --table "TableBlah" --create-if-not-exists --unique-constraint ReportId,InstanceId --insert -
@jpmckinney
Copy link
Member

I’ll need the CSV data to debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants