Skip to main content

how vertica transfer the NULL value to R-UDF?

  • February 24, 2014
  • 1 reply
  • 4 views

Haifeng_Ren
Forum|alt.badge.img+1
if there is null value in tables, at this time call the R-UDF , what would the null value be in R-UDF?

1 reply

Daniel_Leybovic
Forum|alt.badge.img+1
  • Participating Frequently
  • February 24, 2014
https://my.vertica.com/docs/7.0.x/HTML/index.htm#Authoring/ProgrammersGuide/UserDefinedFunctions/UDx...

NULL values in HP Vertica are translated to R NA values when sent to the R function. R NA values are translated into HP Vertica null values when returned from the R function to HP Vertica.