You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/connector-cassandra.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: jianleishen
6
6
ms.subservice: data-movement
7
7
ms.custom: synapse
8
8
ms.topic: conceptual
9
-
ms.date: 02/28/2025
9
+
ms.date: 03/07/2025
10
10
ms.author: jianleishen
11
11
---
12
12
# Copy data from Cassandra using Azure Data Factory or Synapse Analytics
@@ -259,6 +259,10 @@ When copying data from Cassandra, the following mappings are used from Cassandra
259
259
> The length of Binary Column and String Column lengths cannot be greater than 4000.
260
260
>
261
261
262
+
## Work with collections using original type when using version 2.0
263
+
264
+
For collection types including map, set and list, the data are represented in Json format. There are no virtual tables for collection types, and instead copying a source table to sink in its original type.
265
+
262
266
## Work with collections using virtual table when using version 1.0
263
267
264
268
The service uses a built-in ODBC driver to connect to and copy data from your Cassandra database. For collection types including map, set and list, the driver renormalizes the data into corresponding virtual tables. Specifically, if a table contains any collection columns, the driver generates the following virtual tables:
@@ -328,11 +332,11 @@ To learn details about the properties, check [Lookup activity](control-flow-look
328
332
329
333
The Cassandra connector version 2.0 offers new functionalities and is compatible with most features of version 1.0. The table below shows the feature differences between version 2.0 and version 1.0.
330
334
331
-
|version 2.0 |version 1.0 |
335
+
|Version 2.0 |Version 1.0 |
332
336
| --- | --- |
333
337
| Support CQL query. | Support SQL-92 query or CQL query. |
334
-
| Support specifying `keyspace` and `tableName` separately in Cassandra dataset. | Support editing `keyspace` when you select enter manually table name in Cassandra dataset. |
335
-
|There is no virtual tables for collection types. | For collection types (map, set, list, etc.), refer to [Work with Cassandra collection types using virtual table when using version 1.0](#work-with-collections-using-virtual-table-when-using-version-10) section. |
338
+
| Support specifying `keyspace` and `tableName` separately in dataset. | Support editing `keyspace` when you select enter manually table name in dataset. |
339
+
|For collection types (map, set, list, etc.), there are no virtual tables for collection types. You can copy a source table to sink in its original type, refer to [Work with collections using original type when using version 2.0](#work-with-collections-using-original-type-when-using-version-20) section. | For collection types (map, set, list, etc.), refer to [Work with Cassandra collection types using virtual table when using version 1.0](#work-with-collections-using-virtual-table-when-using-version-10) section. |
336
340
337
341
## Upgrade the Cassandra connector
338
342
@@ -342,7 +346,5 @@ Here are steps that help you upgrade the Cassandra connector:
342
346
343
347
2. If you use `query` in the copy activity source for version 2.0, see [Cassandra as source](#cassandra-as-source).
344
348
345
-
3. The data type mapping for version 2.0 is different from that for version 1.0. To learn the latest data type mapping, see [Data type mapping for Cassandra](#data-type-mapping-for-cassandra).
346
-
347
349
## Related content
348
350
For a list of data stores supported as sources and sinks by the copy activity, see [supported data stores](copy-activity-overview.md#supported-data-stores-and-formats).
0 commit comments