HyukjinKwon edited a comment on issue #27456: [SPARK-25040][SQL][FOLLOWUP] Add 
legacy config for allowing empty strings for certain types in json parser
URL: https://github.com/apache/spark/pull/27456#issuecomment-582195489
 
 
   @shaneknapp, can you take a look?
   
   ```
   test_includePackage.R:31: error: include inside function
   package or namespace load failed for ���plyr���:
    package ���plyr��� was installed by an R version with different internals; 
it needs to be reinstalled for use with this R version
   ```
   
   Seems it's a package installation issue. Looks like `plyr` has to be 
re-installed.
   
   Some other tests looks related to environment variables:
   
   ```
   test_sparkSQL.R:499: warning: SPARK-17811: can create DataFrame containing 
NA as date and time
   Your system is mis-configured: ���/etc/localtime��� is not a symlink
   
   test_sparkSQL.R:499: warning: SPARK-17811: can create DataFrame containing 
NA as date and time
   It is strongly recommended to set envionment variable TZ to 
���America/Los_Angeles��� (or equivalent)
   
   test_sparkSQL.R:1814: error: string operators
   unable to find an inherited method for function ���startsWith��� for 
signature ���"character"���
   1: expect_true(startsWith("Hello World", "Hello")) at 
/home/jenkins/workspace/SparkPullRequestBuilder@2/R/pkg/tests/fulltests/test_sparkSQL.R:1814
   2: quasi_label(enquo(object), label)
   3: eval_bare(get_expr(quo), get_env(quo))
   4: startsWith("Hello World", "Hello")
   5: (function (classes, fdef, mtable) 
      {
          methods <- .findInheritedMethods(classes, fdef, mtable)
          if (length(methods) == 1L) 
              return(methods[[1L]])
          else if (length(methods) == 0L) {
              cnames <- paste0("\"", vapply(classes, as.character, ""), "\"", 
collapse = ", ")
              stop(gettextf("unable to find an inherited method for function %s 
for signature %s", 
                  sQuote(fdef@generic), sQuote(cnames)), domain = NA)
          }
          else stop("Internal error in finding inherited methods; didn't return 
a unique method", 
              domain = NA)
      })(list("character"), new("nonstandardGenericFunction", .Data = function 
(x, prefix) 
      {
          standardGeneric("startsWith")
      }, generic = structure("startsWith", package = "SparkR"), package = 
"SparkR", group = list(), 
          valueClass = character(0), signature = c("x", "prefix"), default = 
NULL, skeleton = (function (x, 
              prefix) 
          stop("invalid call in method dispatch to 'startsWith' (no default 
method)", domain = NA))(x, 
              prefix)), <environment>)
   6: stop(gettextf("unable to find an inherited method for function %s for 
signature %s", 
          sQuote(fdef@generic), sQuote(cnames)), domain = NA)
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to