Opened 8 years ago

Last modified 6 years ago

#1563 closed defect

problem with type assignment while outputting to csv/json from a switch/case query with varying data types in each case — at Initial Version

Reported by: bbell Owned by: bbell
Priority: major Milestone: 9.7
Component: qlparser Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

in the wcps query:

for c in (test_mr) return encode(switch case c>0 return log(c) default return (char)0,"csv")

the default case outputs something slightly different from, but arbitrarily close t, 0.

Change History (0)

Note: See TracTickets for help on using tickets.