IC Role to Create Physical Tables and Analyze Data in SAP HANA

John SAP
Updated on 30-Jul-2019 22:30:22

153 Views

To create physical tables, uploading data and creating information views IC_MODELER role is required. If these users are only assigned with IC_PUBLIC role, they can view information views created by other users but can’t create their own views.

Different Engine Types in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:22

622 Views

In SAP HANA, following engine types are available:Join Engine: This is used for attribute viewsOLAP engine: This is used for analytic viewsCalculation Engine: This is used for calculation views

Create Python Dictionary from Text File

Jayashree
Updated on 30-Jul-2019 22:30:22

13K+ Views

Assuming a following text file (dict.txt) is present1 aaa2 bbb3 cccFollowing Python code reads the file using open() function. Each line as string is split at space character. First component is used as key and second as valued = {} with open("dict.txt") as f: for line in f:     (key, val) = line.split()     d[int(key)] = val print (d)The output shows contents of file in dictionary form{1: 'aaa', 2: 'bbb', 3: 'ccc'}

Pass Objects to Functions in C++

Ankitha Reddy
Updated on 30-Jul-2019 22:30:22

835 Views

There are four ways of passing objects to functions. Let's assume you have a class X and want to pass it to a function fun, then − Pass by value This creates a shallow local copy of the object in the function scope. Things you modify here won't be reflected in the object passed to it. For example, Declaration void fun(X x); Calling X x; fun(x); Pass by reference This passes a reference to the object to the function. Things you modify here will be reflected in the object passed to it. No copy of the ... Read More

Publishing Data to SAP HANA Database using Information Composer

John SAP
Updated on 30-Jul-2019 22:30:22

179 Views

Once data is published to HANA database, you cannot rename the table. In this case, you have to delete the table from Schema in HANA database.

Possible Key-Value Delimiter in Python Dictionary

Chandu yadav
Updated on 30-Jul-2019 22:30:22

491 Views

You can use any hashable object like int, string, etc as a key in a python dict. You need to separate it from the value using the ':' delimiter. The value can be any type of object. Consecutive key value pairs must be separated by a comma.

Differences Between Struct and Class in C++

Ramu Prasad
Updated on 30-Jul-2019 22:30:22

378 Views

The members and base classes of a struct are public by default, while in class, they default to private. Struct and class are otherwise functionally equivalent.They are however used in different places due to semantics. a struct is more like a data structure that is used to represent data. class, on the other hand, is more of a functionality inclined construct. It mimics the way things are and work.

Meaning of Activation Mode in SAP HANA

John SAP
Updated on 30-Jul-2019 22:30:22

168 Views

This mode supports activation of the selected objects only if there are no inconsistent in affected objects in SAP HANA.

How Python Dictionary Hash Lookups Work

karthikeya Boyini
Updated on 30-Jul-2019 22:30:22

466 Views

Dicts are hash tables. No tree searching is used. Looking up a key is a nearly constant time(Amortized constant) operation, regardless of the size of the dict. It creates the hash of the key, then proceeds to find the location associated with the hashed value. If a collision listed address is encountered, it starts the collision resolution algorithm to find the actual value.This causes dictionaries to take up more space as they are sparse.

Meaning of Activation Mode in SAP HANA

John SAP
Updated on 30-Jul-2019 22:30:22

254 Views

This activation mode supports activating the selected objects even if it results in inconsistent affected objects. For example, if you choose to activate an object A that is used by B and C, and it causes inconsistencies in B and C but you can choose to go ahead with the activation of A.

Advertisements