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

sql word :Could not get a resource from the pool (state=,code=0) #338

Closed zehui-liu closed 1 year ago

zehui-liu commented 2 years ago

I use this sql word : create table test06( a1 string, a2 int, a3 int )using org.apache.spark.sql.redis OPTIONS (table 'test1',spark.redis.host '127.0.0.1' , spark.redis.port '6379'); on spark thrift server . but it does not working.Does it support this sql ?

fe2s commented 2 years ago

Hi @Zhl-zero-bytes , can you try this? https://github.com/RedisLabs/spark-redis/blob/master/doc/dataframe.md#spark-sql

sazzad16 commented 1 year ago

Closed due to inactivity.