dinedal / textql

Execute SQL against structured text like CSV or TSV
MIT License
9.05k stars 300 forks source link

Semicolon in literal breaks the processing #125

Closed v-from-meiro closed 3 years ago

v-from-meiro commented 4 years ago

Hi!

We found a problem while passing SQL query with semicolon in literal.

Way to reproduce:

textql -sql "select 'some text with ; semicolon' || ' another text' "

Expected behavior is that it shows text:

'some text with ; semicolon another text'

But instead, we get error: 2020/06/05 10:12:36 unrecognized token: "'some text with "

Let me know in case of question or how we can help! We are python-oriented company, so going into Go is not really in our powers right now :/

dinedal commented 4 years ago

Yes, this is a bug :) I'll see what I can do.

dinedal commented 3 years ago

Thanks to #132