Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Create Types Dynamically in .hdbprocedure

$
0
0

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?


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>