luigi icon indicating copy to clipboard operation
luigi copied to clipboard

i use petl.appenddb() insert into mysql db with MySqlTarget, but get "mysql.connector.errors.ProgrammingError: Not all parameters were used in the SQL statement"

Open sshd123 opened this issue 10 years ago • 1 comments

`def input(self): return luigi.LocalTarget("data/{}.json".format(self.date.strftime('%Y%m%d')))

def output(self):
    return MySqlTarget(host=self.host, user=self.user, password=self.password,
                       database=self.database, table=self.table_name, update_id=self.update_id())

` i use petl.appenddb() insert into mysql db with MySqlTarget from a local file, but get "mysql.connector.errors.ProgrammingError: Not all parameters were used in the SQL statement" in luigi.log, please help!!!

sshd123 avatar Nov 16 '16 15:11 sshd123

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If closed, you may revisit when your time allows and reopen! Thank you for your contributions.

stale[bot] avatar Jul 31 '18 05:07 stale[bot]