Hi I've been struggling with the AFL Algorithms inside SAP Hana, because they require to introduce a type for the data to be treated when creating a wrapper. Unfortunately In my application there's a need for dynamic types to be created because we don't want the algorithm to always use the same number of fields in the data.
To be illustrative, I have a table with over 20 fields of KPIs, I want to cluster the records according to the field names the final user selects when using the application. Thus, when calling the clustering algorithm I must send the selected names and then cluster using only those fields.
Then comes the dynamically created types... I know for a fact that .hdbprocedure doesn't allow the "CREATE TYPE" statement so....Is there a way to create them in an .hdbprocedure?