RJDBC icon indicating copy to clipboard operation
RJDBC copied to clipboard

Datatype returned as character instead of double since fix of issue #83

Open pascalgulikers opened this issue 2 years ago • 10 comments

Since version 0.2-10 there are some issues with datatype conversion from SAP HANA tables. High precision 0 values return as character 0E-8 instead of double 0.0000000 RJDBC 0.2-08: image

RJDBC 0.2-10 image

Possible fix in class.R line 454:

l[[i]] <- numeric() cp <- .jcall(res@md, "I", "getPrecision", i) if (cp > 15) { l[[i]] <- character() rts[i] <- 1L }

pascalgulikers avatar Apr 28 '22 17:04 pascalgulikers