RedisLabs / spark-redis

A connector for Spark that allows reading and writing to/from Redis cluster
BSD 3-Clause "New" or "Revised" License
935 stars 368 forks source link

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

Open jaky0515 opened 3 years ago

jaky0515 commented 3 years ago

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

fe2s commented 3 years ago

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