Skip to content

Commit 45a09fd

Browse files
committed
Update difference for complex type
1 parent 1f94860 commit 45a09fd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/data-factory/connector-cassandra.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: jianleishen
66
ms.subservice: data-movement
77
ms.custom: synapse
88
ms.topic: conceptual
9-
ms.date: 02/28/2025
9+
ms.date: 03/07/2025
1010
ms.author: jianleishen
1111
---
1212
# 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
259259
> The length of Binary Column and String Column lengths cannot be greater than 4000.
260260
>
261261
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+
262266
## Work with collections using virtual table when using version 1.0
263267

264268
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
328332

329333
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.
330334

331-
| version 2.0 | version 1.0 |
335+
| Version 2.0 | Version 1.0 |
332336
| --- | --- |
333337
| 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. |
336340

337341
## Upgrade the Cassandra connector
338342

@@ -342,7 +346,5 @@ Here are steps that help you upgrade the Cassandra connector:
342346

343347
2. If you use `query` in the copy activity source for version 2.0, see [Cassandra as source](#cassandra-as-source).
344348

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-
347349
## Related content
348350
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

Comments
 (0)