Query failed (notebooks1): ERROR: invalid input syntax for integer: ""