Opened 8 years ago

Closed 8 years ago

#1505 closed defect (invalid)

csv output of multidimensional data is missing outer parens

Reported by: bbell Owned by: bbell
Priority: minor Milestone: Future
Component: conversion Version: development
Keywords: csv Cc: Dimitar Misev
Complexity: Medium

Description

rasql -q 'select encode(<[0:1,0:1] 1,2,3,4>, "csv")' —out string
Result object: {1,2},{3,4}

should be
Result object: {{1,2},{3,4}}

for "json" you get
Result object: 1,2],[3,4

This fix will be rather trivial (see csv.cc:604 and csv.cc:97) for the code, but very tedious for the oracle files.

Change History (1)

comment:1 by Dimitar Misev, 8 years ago

Resolution: invalid
Status: newclosed

We should do the opposite: remove the braces from 1D, and then it will be consistent. See #1577

Note: See TracTickets for help on using tickets.