I'd double check with Rich Heilman, but documentation says it needs to be an explicit SQL SELECT statement:
User Defined Function - SAP HANA SQLScript Reference - SAP Library
A table UDF can only be called in the FROM –clause of an SQL statement in the same parameter positions as table names. For example, SELECT * FROM myTableUDF(1)