RohitDhankar / DigitalCognition_OldRepo_ARCHIVED

DC is being developed to be a generic BI tool. Product preview here :- https://www.youtube.com/channel/UC9J9N9CNv15s9U9Aejpza6g/videos
2 stars 1 forks source link

PSQL ERROR -- extra data after last expected column #15

Closed RohitDhankar closed 5 years ago

RohitDhankar commented 5 years ago

When trying to Import a CSV file through file upload form - creating a PSQL table and populating with data from CSV in one go , get the Error =

PSQL ERROR -- extra data after last expected column

RohitDhankar commented 5 years ago

Resolved as per the SO Question -

https://stackoverflow.com/questions/26701735/extra-data-after-last-expected-column-while-trying-to-import-a-csv-file-into-p

the CSV file i was testing with had just 3 Cols but the table created had only 2 cols -own coding error in file utily.py - method = def csv_to_psql(request):