Skip to content

Commit

Permalink
Removed comment
Browse files Browse the repository at this point in the history
Signed-off-by: MitchellGale-BitQuill <[email protected]>
  • Loading branch information
MitchellGale committed Dec 20, 2022
1 parent c82f0b5 commit 7bf3753
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions integ-test/src/test/java/org/opensearch/sql/sql/TextTypeIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,4 @@ public void selectSubstringTextDataFieldNoFields() {
verifySchema(result,
schema("SUBSTRING(textDataFieldNoFields, 1, 1)", null, "keyword"));
}

// protected JSONObject executeQuery(String query) throws IOException {
// Request request = new Request("POST", QUERY_API_ENDPOINT);
// request.setJsonEntity(String.format(Locale.ROOT, "{\n" + " \"query\": \"%s\"\n" + "}", query));
//
// RequestOptions.Builder restOptionsBuilder = RequestOptions.DEFAULT.toBuilder();
// restOptionsBuilder.addHeader("Content-Type", "application/json");
// request.setOptions(restOptionsBuilder);
//
// Response response = client().performRequest(request);
// return new JSONObject(getResponseBody(response));
// }
}

0 comments on commit 7bf3753

Please sign in to comment.