Skip to content

Commit 080701b

Browse files
authored
OD 1.4 Release (#314) (#319)
Merging 1.4 release changes into master
1 parent 0692849 commit 080701b

File tree

9 files changed

+35
-14
lines changed

9 files changed

+35
-14
lines changed

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ buildscript {
1818
ext {
1919
// When upgrading to version after 7.3.0, must remove also
2020
// project substitution from configurations.all (line 39)
21-
es_version = System.getProperty("es.version", "7.3.2")
21+
es_version = System.getProperty("es.version", "7.4.2")
2222
}
2323
// This isn't applying from repositories.gradle so repeating it here
2424
repositories {
@@ -54,7 +54,7 @@ repositories {
5454
}
5555

5656
ext {
57-
opendistroVersion = '1.3.0'
57+
opendistroVersion = '1.4.0'
5858
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
5959
}
6060

config/checkstyle/checkstyle.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<property name="charset" value="UTF-8" />
88

99
<module name="SuppressionFilter">
10-
<property name="file" value="${config_loc}/suppressions.xml" />
10+
<property name="file" value="${config_loc}/../../config/checkstyle/suppressions.xml" />
1111
</module>
1212

1313
<!-- Checks Java files and forbids empty Javadoc comments -->

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# permissions and limitations under the License.
1414
#
1515

16-
version=1.3
16+
version=1.4

gradle/wrapper/gradle-wrapper.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# permissions and limitations under the License.
1414
#
1515

16+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
1617
distributionBase=GRADLE_USER_HOME
1718
distributionPath=wrapper/dists
18-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip
19-
zipStoreBase=GRADLE_USER_HOME
2019
zipStorePath=wrapper/dists
20+
zipStoreBase=GRADLE_USER_HOME

opendistro-elasticsearch-sql.release-notes

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
1-
## 2019-10-29, Version 1.3.0 (Current)
1+
## 2019-12-10, Version 1.4.0 (Current)
2+
3+
### Notable changes
4+
5+
* Feature [#312](https://github.com/opendistro-for-elasticsearch/sql/issues/312): OD 1.4 Release components
6+
* Feature [#283](https://github.com/opendistro-for-elasticsearch/sql/pull/283): Added github action to build and run tests
7+
* Feature [#302](https://github.com/opendistro-for-elasticsearch/sql/pull/302): Documentation for basic usage of plugin
8+
9+
* Enhancement [#273](https://github.com/opendistro-for-elasticsearch/sql/pull/273): Support conditional functions: IF, IFNULL, ISNULL
10+
* Enhancement [#274](https://github.com/opendistro-for-elasticsearch/sql/pull/274): Support JOIN without table alias
11+
* Enhancement [#278](https://github.com/opendistro-for-elasticsearch/sql/pull/278): Support subquery in from with parent only has select
12+
* Enhancement [#282](https://github.com/opendistro-for-elasticsearch/sql/pull/282): Support datetime functions: MONTH, DAYOFMONTH, DATE, MONTHNAME, TIMESTAMP, MAKETIME, NOW, CURDATE
13+
* Enhancement [#286](https://github.com/opendistro-for-elasticsearch/sql/pull/286): Better error reporting for unsupported case like max(x) - min(y)
14+
* Enhancement [#287](https://github.com/opendistro-for-elasticsearch/sql/pull/287): Gradle build will publish compiled plugin, that is ready to install into elastic
15+
* Enhancement [#300](https://github.com/opendistro-for-elasticsearch/sql/pull/300): Support DISTINCT feature in SELECT clause
16+
* Enhancement [#303](https://github.com/opendistro-for-elasticsearch/sql/pull/303): Attributions
17+
* Enhancement [#305](https://github.com/opendistro-for-elasticsearch/sql/pull/305): Improve contributing docs
18+
19+
* BugFix [#267](https://github.com/opendistro-for-elasticsearch/sql/pull/267): Fixed operatorReplace Integration Test
20+
* BugFix [#275](https://github.com/opendistro-for-elasticsearch/sql/pull/275): Fix issue that IP type cannot pass JDBC formatter
21+
* BugFix [#284](https://github.com/opendistro-for-elasticsearch/sql/pull/284): Fixed flaky test suite, that was breaking github action build
22+
* BugFix [#295](https://github.com/opendistro-for-elasticsearch/sql/pull/295): Corrected the selected field names displayed in the schema of JDBC formatted response
23+
* BugFix [#296](https://github.com/opendistro-for-elasticsearch/sql/pull/296): Fixed functions work improperly with fieldvalue/constant param for current use
24+
* BugFix [#298](https://github.com/opendistro-for-elasticsearch/sql/pull/298): Fixed issue of log10 function gets inaccurate results
25+
* BugFix [#307](https://github.com/opendistro-for-elasticsearch/sql/pull/307): Fix the issue of column alias not working for GROUP BY
26+
27+
## 2019-10-29, Version 1.3.0
228

329
### Notable changes
430

src/main/java/com/amazon/opendistroforelasticsearch/sql/plugin/RestSqlAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class RestSqlAction extends BaseRestHandler {
7979

8080
RestSqlAction(Settings settings, RestController restController) {
8181

82-
super(settings);
82+
super();
8383
restController.registerHandler(RestRequest.Method.POST, QUERY_API_ENDPOINT, this);
8484
restController.registerHandler(RestRequest.Method.GET, QUERY_API_ENDPOINT, this);
8585
restController.registerHandler(RestRequest.Method.POST, EXPLAIN_API_ENDPOINT, this);

src/main/java/com/amazon/opendistroforelasticsearch/sql/plugin/RestSqlStatsAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class RestSqlStatsAction extends BaseRestHandler {
4747
public static final String STATS_API_ENDPOINT = "/_opendistro/_sql/stats";
4848

4949
public RestSqlStatsAction(Settings settings, RestController restController) {
50-
super(settings);
50+
super();
5151
restController.registerHandler(RestRequest.Method.POST, STATS_API_ENDPOINT, this);
5252
restController.registerHandler(RestRequest.Method.GET, STATS_API_ENDPOINT, this);
5353
}

src/test/java/com/amazon/opendistroforelasticsearch/sql/esintgtest/SQLFunctionsIT.java

-4
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,16 @@
2424
import org.elasticsearch.search.SearchHit;
2525
import org.elasticsearch.search.SearchHits;
2626
import org.hamcrest.collection.IsMapContaining;
27-
28-
import org.json.JSONArray;
2927
import org.json.JSONObject;
3028
import org.junit.Assert;
3129
import org.junit.Ignore;
3230
import org.junit.Test;
3331

3432
import java.io.IOException;
3533
import java.util.Date;
36-
3734
import java.util.stream.IntStream;
3835

3936
import static com.amazon.opendistroforelasticsearch.sql.esintgtest.TestsConstants.TEST_INDEX_ACCOUNT;
40-
import static com.amazon.opendistroforelasticsearch.sql.util.MatcherUtils.hit;
4137
import static com.amazon.opendistroforelasticsearch.sql.util.MatcherUtils.hitAny;
4238
import static com.amazon.opendistroforelasticsearch.sql.util.MatcherUtils.kvDouble;
4339
import static com.amazon.opendistroforelasticsearch.sql.util.MatcherUtils.kvInt;

src/test/resources/expectedOutput/search_spatial_explain.json

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"place" : {
1313
"shape" : {
1414
"type" : "polygon",
15-
"orientation" : "right",
1615
"coordinates" : [
1716
[
1817
[

0 commit comments

Comments
 (0)