mithrandie / csvq

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

single quote and double quote #34

Closed alitrack closed 4 years ago

alitrack commented 4 years ago

Version

Version 1.13.3

table

create table winsales(
salesid,
dateid,
sellerid,
buyerid,
qty,
qty_shipped);

Insert

insert into winsales values(30001, '8/2/2003', 3, 'b', 10, 10);  

got error

[L:1 C:49] field b does not exist
insert into winsales values(30001, '8/2/2003', 3, "b", 10, 10);  

got

30001,0.00199700449326011,3,b,10,10
insert into winsales values(30001, "8/2/2003", 3, "b", 10, 10);  

got what I want.

Select

both are correct

select "3+5"
select '3+5'
mithrandie commented 4 years ago

On my system, it seems to be working well.

Screen Shot 2020-08-29 at 18 34 35

Can you tell me about the following information?

alitrack commented 4 years ago

I just tested on macOS terminal, it works,

this issue I met is jupyter notebook, maybe is the issue of jupyter notebook, let me check it again.