We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a table contains upper case letters (which is ok according to the docs https://manual.manticoresearch.com/Creating_a_table/Local_tables#Defining-table-schema-in-config-(Plain-mode)), it's impossible to search in the table via the JSON interface:
Config:
searchd { listen = 19306 log = searchd.log pid_file = searchd.pid binlog_path = } source src { type = csvpipe csvpipe_command = echo "1,a" csvpipe_field = f } index T { type = plain source = src path = idx }
Queries:
➜ ~ curl -sX POST localhost:19306/search -d '{"index" : "T"}'|jq . [ { "total": 0, "warning": "", "error": "unknown local table(s) 't' in search request" } ] ➜ ~ curl -sX POST localhost:19306/search -d '{"index" : "t"}'|jq . [ { "total": 0, "warning": "", "error": "unknown local table(s) 't' in search request" } ]
Expected: the same behaviour as in SQL:
mysql> select * from T; +------+------+ | id | f | +------+------+ | 1 | a | +------+------+ 1 row in set (0.00 sec) --- 1 out of 1 results in 0ms --- mysql> select * from t; ERROR 1064 (42000): unknown local table(s) 't' in search request
i.e.:
POST search '{"index" : "T"} should work, POST search '{"index" : "t"} shouldn't.
POST search '{"index" : "T"}
POST search '{"index" : "t"}
The text was updated successfully, but these errors were encountered:
Fixed in 1163d4b4
Sorry, something went wrong.
glookka
No branches or pull requests
When a table contains upper case letters (which is ok according to the docs https://manual.manticoresearch.com/Creating_a_table/Local_tables#Defining-table-schema-in-config-(Plain-mode)), it's impossible to search in the table via the JSON interface:
MRE
Config:
Queries:
Expected: the same behaviour as in SQL:
i.e.:
POST search '{"index" : "T"}
should work,POST search '{"index" : "t"}
shouldn't.The text was updated successfully, but these errors were encountered: