You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create table abc (a int);
insert into abc values ("kjh");
select * from abc
I get [ 1, 1, [ { a: NaN } ] ]
I must admit that I expected to get [ 1, 0, [ ] ]
Could you put some words to how it converts when I put wrong data into my table? Then Ill put it in the wiki.
The output is a problem for alacon as NaN is not part of the JSON standart and therefore its output cant be parsed with JSON.decode() (I assume one would expect the output from alacon to be JSON)
I have a feeling the best solution would be to replace with a null - please note that the original comment in this issue is about what data gets into the data (that one cant put string into int) while this comment is about getting data out.
Activity
mathiasrw commentedon Jun 23, 2015
I put the bug lable on it as I consider it a bug that alacon can output non JSON data.
mathiasrw commentedon Jun 27, 2015
I met the same issue with infinity
I would expect null
mathiasrw commentedon Jul 28, 2015
For alacon we might want to use output with JSON.stringify together with a replacer for values as
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
I have a feeling the best solution would be to replace with a
null- please note that the original comment in this issue is about what data gets into the data (that one cant put string into int) while this comment is about getting data out.