Github user iyerr3 commented on the issue: https://github.com/apache/madlib/pull/292 That's a valid concern. You could return bool(result[0]['n_y']) to ensure a bool output instead of a string (though I believe the SPI ensures that boolean from SQL is returned as bool in Python). >
---