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

How to do a UNION if you really needed an Outer Join

$
0
0

The Business Need: We need a quote performance report (what % of quotes (# of items, value)) has been converted to Orders with the ability to drill down into anything of the quote including fields like item category, ... down to quote number.

Doing a UNION of these 2 VBAP records would not allow us to do so because e.g. quote and order item categories are not the same so Union would "separate" the records. Doing an outer join is too slow.

Below I prepped a document on how I think this can be solved with Union.

 

Notes upfront:

  • we're on SP4
  • we have about 16 million VBAP records
  • if below is nonsense or if there are better ways to do it let me know because it makes life more complicate than it should be

 

Slide1.JPG

Slide2.JPG

Slide3.JPG


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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