Articles on Trending Technologies

Technical articles with clear explanations and examples

Different Engine types in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 30-Jul-2019 832 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

Read More

How to create a Python dictionary from text file?

Jayashree
Jayashree
Updated on 30-Jul-2019 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'}

Read More

Publishing data to SAP HANA database using Information Composer

John SAP
John SAP
Updated on 30-Jul-2019 236 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.

Read More

What is possible key/value delimiter in Python dictionary?

Chandu yadav
Chandu yadav
Updated on 30-Jul-2019 585 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.

Read More

What are the differences between struct and class in C++?

Ramu Prasad
Ramu Prasad
Updated on 30-Jul-2019 484 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.

Read More

How do Python dictionary hash lookups work?

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 563 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.

Read More

Meaning of Activation mode "Activate and ignore the inconsistencies in affected objects" in SAP HANA

John SAP
John SAP
Updated on 30-Jul-2019 355 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.

Read More

Default Activation Mode in SAP HANA Modeler Perspective

John SAP
John SAP
Updated on 30-Jul-2019 217 Views

The default activation mode is “Activate and ignore the inconsistencies in affected objects”.

Read More

Using Auto Documentation feature in SAP HANA Modeler Perspective

John SAP
John SAP
Updated on 30-Jul-2019 294 Views

In SAP HANA Modeler Perspective, you can Auto Documentation feature to capture the details of an information model or a package in a single document. This helps you view the necessary details from the document, instead of referring to multiple table.

Read More

Difference between 'struct' and 'typedef struct' in C++?

Ankith Reddy
Ankith Reddy
Updated on 30-Jul-2019 1K+ Views

In C++, there is no difference between 'struct' and 'typedef struct' because, in C++, all struct/union/enum/class declarations act like they are implicitly typedef'ed, as long as the name is not hidden by another declaration with the same name.Though there is one subtle difference that typedefs cannot be forward declared. So for the typedef option, you must include the file containing the typedef before it is used anywhere.

Read More
Showing 60971–60980 of 61,298 articles
Advertisements