Opened 9 years ago

Last modified 8 years ago

#1269 closed defect

csv output of scalars is wrong — at Version 1

Reported by: Dimitar Misev Owned by: Rubin Deliallisi
Priority: minor Milestone: 9.4
Component: rasql Version: development
Keywords: Cc: Peter Baumann, Bang Pham Huu
Complexity: Medium

Description (last modified by Dimitar Misev)

csv encoding of a scalar includes braces in the output, however it will be more correct if it doesn't. If we think of scalar as 0D, then its csv output is now equivalent to that of 1D array, which is wrong.

$ rasql -q 'select csv(1)' --out string --quiet
{1}
$ rasql -q 'select csv(<[0:0] 1>)' --out string --quiet
{1}

The correct output of the scalar encoding should be:

$ rasql -q 'select csv(1)' --out string --quiet
1

Change History (1)

comment:1 by Dimitar Misev, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.