File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 33# for the capabilities of the SQL service. The code sample here is just to
44# demonstrate the concept of async usage of the SQL service. When in doubt,
55# use the blocking iterator method in `sql_example.py`.
6+ import time
7+
68import hazelcast
79
810client = hazelcast .HazelcastClient ()
1517# Create mapping for the integers. This needs to be done only once per map.
1618client .sql .execute (
1719 """
18- CREATE MAPPING integers
20+ CREATE OR REPLACE MAPPING integers
1921TYPE IMap
2022OPTIONS (
2123 'keyFormat' = 'int',
@@ -49,3 +51,4 @@ def on_next_row(row_future):
4951# Request the iterator over rows and add a callback to
5052# run, when the response comes
5153result_future .add_done_callback (on_response )
54+ time .sleep (1 )
You can’t perform that action at this time.
0 commit comments