Skip to content

Commit 7456c24

Browse files
committed
Fix
1 parent 7fba79e commit 7456c24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/data-factory/connector-cassandra.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ When copying data from Cassandra, the following mappings are used from Cassandra
262262
> The length of Binary Column and String Column lengths cannot be greater than 4000.
263263
>
264264
265-
## Work with collections using original type when using version 2.0
265+
## Work with collections when using version 2.0
266266

267-
There are no virtual tables for collection types, you can copy a source table to sink in its original type.
267+
When using version 2.0 to copy data from your Cassandra database, no virtual tables for collection types are created. You can copy a source table to the sink in its original type in JSON format.
268268

269269
### Example
270270

@@ -275,7 +275,7 @@ For example, the following "ExampleTable" is a Cassandra database table that con
275275
| 1 |"sample value 1" |["1", "2", "3"] |{"S1": "a", "S2": "b"} |{"A", "B", "C"} |
276276
| 3 |"sample value 3" |["100", "101", "102", "105"] |{"S1": "t"} |{"A", "E"} |
277277

278-
No need to create any virtual tables. You can directly read data from a source table and treat complex type column values as its original type, as shown in the following table:
278+
The data can be directly read from a source table, and the column values are preserved in their original types in JSON format, as illustrated in the following table:
279279

280280
| pk_int | Value | List | Map | StringSet |
281281
| --- | --- | --- | --- | --- |
@@ -355,7 +355,7 @@ The Cassandra connector version 2.0 offers new functionalities and is compatible
355355
| --- | --- |
356356
| Support CQL query. | Support SQL-92 query or CQL query. |
357357
| Support specifying `keyspace` and `tableName` separately in dataset. | Support editing `keyspace` when you select enter manually table name in dataset. |
358-
| There are no virtual tables for collection types, 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, 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. |
358+
| No virtual tables are created for collection types. For more information, see [Work with collections when using version 2.0](#work-with-collections-when-using-version-20) section. | Virtual tables are created for collection types. For more information, see [Work with Cassandra collection types using virtual table when using version 1.0](#work-with-collections-using-virtual-table-when-using-version-10) section. |
359359
| The following mappings are used from Cassandra data types to interim service data type. <br><br> DATE -> IDate <br> SMALLINT -> Short <br> TINYINT -> SByte | The following mappings are used from Cassandra data types to interim service data type. <br><br> DATE -> DateTime <br> SMALLINT -> Int16 <br> TINYINT -> Int16 |
360360

361361
## Upgrade the Cassandra connector

0 commit comments

Comments
 (0)