Skip to content

Commit 67d8b94

Browse files
Remove unsupported flag and fix formatting
1 parent 73b86ec commit 67d8b94

File tree

2 files changed

+3
-34
lines changed

2 files changed

+3
-34
lines changed

docs/scylla-specific.rst

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -75,37 +75,6 @@ New Cluster Helpers
7575
print("successfully connected to all shards of all scylla nodes")
7676
7777
78-
New Table Attributes
79-
--------------------
80-
81-
* ``in_memory`` flag
82-
83-
New flag available on ``TableMetadata.options`` to indicate that it is an `In Memory <https://docs.scylladb.com/using-scylla/in-memory/>`_ table
84-
85-
.. note:: in memory tables is a feature existing only in Scylla Enterprise
86-
87-
.. code:: python
88-
89-
from cassandra.cluster import Cluster
90-
91-
cluster = Cluster()
92-
session = cluster.connect()
93-
session.execute("""
94-
CREATE KEYSPACE IF NOT EXISTS keyspace1
95-
WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'};
96-
""")
97-
98-
session.execute("""
99-
CREATE TABLE IF NOT EXISTS keyspace1.standard1 (
100-
key blob PRIMARY KEY,
101-
"C0" blob
102-
) WITH in_memory=true AND compaction={'class': 'InMemoryCompactionStrategy'}
103-
""")
104-
105-
cluster.refresh_table_metadata("keyspace1", "standard1")
106-
assert cluster.metadata.keyspaces["keyspace1"].tables["standard1"].options["in_memory"] == True
107-
108-
10978
New Error Types
11079
--------------------
11180

docs/upgrading.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ DC-aware load balancing policy and to match other drivers.
9191
Execution API Updates
9292
^^^^^^^^^^^^^^^^^^^^^
9393
Result return normalization
94-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
94+
---------------------------
9595
`PYTHON-368 <https://datastax-oss.atlassian.net/browse/PYTHON-368>`_
9696

9797
Previously results would be returned as a ``list`` of rows for result rows
@@ -129,7 +129,7 @@ This can send requests and load (possibly large) results into memory, so
129129
`~.ResultSet` will log a warning on implicit materialization.
130130

131131
Trace information is not attached to executed Statements
132-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132+
--------------------------------------------------------
133133
`PYTHON-318 <https://datastax-oss.atlassian.net/browse/PYTHON-318>`_
134134

135135
Previously trace data was attached to Statements if tracing was enabled. This
@@ -147,7 +147,7 @@ returned for each query:
147147
:meth:`.ResultSet.get_all_query_traces()`
148148

149149
Binding named parameters now ignores extra names
150-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150+
------------------------------------------------
151151
`PYTHON-178 <https://datastax-oss.atlassian.net/browse/PYTHON-178Cassadfasdf>`_
152152

153153
Previously, :meth:`.BoundStatement.bind()` would raise if a mapping

0 commit comments

Comments
 (0)