Skip to content

Commit

Permalink
fix typo in userguide_3.0.md (#2770)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyangyu authored Jan 17, 2024
1 parent e17587c commit 5aa1618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/userguide_3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ spark.sql("select t1.id,t2.id from spark_catalog.default.t t1 left join tidb_cat
| `spark.tispark.tikv.conn_recycle_time` | `60s` | The interval time of cleaning the expired connection with TiKV. Only take effect when enabling reloading certificates. The default is `60s` (60 seconds). |
| `spark.tispark.host_mapping` | `` | This is route map used to configure public IP and intranet IP mapping. When the TiDB cluster is running on the intranet, you can map a set of intranet IPs to public IPs for an outside Spark cluster to access. The format is `{Intranet IP1}:{Public IP1};{Intranet IP2}:{Public IP2}`, e.g. `192.168.0.2:8.8.8.8;192.168.0.3:9.9.9.9`. |
| `spark.tispark.new_collation_enable` | `` | When TiDB cluster enable [new collation](https://docs.pingcap.com/tidb/stable/character-set-and-collation#new-framework-for-collations), this configuration should be `true`, otherwise it should be `false`. If this item is not configured, TiSpark will configure automatically based on the TiDB version. The configuration rule is as follows: If the TiDB version is greater than or equal to v6.0.0, it is `true`; otherwise, it is `false`. |
| `spark.tispark.replica_read` | leader | Read data from specified role. The optional roles are leader, follower and learner. You can also specify multiple roles, and we will pick the roles you specify in order. See [here](.features/follower_read.md)for more detail |
| `spark.tispark.replica_read` | leader | Read data from specified role. The optional roles are leader, follower and learner. You can also specify multiple roles, and we will pick the roles you specify in order. See [here](features/follower_read.md) for more detail |
| `spark.tispark.replica_read.label` | "" | Only select TiKV store match specified labels. Format: label_x=value_x,label_y=value_y |
| `spark.tispark.replica_read.address_whitelist` | "" | Only select TiKV store with given ip addresses. Split mutil addresses by `,` |
| `spark.tispark.replica_read.address_blacklist` | "" | Do not select TiKV store with given ip addresses. Split mutil addresses by `,` |
Expand Down

0 comments on commit 5aa1618

Please sign in to comment.