Closed antonum closed 1 year ago
@jruaux suggested that the issue might be with the case sensitivity of the index name. The same JSON-based index with all lowercase characters in the name worked as expected.
If you want there is also a setting for case-insensitive matching on table (aka index) names:
redisearch.case-insensitive-names
https://redis-field-engineering.github.io/redis-sql/#configuration
Redis-SQL sees both HASH and JSON-based tables with
show tables
, but fails to select anything from JSON-based table withTable 'redisearch.default.beersjson' does not exist
error.To reproduce:
1) Adjust docker-compose.yaml to use
image: redis/redis-stack
for Redis container. Run it.2) Create HASH and JSON - based RediSearch indices:
3) shell into trino container and try
SHOW TABLES;
- it would show both tables. ThenSELECT * from beers;
andselect * from beersjson;
. Select from HASH-based table would succeed, select from JSON-based would fail.