Opened 4 months ago

Closed 11 days 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: dmisev
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 Changed 11 days ago by dmisev

  • Resolution set to invalid
  • Status changed from new to closed

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.