File tree Expand file tree Collapse file tree
legacy/src/main/java/org/opensearch/sql/legacy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -415,7 +415,9 @@ private void validateJoinWithoutAggregations(MySqlSelectQueryBlock query)
415415 String version = Util .getDocumentationVersion (SqlParser .class );
416416 String errorMessage =
417417 "JOIN queries do not support aggregations on the joined result. For more information, see "
418- + "https://docs.opensearch.org/" + version + "/search-plugins/sql/limitation/#join-does-not-support-aggregations-on-the-joined-result" ;
418+ + "https://docs.opensearch.org/"
419+ + version
420+ + "/search-plugins/sql/limitation/#join-does-not-support-aggregations-on-the-joined-result" ;
419421
420422 if (query .getGroupBy () != null && !query .getGroupBy ().getItems ().isEmpty ()) {
421423 throw new SqlParseException (errorMessage );
Original file line number Diff line number Diff line change @@ -282,8 +282,8 @@ public static SQLExpr toSqlExpr(String sql) {
282282 }
283283
284284 /**
285- * Gets the OpenSearch major.minor version for documentation links.
286- * Converts "x.y.z" format to "x.y".
285+ * Gets the OpenSearch major.minor version for documentation links. Converts "x.y.z" format to
286+ * "x.y".
287287 *
288288 * @param clazz The class to get package implementation version from
289289 * @return The major.minor version string, or "latest" if version cannot be determined
You can’t perform that action at this time.
0 commit comments