Opened 11 days ago

Last modified 10 days 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 11 days ago by bbell

  • Description modified (diff)

comment:2 Changed 10 days 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.