Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Feb 20, 2023
1 parent 5f16855 commit b15f1eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private[v1] class OperationsResource extends ApiRequestContext with Logging {
if (i.getI64Val.isSetValue) {
i.getI64Val.getFieldValue(TI64Value._Fields.VALUE)
} else {
null;
null
}
})
}).asJava)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ class OperationsResourceSuite extends KyuubiFunSuite with RestFrontendTestHelper
.request(MediaType.APPLICATION_JSON).get()
assert(200 == response.getStatus)
val logRowSet = response.readEntity(classOf[ResultRowSet])
assert(logRowSet.getRows.asScala.head.getFields.asScala.map(_.getValue).toList ===
List(null, null, null, null, null, null, null))
assert(logRowSet.getRows.asScala.head.getFields.asScala.forall(_.getValue == null))
assert(logRowSet.getRowCount == 1)
}

Expand Down

0 comments on commit b15f1eb

Please sign in to comment.