Skip to content

Commit 1ba57b2

Browse files
committed
Update query
1 parent 68a21dd commit 1ba57b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/data-factory/connector-cassandra.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ If you use version 2.0 (Preview) to copy data from Cassandra, set the source typ
185185
| Property | Description | Required |
186186
|:--- |:--- |:--- |
187187
| type | The type property of the copy activity source must be set to: **CassandraSource** | Yes |
188-
| query |Use the custom query to read data. CQL query, see [CQL reference](https://docs.datastax.com/en/cql/3.1/cql/cql_reference/cqlReferenceTOC.html). <br/><br/>When using SQL query, specify **keyspace name.table name** to represent the table you want to query. |No (if "tableName" and "keyspace" in dataset are specified). |
188+
| query |Use the custom query to read data. CQL query, see [CQL reference](https://docs.datastax.com/en/cql/3.1/cql/cql_reference/cqlReferenceTOC.html). |No (if "tableName" and "keyspace" in dataset are specified). |
189189
| consistencyLevel |The consistency level specifies how many replicas must respond to a read request before returning data to the client application. Cassandra checks the specified number of replicas for data to satisfy the read request. See [Configuring data consistency](https://docs.datastax.com/en/cassandra/2.1/cassandra/dml/dml_config_consistency_c.html) for details.<br/><br/>Allowed values are: **ONE**, **TWO**, **THREE**, **QUORUM**, **ALL**, **LOCAL_QUORUM**, **EACH_QUORUM**, and **LOCAL_ONE**. |No (default is `ONE`) |
190190

191191
**Example:**
@@ -210,7 +210,8 @@ If you use version 2.0 (Preview) to copy data from Cassandra, set the source typ
210210
"typeProperties": {
211211
"source": {
212212
"type": "CassandraSource",
213-
"query": "select id, firstname, lastname from mykeyspace.mytable"
213+
"query": "select id, firstname, lastname from mykeyspace.mytable",
214+
"consistencyLevel": "one"
214215
},
215216
"sink": {
216217
"type": "<sink type>"

0 commit comments

Comments
 (0)