h2o.merge will not work with frame with 1 row of <dbl> column

Description

With h2o.merge in R, if you try to join a single row H2O frame where the join is on a <dbl> column to another frame, it will fail (below) or returns wrong number of rows:


Input:

 

Output:
ERROR while rich displaying an object: Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, :
ERROR MESSAGE:
java.lang.AssertionError
Traceback:

FUN(X[[i]], ...)

tryCatch(withCallingHandlers({

. if (!mime %in% names(repr::mime2repr)) . stop("No repr_* for mimetype ", mime, " in repr::mime2repr"). rpr <- repr::mime2repr[[mime]](obj). if (is.null(rpr)) . return(NULL). prepare_content(is.raw(rpr), rpr). }, error = error_handler), error = outer_handler)

tryCatchList(expr, classes, parentenv, handlers)

tryCatchOne(expr, names, parentenv, handlers[[1L]])

doTryCatch(return(expr), name, parentenv, handler)

withCallingHandlers({

. if (!mime %in% names(repr::mime2repr)) . stop("No repr_* for mimetype ", mime, " in repr::mime2repr"). rpr <- repr::mime2repr[[mime]](obj). if (is.null(rpr)) . return(NULL). prepare_content(is.raw(rpr), rpr). }, error = error_handler)

repr::mime2repr[[mime]](obj)

repr_text.default(obj)

paste(capture.output(print(obj)), collapse = "\n")

10. capture.output(print(obj))

11. evalVis(expr)

12. withVisible(eval(expr, pf))

13. eval(expr, pf)

14. eval(expr, pf)

15. print(obj)

16. print.H2OFrame(obj)

17. print(head(x, n, m))

18. head(x, n, m)

19. head.H2OFrame(x, n, m)

20. nrow

21. dim

22. dim.H2OFrame

23. .eval.frame

24. .eval.driver

25. .h2o._remoteSend(.h2o._RAPIDS, h2oRestApiVersion = 99, ast = exec_str, . session_id = h2o.getConnection()@mutable$session_id, method = "POST")

26. .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, . parms = .params, method = method)

27. stop(msg)

Assignee

Wendy

Fix versions

Reporter

neema.mashayekhi

Support ticket URL

Labels

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

CustomerVisible

No

Priority

Major
Configure