Github user ArvindSridhar commented on the issue: https://github.com/apache/madlib/pull/291 Regarding bool to text/integer conversion in GPDB5, I believe you have to use an explicit cast as required by the underlying platform. Thus, if you "temperature, windy::integer" or "windy::text, class", it should work fine. This is how the underlying postgres syntax for GPDB5 works as well For the text-varchar ordering, my hunch is that postgres treats these types as having the same priority, and thus just casts the second argument to whatever type the first argument was in.
---