luigi
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"
`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!!!
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.