Because a string_lenenc with such size starts with the EOF packet header. This looks like a design issue in the protocol. Other language drivers solve this by first attempting to parse the packet as a row, and then attempting it as an EOF packet on failure.
The following fails:
Because a
string_lenenc
with such size starts with the EOF packet header. This looks like a design issue in the protocol. Other language drivers solve this by first attempting to parse the packet as a row, and then attempting it as an EOF packet on failure.