HDI: returning multiple deployment errors
Working with SAP HANA Cloud and HDI the tooling stopped at the first error and you had to fix them in the sequence the errors where thrown. All this one by one. This can lead to a lot of cycles that are time consuming and do not support the workflow one had in mind.
With SAP HANA Cloud March 2022 the HDI can now return the first error it can detect per each “dependency branch”.
In this schematic tree we would see 3 errors caused in various depths in the tree.
The HDI works through the individual branches until finished or with error message.
How can you activate this behaviour?
in the /db/package.json file you add to the start script the parameter as:
The default behaviour of HDI remains the same. So no coding that is expecting the previous behaviour is broken. The default of stop_on_error is TRUE.
As you can see in the sample the errors are reflected in Business Application Studio (BAS) with 2 highlighted HDBTABLE definitions.
The new HDI parameter “stop on error” should allow the developer to reduce the cycle times with HDI and allow to find faster and easier typos or other errors within the design time objects.
Help will look like this, but the link is not public at this point in time:
You may be interested in the other parameters as well.
Current version: Q12022
Will it be available on premise at some time ?
Indeed we plan to bring this to HANA on premise as well. Current planing is for SP7. The Roadmap is the official information. I am working to get it into the list.