mithrandie / csvq

SQL-like query language for csv
https://mithrandie.github.io/csvq
MIT License
1.49k stars 65 forks source link

feature request : CREATE TABLE IF NOT EXISTS #77

Closed kpym closed 2 years ago

kpym commented 2 years ago

I wanted to replace sqlite with csvq in a tool where sqlite is overkill and it is better to keep pure go. This tool used CREATE TABLE IF NOT EXISTS. I know I can check for the existence of the file before calling CREATE TABLE but it will be easier if we stick to SQL and besides CREATE TABLE IF NOT EXISTS can also send an error if the existing file has a different format than the requested one.

mithrandie commented 2 years ago

This feature has been included in version 1.17.4.

kpym commented 2 years ago

Thanks @mithrandie 🙏 I am impressed by your responsiveness.