File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -1238,38 +1238,6 @@ def test_simple_schema(self):
12381238 """
12391239 run_func_docstring (tester = self , test_func = self .test_simple_schema )
12401240
1241- def test_pkey_requirement (self ):
1242- """
1243- Create schema:
1244-
1245- >>> cqlsh('''
1246- ... CREATE TABLE primitive_type_test (
1247- ... key1 text PRIMARY KEY,
1248- ... col1 ascii,
1249- ... col2 blob,
1250- ... col3 inet,
1251- ... col4 text,
1252- ... col5 timestamp,
1253- ... col6 timeuuid,
1254- ... col7 uuid,
1255- ... col8 varchar,
1256- ... col9 bigint,
1257- ... col10 decimal,
1258- ... col11 double,
1259- ... col12 float,
1260- ... col13 int,
1261- ... col14 varint,
1262- ... col15 boolean)
1263- ... ''')
1264-
1265- Try to create a JSON row with the pkey omitted from the column list, and omitted from the JSON data:
1266-
1267- >>> cqlsh_err_print('''INSERT INTO primitive_type_test JSON '{"col1": "bar"}' ''')
1268- <stdin>:2:InvalidRequest: Error from server: code=2200 [Invalid query] message="Invalid null value in condition for column key1"
1269- <BLANKLINE>
1270- """
1271- run_func_docstring (tester = self , test_func = self .test_pkey_requirement )
1272-
12731241 def test_null_value (self ):
12741242 """
12751243 Create schema:
You can’t perform that action at this time.
0 commit comments