cancel
Showing results for 
Search instead for 
Did you mean: 

cds build and deploy to HANA only some tables/views

former_member748
Participant
352

Hello,

There is an option in WebIDE of Build CDS which generates the HANA artifacts and you can select just a couple of table/views and deploy them to HANA. Is this also possible in VSCode using the cds CLI?

I tried with cds deploy --to hana:my-hdi, but this overwrites changes in the same file. For example if I have in a file 2 entities, I modify one and run the command, and a colleague modifies the second entity in the same file and runs the command, my changes will be lost.

But I am expecting a Delta Deployment so that only entities which are changed will be deployed.

Am I missing something or is it not possible?

Thanks!

View Entire Topic
gregorw
Active Contributor
0 Kudos

Hi Stefania,

during development you should only deploy to your own HDI container. The deployment to a consolidated HDI container should happen via a CI/CD pipeline. That way the combination of the two developments will happen during the Git push.

Best Regards
Gregor

former_member748
Participant
0 Kudos

Hello Gregor,

Thanks for your response! I was referring only to development environment in my question. I was looking for a way for more developers to use the same HDI container efficiently because we need the shared data. Are you aware of a way of doing build and deploy to HANA so we don't affect each other?

Thanks,

Stefania