From e60a0c383b6fa0d7ba1f8d5e7964a98dd21ee228 Mon Sep 17 00:00:00 2001 From: fe2s Date: Sun, 9 Feb 2020 13:22:46 +0200 Subject: [PATCH] fix #206: document dataframe specific options to override Redis connection settings in SparkSession --- doc/dataframe.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/dataframe.md b/doc/dataframe.md index c8d33722..bf388011 100644 --- a/doc/dataframe.md +++ b/doc/dataframe.md @@ -341,6 +341,11 @@ root | max.pipeline.size | maximum number of commands per pipeline (used to batch commands) | `Int` | 100 | | scan.count | count option of SCAN command (used to iterate over keys) | `Int` | 100 | | iterator.grouping.size | the number of items to be grouped when iterating over underlying RDD partition | `Int` | 1000 | +| host | overrides `spark.redis.host` configured in SparkSession (if set, any other connection setting from SparkSession is ignored ) | `String` | `localhost` | +| port | overrides `spark.redis.port` configured in SparkSession (if set, any other connection setting from SparkSession is ignored ) | `Int` | `6379` | +| auth | overrides `spark.redis.auth` configured in SparkSession (if set, any other connection setting from SparkSession is ignored ) | `String` | - | +| dbNum | overrides `spark.redis.dbNum` configured in SparkSession (if set, any other connection setting from SparkSession is ignored ) | `Int` | `0` | +| timeout | overrides `spark.redis.timeout` configured in SparkSession (if set, any other connection setting from SparkSession is ignored ) | `Int` | `2000` | ## Known limitations