-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add geoRedis #118
base: master
Are you sure you want to change the base?
add geoRedis #118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add a test to RedisRddSuite
for this method?
@@ -242,6 +242,18 @@ class RedisContext(@transient val sc: SparkContext) extends Serializable { | |||
} | |||
} | |||
|
|||
/** | |||
* @param kvs RDD of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please complete the description of kvs
parameter.
/** | ||
* @param geoName | ||
* @param arr k/vs which should be saved in the target host | ||
* save all the k/vs to zsetName(zset type) to the target host |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks to be wrong. Copy pasted from another method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to put geo data into redis using spark.
so i just add some lines