Marton Greber created KUDU-3454:
-----------------------------------

             Summary: ValidateWriteOperation checks create segfault in Python 
client
                 Key: KUDU-3454
                 URL: https://issues.apache.org/jira/browse/KUDU-3454
             Project: Kudu
          Issue Type: Bug
          Components: client, python
            Reporter: Marton Greber


Checks in Status KuduSession::Data::ValidateWriteOperation on the C++ side, 
segfault in the Python client.
Repro:
- inserting, while having a non-nullable column not specified: raises the error 
correctly, but in the end it segfaults

I noticed this while writing tests for the auto-incrementing column feature:

{code:python}
            op = table.new_upsert()
            op['key'] = 1
            op[Schema.get_auto_incrementing_column_name()] = 1
            with self.assertRaises(KuduBadStatus):
                session.apply(op)
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to