Closed frsyuki closed 9 years ago
Consider to use U+FFFD.
Looks good. Thanks for the quick fix!
did this patch solve your problem?
I tested this with a column c
containing \00 characters. This fix failed with the following error:
td-presto=> select c from support.null_value ;
ERROR: attribute "c" does not exist in Python object
HINT: To return null in a column, let the returned object have an attribute named after column with value None.
CONTEXT: while creating return value
PL/Python function "presto_fetch"
I made a fix so that it can work.
Because PostgreSQL doesn't allow them although Presto allows. Fixes #30.