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 Version 1

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

Description (last modified by bbell)

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 to, 0.

Change History (1)

comment:1 by bbell, 8 years ago

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