on 04-01-2016 2:06 PM
Hi,
I am reading this tutorial : https://github.com/AndreasForster/Predictive/raw/master/SAP_PA_Automated_Tutorial_DataManager.pdf
I am now in page 15 and clicked on "View Data" to see the content of Entity, but I got this error:
2016-04-01 14:34:39 Error Message from ODBC: SQLExecDirect: [S1000][SAP AG][LIBODBCHDB DLL][HDBODBC] General error;260 invalid column name: RKARIMI_DEVUSERCLIENT.CLIENT_ID: line 1 col 38 (at pos 37)
The column CLIENT_ID exist in table and was already selected as the Id field. Moreover, in the tutorial there is DATE_BIRTH column but it does not exist in the data set that I downloaded from Hands-On Tutorial SAP Predictive Analytics, Aut... | SCN.
.Thanks,
Rasoul
Hi Rasoul, looping Former Member. Thanks & regards, Antoine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Antonie and Andreas for your effort.
I just noticed that I had downloaded the data from http://lisp.vse.cz/pkdd99/DATA/data_berka.zip
I could not import the data that I downloaded from Hands-On Tutorial SAP Predictive Analytics, Aut... | SCN
because it is not a text file and I don't know how to import it! To import a text file into HANA first I open it in Excel and then create a xlst file and then import it using import wizard in HANA Studio.
So it seems that something is wrong in the file that I downloaded from the first link because the DATE_BIRTH does not exist and the client_id is problematic. Could you please tell me how to import the data from the second link? By the way, is the type of client_id column important? I tried INTEGER and DECIMAL but both failed. Is it also important to define client_id as a primary key? I added this constraint but it did not help!
Thanks,
Rasoul
Hi,
I just fixed this issue. The problem was that the column names in the table are in small letters but PA expects them in big letters!
In the end of "Hands-On Tutorial SAP Predictive Analytics, Automated Mode: Data Manager", it is mentioned: "It is preferred to use capital letters for all table names and column names, ie use CLIENT_ID instead of ClientID". I think this sentence should be changed in order to make it mandatory not optional. Moreover, in the original data files (http://lisp.vse.cz/pkdd99/DATA/data_berka.zip ),
the name of columns in the text file should be in big letters in order to avoid this problem automatically!
Best,
Rasoul
Hi Rasoul,
The file data_berka.zip was kindly shared by someone organizing an analytical competition. This data is not coming from SAP, as Antoine rightly mentions.
The tutorial SAP_PA_Automated_Tutorial_DataManager.pdf makes use of that data, which requires a number of transformations though. To follow the tutorial it would be easiest for you to download the transformed dataset. You can import it in a few clicks. Please see page 64 in SAP_PA_Automated_Tutorial_DataManager.pdf. So instead of using data_berka.zip I recommend using DataManagerTutorialData.zip. Any transformations made to the original data is described in the tutorial.
Apparently it is possible to use lowercase as table/field names by use of some clever connectivity settings. Hence it's not declared manadtory.
Many Greetings
Andreas
Hi,
I have imported the data using "Catalog Object" Wizard and have progress until page 37 of the tutorial. Now I am creating a model by hitting "Generate " button. Then I get this error:
Error: All the input variables are constant. No model can be built.
This is strange because like the tutorial I have selected "Gender" and "DISTRIC_ID" as input variables and these variables are not constant when I view the data (attachment 2). Just for test, I added more columns as input variable but it did not help.
Any idea?
Thanks,
Rasoul
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.