I am trying to create a column view with a parent-child hierarchy, using the SQL editor rather than the graphical editor. I was given the following SQL from someone, and if I put my parent-child SELECT query in the "...etc" (below) it creates the view successfully. However, the hierarchy data involves multiple parents (for the same node), and SELECTing from the view complains about this ("multiple parents not allowed for hierarchy"). I know there is a 'Multiple Parents' option on hierarchies, as the graphical editor includes a checkbox for it, but I cannot find any documentation for doing it via SQL. ie. what parameter is required? In fact, I cannot find any documentation on creating column views with hierarchies using SQL.
CREATE COLUMN VIEW "MD_HIER"
TYPE hierarchy WITH PARAMETERS (
'hierarchyDefinitionType'='select',
'hierarchyDefinition'='{"NODESTYLE":"nameOnly","NODETYPE":"integer","RUNTIMEOBJECTTYPE":"tree",
"SOURCEQUERY":"select ... etc",
"SOURCEQUERYSCHEMA":"MYSCHEMA","SOURCETYPE":"RECURSIVE","VIEWLEVELS":10,"rootNode":""}');