Creating filters
The first question that comes to our mind is why do we need filters? As discussed in Chapter 2, SAP HANA Data Modeling Approach, Modeling Principles section—consideration to make in Chapter 1, Kickoff – Before We Start: The idea is to filter the data at the lowest layer and only bring the data that is actually required by the query. (Quoting it from Chapter 1, Kickoff – Before We Start).That is, we should try to reduce data transfer between the engines. This can be achieved using the following steps:
- Creating client dependent views: The data is automatically filtered to one client.
- Using domain fix values: This can be used for several fields.
- Creating filters: This is defined during design time.
- Creating and using the
WHERE
clauses ...
Get Real Time Analytics with SAP HANA now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.