I tried comparing MAX(r,x), where x is of type CHAR, with a character string literal. I got a syntax error saying that I was trying to compare a RATIONAL with a CHAR.
Easy test case:
Max(relation{tuple{x 'abc'}},x)
works okay.
Max(relation{tuple{x 'abc'}},x) = 'abc'
gives the error.
Hugh
max(r,x) treated as RATIONAL when x is CHAR
-
- Posts: 124
- Joined: Sat May 24, 2008 4:49 pm
Re: max(r,x) treated as RATIONAL when x is CHAR
I have fixed this for version 0.3.5, which will be released in a few days.