Skip to content

Add more metrics and handle emr exception message (#2422)

Codecov / codecov/patch failed Nov 8, 2023 in 0s

30.23% of diff hit (target 95.60%)

View this Pull Request on Codecov

30.23% of diff hit (target 95.60%)

Annotations

Check warning on line 138 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L138

Added line #L138 was not covered by tests

Check warning on line 167 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L167

Added line #L167 was not covered by tests

Check warning on line 196 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L196

Added line #L196 was not covered by tests

Check warning on line 226 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L226

Added line #L226 was not covered by tests

Check warning on line 254 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L254

Added line #L254 was not covered by tests

Check warning on line 283 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L283

Added line #L283 was not covered by tests

Check warning on line 286 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L286

Added line #L286 was not covered by tests

Check warning on line 115 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L115

Added line #L115 was not covered by tests

Check warning on line 138 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L138

Added line #L138 was not covered by tests

Check warning on line 145 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L145

Added line #L145 was not covered by tests

Check warning on line 167 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L167

Added line #L167 was not covered by tests

Check warning on line 177 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L177

Added line #L177 was not covered by tests

Check warning on line 182 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L182

Added line #L182 was not covered by tests

Check warning on line 185 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L185

Added line #L185 was not covered by tests

Check warning on line 191 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L191

Added line #L191 was not covered by tests

Check warning on line 213 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L213

Added line #L213 was not covered by tests

Check warning on line 230 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L230

Added line #L230 was not covered by tests

Check warning on line 232 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L232

Added line #L232 was not covered by tests

Check warning on line 235 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L234-L235

Added lines #L234 - L235 were not covered by tests

Check warning on line 237 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L237

Added line #L237 was not covered by tests

Check warning on line 241 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L241

Added line #L241 was not covered by tests

Check warning on line 246 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L246

Added line #L246 was not covered by tests

Check warning on line 248 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L248

Added line #L248 was not covered by tests

Check warning on line 251 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L250-L251

Added lines #L250 - L251 were not covered by tests

Check warning on line 253 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L253

Added line #L253 was not covered by tests