Closed mathieuruellan closed 2 months ago
(the screenshot has a typo with a missing quote), but the issue is still valid
@mathieuruellan I think the batchSize
is not a valid parameter. Try removing that and see if it works. The problem that you're having is that you've added some parameter that doesn't exist in the Mongo config.
@cgivre thank you for your answer. It changes nothing, and i can't make it work with batchsize.
The same without query parameters is ok:
@mathieuruellan Sorry.. I haven't worked with Drill and Mongo in some time. Let's try a few things:
!verbose
in Drill's command line and see what kind of errors we're getting. Actually, it was a specific parameter "authMechanism=DEFAULT" not supported because the driver and its mongo url parser is old. Problem solved.
Before submitting a bug report, please verify that you are using the most current version of Drill.
Describe the bug I'm configuring the mongo connector with an url containing query parameters. The JSON is rejected because "invalid"
To Reproduce Steps to reproduce the behavior:
Go to Drill UI/Storage/Mongo/Update
edit the json and enter a valid mongo url with query parameter for instance: "connection": mongodb+srv://admin:XXXXXX@localhost:4117/myDB?readPreference=secondaryPreferred",
See error Please retry: Invalid JSON: Failure when decoding plugin JSON