Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: Streaming algorithms in HANA?

$
0
0

There's no way in SQL to do just that in a 'streaming' fashion.


However, for this specific case you might want to look into the option to proof that

 

TOP 10 ( val_a)  X TOP 10 (val_b) = TOP 10 (val_a x val_b)

 

If you can do that, then you don't need the streaming algorithm and can save a lot of time and memory.

 

For things like "top n val_bs for a given val_a" the co-related sub-query would be the weapon of choice.


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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