On Thu, Feb 15, 2018 at 09:31:30AM -0700, TedJones wrote:
>
> What is the correct way to run the file? Thanks.
The way I am using it is like this:
julia ~/bin/csv_to_sql.jl inputfile.csv tablename > tablename.sql
Apologies. Recent changes in the fast changing Julia caused a problem
with the present code. Tests I have done today showed there is a bug
with the CSV-library which I could overcome using a workaround. But the
rest of the code, although it still works, now is unreasonably slow.
I could so far not determine the cause.
If I cannot fix it soon, I will probably rewrite the script in Python3.
Regards
Johann
--
Johann Spies Telefoon: 021-808 4699
Databestuurder / Data manager Faks: 021-883 3691
Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology
Universiteit Stellenbosch.
The integrity and confidentiality of this e-mail is governed by these terms / Die integriteit en vertroulikheid van
hierdiee-pos word deur die volgende bepalings gere��l. http://www.sun.ac.za/emaildisclaimer