Open donhardman opened 1 month ago
Once done let's add CLT tests for these combinations:
/cli
+ buddy query (various queries, e.g. SHOW and fuzzy)/cli
+ normal query/cli_json
+ buddy_query/sql
+ normal select query/sql
+ buddy select query/sql?mode=raw
+ normal query/sql?mode=raw
+ buddy query/cli
/cli_json
(e.g. http://localhost:9308/cli_json?select%20*%20from%20t;show%20meta)/sql
/sql?mode=raw
Implementation finished, but waiting for https://github.com/manticoresoftware/manticoresearch/issues/2680 to be resolved before we can test it in the easiest way possible.
@Nick-S-2018 I have no idea, but after refactoring, something happened to Elastic-like queries. I tried to fix what I could, but I'm afraid I need help to take a look at this logic:
1) InsertQueryTest::testHTTPElasticInsertQueryOk
/workdir/test/Buddy/functional/InsertQueryTest.php:69
If you need to assist with the new way of forming the response, reach me on Slack. The problem is that the test can't find "_id" in the response, which is weird.
@PavelShilin89, please proceed with the tests in this branch: https://github.com/manticoresoftware/manticoresearch/pull/2701. Let me know if you need any further information or assistance.
I found and fixed the issue on my own, so we can proceed with tests
@donhardman Testing performed in PR - https://github.com/manticoresoftware/manticoresearch/pull/2701 Requires test review and merge approval.
Bug Description:
The table version of view for
SHOW VERSION
query gives us JSONDue to the underlying architecture we use in Buddy
tableFormatter
, we should consider rethinking our approach and possibly refactor it in a way that allows table representation for each command to be added automatically.Manticore Search Version:
Latest dev version
Operating System Version:
Ubuntu Jammy
Have you tried the latest development version?
None
Internal Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.