Hi,
I have created a stored procedure and using HANA Web based Development Editor Rev69.
When I include "Execute Immediate" in the procedure I get the following Error, If I comment the line, the procedure is activating fine,
I even tried
EXECUTE IMMEDIATE 'select * from dummy'; which is also giving me the same error.
Error while activating:
Could not create catalog object: column store error; [34011] failed to save calculation scenario : The following errors occured: Inconsistent calculation model (34011) Details (Errors): - CalculationNode ($$P5$$) -> operation (CustomLOp): Input table 'P1' has wrong type for column 'BASE_PERIOD': expected '(Null)String' from the model, but was 'Date' in the signature of the main function. Object potentially broken due to transaction rollback.exception 40177: repository/base/activation/activator.cpp:835 Object potentially broken due to transaction rollback.
Butwhen I run the same procedure from HANA Studio, It is not throwing any errors .
The reason Im using Web Based editor is none of the users have update privilege, so when I create procedure using Web-based editor , the owner will be _SYS_REPO and _SYS_REPO have the update privilege to all the tables.
I would appreciate if anyone have any comments on this issue.
Thanks,