:wave: Hi pinot devs. I am using the open source d...
# general
s
👋 Hi pinot devs. I am using the open source docker images to host a local cluster. I noticed that a schema that used to work for the 0.4.0 version of the images is throwing a 400 bad request with the 0.5.0 version of the images (latest as of today). The schema I'm using is: https://pastebin.pl/view/a509e966 Where should I be looking for any specific stacktraces / logs?
docker logs -f <controller_container_id>
doesn't show anything relevant to the 400
j
Hi Sashikanth, what commend did you use to post the schema?
s
I'm doing this programmatically via:
Copy code
val createSchemaResponse = Request
        .post(_controllerUri + "/schemas")
        .bodyString(schema.toSingleLineJsonString(), ContentType.APPLICATION_JSON)
        .execute()
        .returnContent()
        .asString();
Using the
org.apache.hc.client5.http.fluent
http client
where the
bodyString
arg is from the pastebin link
j
We recently added some validation to the schema. Can you please also share the table config for this table?
What is the error message in the 400 response?
s
All I can tell is that it says "Bad request". Turns out curl call for the same payload works. Looks like it's got something to do with the way it handles the same client call.