Articles on Trending Technologies

Technical articles with clear explanations and examples

What does colon ':' operator do in Python?

Malhar Lathkar
Malhar Lathkar
Updated on 18-Jun-2020 10K+ Views

The : symbol is used for more than one purpose in PythonAs slice operator with sequence −The − operator slices a part from a sequence object such as list, tuple or string. It takes two arguments. First is the index of start of slice and second is index of end of slice. Both operands are optional. If first operand is omitted, it is 0 by default. If second is omitted, it is set to end of sequence.>>> a=[1, 2, 3, 4, 5] >>> a[1:3] [2, 3] >>> a[:3] [1, 2, 3] >>> a[2:] [3, 4, 5] >>> s='computer' >>> s[:3] ...

Read More

Automatic resource management in Java

Samual Sam
Samual Sam
Updated on 18-Jun-2020 987 Views

automatic resource management or try-with-resources is a new exception handling mechanism that was introduced in Java 7, which automatically closes the resources used within the try-catch block.ResourceA resource is an object which is required to be closed once our program finishes. For example, a file is read, database connection and so on.UsageTo use the try-with-resources statement, you simply need to declare the required resources within the parenthesis, and the created resource will be closed automatically at the end of the block. Following is the syntax of the try-with-resources statement.Syntaxtry(FileReader fr = new FileReader("file path")) {        // use the resource ...

Read More

Advantages of using Calculation View without Star Join

SAP Developer
SAP Developer
Updated on 18-Jun-2020 598 Views

When you use Calculation view with Star Join, you have the following benefits:It simplifies the design process.You need not create Analytical views and Attribute Views and directly Fact tables can be used as Projections.3NF is possible with Star Join.

Read More

Applying Variable on calculated column in SAP HANA Modeling view

SAP Developer
SAP Developer
Updated on 18-Jun-2020 506 Views

Yes, you can set a variable on top of “Calculated column”. In the bottom box, you need to select the column on which you want to set a Variable.Click on Add and from the drop-down, you can select “Calculated column” as below:

Read More

Hiding a column in Data Preview in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 18-Jun-2020 773 Views

In Analytic View, to hide few of columns you have to click on Semantics in scenario pane. There you can select the checkbox in front of column name that you want to hide.

Read More

Creating a mandatory variable in SAP HANA View

SAP Expert
SAP Expert
Updated on 18-Jun-2020 288 Views

Yes, this is possible. When you create variable in HANA, you have an option to make it as a mandate. Also from the drop down, you can make Selection type as Range or Interval

Read More

Data Preview option in HANA Modeling view in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 18-Jun-2020 656 Views

Once HANA Modeling view is activated, you can use Data Preview option to analyze the data in HANA Modeling view. To see Data Preview, you can right-click on View name → Data PreviewYou can also click on the icon as shown in below snapshot:

Read More

Checking column properties in an Attribute view in SAP HANA

John SAP
John SAP
Updated on 18-Jun-2020 292 Views

This can be easily checked in Details pane. You need to select column name for which you want to check Properties of a column → right click → Properties

Read More

Performance Analysis of an Attribute view in SAP HANA

SAP Developer
SAP Developer
Updated on 18-Jun-2020 482 Views

In SAP HANA Modeling, you have an option of switching to Performance Analysis mode. This is used to check if Joins in Attribute view are meeting with performance optimized joins and cardinality based on data in the table.You can see 2 options when you select Performance Analysis mode:Join Details:This defines Join type used and proposed cardinality based on data in the tableData Source Details:Defines table type, partition type and a number of rows in tables.

Read More

Use of Data Foundation in Attribute view in SAP HANA

Anil SAP Gupta
Anil SAP Gupta
Updated on 18-Jun-2020 437 Views

When you enter the Attribute name, Type, and Subtype and click on Finish, it will open three work panesScenario pane that has Data Foundation and Semantic Layer.Details Pane shows attribute of all tables added to Data Foundation and joining them.Output pane where we can add attributes from Detail pane to filter in the report.You can add Objects to Data Foundation, by clicking on ‘+’ sign written next to Data Foundation. You can add multiple Dimension tables and Attribute Views in the Scenario Pane and join them using a Primary Key.

Read More
Showing 53801–53810 of 61,297 articles
Advertisements