Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Relocated json_columnizer to the directory with other table-valued UDFs

...

The java source can be copied from: https://github.com/esgyn/code-examples/blobtree/master/src/main/java/org/trafodion/examples/udrs/udfs/table_valued/json_columnizer.

Trafodion steps after java compiling, jar'ing, and uploading to every node of the Trafodion cluser:

...

create library <your library name> file '<the full path name of your jar>';

create table_mapping function <what you want> ()
external name '<your class>'                       org.trafodion.examples.udrs.udfs.table_valued.json_columnizer.json_columnizer' -- name of your class
language java
library <your library name>;

...