Hi,
Issue: During check or activation of decision table error given "invalid column name"
System: AWS Hana SPS07, Studio rev. 70 (Win x.64).
1. Start creation of decision table
Image may be NSFW.
Clik here to view.
2. Add analytic view to data foundation
Image may be NSFW.
Clik here to view.
3. Set attributes, condition and create parameter for action
Image may be NSFW.
Clik here to view.
4. Set 1 condition table entry
Image may be NSFW.
Clik here to view.
5. Upon activation get error "invalid column name"
Image may be NSFW.
Clik here to view.
6. Index server trace file entry
[6176]{-1}[-1/-1] 2014-02-18 09:14:05.538097 w Logger SavepointImpl.cpp(02343) : NOTE: BACKUP DATA needed to ensure recoverability of the database
[6358]{300567}[44/-1] 2014-02-18 09:14:24.889576 i TraceContext TraceContext.cpp(00699) : UserName=SYSTEM, ApplicationUserName=JP, ApplicationSource=csns.dwb.tools.core.internal.destination.ConnectionHandle.createConnection(ConnectionHandle.java:121);csns.dwb.team.internal.jobs.RepositoryJob.run(RepositoryJob.java:220);org.eclipse.core.internal.jobs.Worker.run(Worker.java:53);
[6358]{300567}[44/-1] 2014-02-18 09:14:24.889571 e REPOSITORY rulesCompiler.cpp(02462) : error executing statement CREATE PROCEDURE "_SYS_BIC"."hpl.missioncontrol.models/DT_ACHIEVEMENT_SCORECARD"(OUT returned_tt "_SYS_BIC"."hpl.missioncontrol.models/DT_ACHIEVEMENT_SCORECARD/TT") LANGUAGE SQLSCRIPT READS SQL DATA WITH RESULT VIEW "_SYS_BIC"."hpl.missioncontrol.models/DT_ACHIEVEMENT_SCORECARD/RV" AS
BEGIN
returned_tt = SELECT "MISSIONID" AS "MISSIONID", "VEHICLEID" AS "VEHICLEID", "PILOTID" AS "PILOTID", "CA_RESULT" AS "CA_RESULT", "CONDITIONID" AS "CONDITIONID", CASE WHEN "CONDITIONID" = 'GEN' THEN 0
ELSE 0
END
AS "PA_SCORECARD" FROM "_SYS_BIC"."hpl.missioncontrol.models/AT_ACHIEVEMENT_CONDITION_MESSAGE";
END;
Error : invalid column name: MISSIONID: line 3 col 22 (at pos 313) at ptime/query/checker/check_id.cc:545line: 3 column: 22
7. If I delete attribute MISSIONID and try to re-activate, the system issues error about the next attribute being invalid column name i.e. VEHICLEID.
Any ideas gratefully received, thanks.