omkardash / jaql

Automatically exported from code.google.com/p/jaql
0 stars 0 forks source link

make del format tolerant of extra whitespace #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Create a file 't' that has a line "5,6 " with an extra space before the end
of line.

read(del('t', { schema: schema { x: long, y: long }}));

What is the expected output? 

[{x:5, y:6}]

What do you see instead?

java.lang.NumberFormatException: For input string: "6 "

Original issue reported on code.google.com by Kevin.Be...@gmail.com on 10 Mar 2010 at 6:32