Opened 4 months ago

Last modified 4 months ago

#1563 new defect

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

Reported by: bbell Owned by: bbell
Priority: major Milestone: 9.4
Component: qlparser Version: development
Keywords: Cc: dmisev
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 (2)

comment:1 Changed 4 months ago by bbell

  • Description modified (diff)

comment:2 Changed 4 months ago by dmisev

  • Milestone set to 9.4

Please try to set the milestone in new tickets.

Note: See TracTickets for help on using tickets.