This is an automated email from the ASF dual-hosted git repository.

edimitrova pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1f81e1c9 Ninja fix: test_pkey_requirement, revert empty lines removal 
from cql output, CASSANDRA-19341
1f81e1c9 is described below

commit 1f81e1c9b98c7b444098daf721415dc8599bffdd
Author: Ekaterina Dimitrova <ekaterina.dimitr...@datastax.com>
AuthorDate: Tue May 7 09:39:37 2024 -0400

    Ninja fix: test_pkey_requirement, revert empty lines removal from cql 
output, CASSANDRA-19341
---
 json_test.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/json_test.py b/json_test.py
index 94c09f55..69b8b5a5 100644
--- a/json_test.py
+++ b/json_test.py
@@ -1242,6 +1242,7 @@ class TestJsonFullRowInsertSelect(Tester):
     def test_pkey_requirement(self):
         """
         Create schema:
+
             >>> cqlsh('''
             ... CREATE TABLE primitive_type_test (
             ...   key1 text PRIMARY KEY,
@@ -1261,7 +1262,9 @@ class TestJsonFullRowInsertSelect(Tester):
             ...   col14 varint,
             ...   col15 boolean)
             ... ''')
+
         Try to create a JSON row with the pkey omitted from the column list, 
and omitted from the JSON data:
+        
             >>> cqlsh_err_print('''INSERT INTO primitive_type_test JSON 
'{"col1": "bar"}' ''')
             <stdin>:2:InvalidRequest: Error from server: code=2200 [Invalid 
query] message="Invalid null value in condition for column key1"
             <BLANKLINE>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to