spark-redis icon indicating copy to clipboard operation
spark-redis copied to clipboard

Reading key value pairs from redis without providing a keys.pattern or table name

Open jaky0515 opened this issue 4 years ago • 1 comments

Hi, is there a way to load key value pairs without providing a "keys.pattern" or "table" option to SparkSession? All my keys are sharing either of these two patterns (alphanumeric~alphanumeric or alphanumeric~alphanumeric~alphanumeric), but none of them seem to work with both "*~*" or "*~*~*" pattern so wondering if there is a way to load without even providing them. Thanks

jaky0515 avatar Mar 15 '21 21:03 jaky0515

Hi @jaky0515 , Not sure I understood the issue. Can you load with two calls, first with *~* and second with *~*~*?

fe2s avatar Mar 17 '21 12:03 fe2s