on 02-20-2018 12:48 PM
in the Webide in HANA2 Express i have created a synonym to a table in the "normal" database. it is accessed via a user created service as detailed in the manual (though with added information to database which is still missing there)
i can access the content of the table in the Database Explorer using the synonym in database explorer (accessing the XSA_DEV-<longid>-hdi_db container). i can also do a "select * from "<synonym"
when i try to create a flowgraph to get the contents of the table into a table in my app created by CDS (doing some ETL on the side) i can choose the synonym (explicitly choosing to only find synonyms in this dialog) and everything seems to work - all columns detected and such. when i revisit the datasource i can see that it is said to be DATABASE_TABLE instead of SYNONYM. when i try to build the flowgraph i get an error stating that the datasource is missing it's first defined column.
when i instead try to create a calculationview i can again use this synonym as datasource for the projection as usual, all columns detected, everything without error message. but also here build fails though with the less obvious error message
HDI: 8201003 Database error 2048: : column store error: fail to create scenario: [34012] Internal error during pre-instantiation;Structured Details: <?xml version="1.0" encoding="utf-8"?><createCalculationScenario version="1"><status><message>Internal error during pre-instantiation</message><errorCode>34012</errorCode></status></createCalculationScenario>
what can be done to debug this?
hmm.
as so often is the case the problem sat in front of the computer. by working with the ddl statement i used in classic to create the table i somehow got a new line in the column name as in:
CREATE COLUMN TABLE "TESTLEVELOFUSERSTUPIDITY" (
"
MANDT" TINYINT CS_INT,
"TPLNR" NVARCHAR(50),
"MLANG" NVARCHAR(1),
"TPLKZ" NVARCHAR(5),
"FLTYP" NVARCHAR(1)
);
SELECT * FROM "TESTLEVELOFUSERSTUPIDITY";
SELECT "MANDT" FROM "TESTLEVELOFUSERSTUPIDITY";
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.