I'm using the IMPORT FROM command to read from csv file and populate a table in HANA table. There are some Spanish accents in data of one column, and it can display just fine when viewed in a text editor. But the IMPORT function only brought in rows with no accents in that data column, and skipped those with. Is there some configuration in HANA Studio or the schema itself that caused this restriction?
Import From csv into HANA table
Converting Store Procedure from SQL to HANA
Hello Experts, I want to convert store procedures from SQL Server to HANA, there are around 100 procedures Please suggest tools available to convert the procedures to HANA. Regards Manish
License generation for HANA Platform Edition
Hello Experts, We are facing problem while applying license to HANA platform Edition, it applies license successfully but shows invalid. How to generate license for Platform edition? Regards Manish
Re: Converting Store Procedure from SQL to HANA
A HANA Developer will be the best suited tool here
Re: Optimizing SAP HANA procedure
Prag,
Which part of the procedure is taking time to execute ? Are you triggering the database insert or update in the loop ?
Sree
Re: Optimizing SAP HANA procedure
Hello Sree
Yes i am triggering the data base insert and update in the procedure . Basically this procedure is taking the raw replicated tables from one of the schema and inserting the records in another table in another schema . I want to optimize the time taken to execute this procedure .
Regards
Re: Optimizing SAP HANA procedure
I suggest, minimize the use of cursors if you are using to fetch the data from your source tables. Instead, build information models to arrive the target structure and directly insert the data to the target schema with out a loop context . Inserting or updating in a loop(especially or 1 million records or so) will degrade the performance .
--> Or share the code or process flow , so that we can together analyse and solve it .
Sree
Accessing a hana instance from other systems?
Hi Al
I am learning sap hana cloud platform from past few days. i have a query regarding accessing the same instance in other systems which is already deployed from other system. also how to work on the same instance in two or more systems where each systems have a developer so that they can check the console at their local IDE and logs etc ....
thanks,
Gowtham.A
Re: Optimizing SAP HANA procedure
Hi Prag,
Trying using table variables in your insert statement.
Regards,
Krishna Tangudu
Re: MAX funtionality in HANA
Hi..I have pasted the code I used in the model in above post. This is the only code I used..
To make it clear-
first model which is fetching the multiple rows for the item is graphical.
In second model I am trying to write a script which will fetch me the MAX of the date and only one record from the multiple rows for item 1700.
Please have a look and help. Again, I appreciate you looked into my post and for your time as well.
Let me know if you need any information.
Re: MAX funtionality in HANA
Hmm.. you didn't seem to get what I was proposing before.
The logic of your query is wrong.
In order to get just the records with the most current/highest/maximum date, you need to find out first - for each item - the maximum date. In a second step you can have the record's details join in.
Typically this is done via a subquery as I wrote above.
Really, this is SQL query 101 and not at all SAP HANA specific.
For this there's no point in having an information model at all. Simply do it in SQL:
SELECT <... here goes what you want to see of your items ...>
FROM
table_with_items_data i inner join
( SELECT item_id, max(item_date) max_date
FROM table_with_items_data
GROUP BY item_id) im
on i.item_id = im.item_id
- Lars
Re: Optimizing SAP HANA procedure
Prag
you provided basically no useful information that could be used to determine why your code executes slow and what to do about it.
Please do your due diligence and provide the source code and some time measurements of the execution steps.
Based on your problem description so far, a valid recommendation would also be to ditch whatever code you wrote and simply have the replication put the data directly into the second schema as well.
Open ended questions like this just waste everybody's time as no proper analysis can take place at all.
- Lars
Re: Issue with Temporal Join in HANA modelling
Thank you so much..Patrick !!
Thanks,
Sree
Bind more than one jsonarray in jsonmodel
Hi,
I want to bind two json values for two different table in single view.
scenario:
I have created one table and binded value from jsonarray using setdata(). When select one row from the first table should I display another table for that I am having value as jsonarray. when I am trying to bind the second jsonarray the first table value is getting changed with this new value.
Thanks,
Suja Arjunan
Re: Issue with Temporal Join in HANA modelling
+1 to patrick's comments.
We faced a similar situation with the tables used for referential join falling under transaction data schema. Which drove us to try to model via data foundation. But was not possible and ended up create Attribute Views to have logical joins
Regards,
Krishna Tangudu
Re: MAX funtionality in HANA
Thanks..i will try and get back. Also just wanted to know on the performance, will the sub-query affect the performance?
Re: PAK : TREX Planning Engine error
Hi Jonas,
I am getting same error when select (or update) from table in SAP<SID> scheme in IP planning function (SQLScript).
My version - NW 7.40 SPS7 and HAHA 1.00.74.
Note 1979401 was applied, but it has no effect.
I created calc view for SAP<SID>.TABLE.
Select command from view works fine. But not update or insert, of course.
Did you solved this problem?
Andrey
Re: SAP HANA Performance Test - JMETER
Hello,
You can download Jmeter opensource executable from web. Jmeter is a java program which allows you to connect to a DB and send statements to be executed through JDBC. It is easy to configure and run. You just need to include the jar file for JDBC connection to the bin directory of Jmeter and configure a JDBC connection. Then you simply need to add threads and run your test. You can find tons of information online.
Re: /uilib-sample/proxy in the TDG demo
Really helpful and useful note, it solved my issue. Thanks a lot!
Regards, Charlie
Upgrading Developer Edition from rev80 to rev82
Hi Experts,
We have currently the SAP HANA developer edition rev80 in the cloud (AWS).
I m wondering if we van upgrade to rev82 of developer edition? if yes, could you pls point me to the installation guide to achieve this
Thanks & Regards