Setting a composite column to hierarchical requires that the lookup name be typed by hand into the box in preferences -> tags browser. Composite columns are not included in the drop-down list. I will look at fixing this.
The composite column type must be "column built from other columns, behaves like tags".
I tested whether composite columns can display as hierarchical, and it works.
The following function returns one of two values, based on whether the database ID is odd.
Code:
def evaluate(self, formatter, kwargs, mi, locals):
if (mi.id % 2) == 1:
return 'foo.bar'
return 'foo.mumble'
I created a composite tags-like columns named #comp2, and called the function in its template.
Code:
program: myFunction()
The attached screen shot shows that the column is being displayed as hierarchical.