Open ianengelbrecht opened 1 year ago
Importing data into sqlite, the data that I'm reading from source (a dbf file) already has a field called ID. I've tried:
table = db.create_table(table_name, primary_id = 'ID')
but that throws sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) duplicate column name: ID
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) duplicate column name: ID
I also tried lowercase 'id' in case case the field name is case sensitive but still getting the error.
'id'
Is this expected behaviour?
Importing data into sqlite, the data that I'm reading from source (a dbf file) already has a field called ID. I've tried:
table = db.create_table(table_name, primary_id = 'ID')
but that throws
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) duplicate column name: ID
I also tried lowercase
'id'
in case case the field name is case sensitive but still getting the error.Is this expected behaviour?