Skip to Content
0
Jun 01, 2020 at 12:00 PM

Hana Database "Array types are not allowed as table types"

347 Views

Hello Everyone!

I am writing CDS code for an entity, I'm trying to have a column named skill of type array. But when compiling it says.

"Array types are not allowed as table types"

in this documentation : https://cap.cloud.sap/docs/guides/domain-models. They have mentioned the use of array of.

Am I doing something wrong? If I am can you set on right direction ?

Thanks.

entity users: managed{
	key ID: UUID @odata.Type:'Edm.String';
	user_id : String not null;
	skills : array of String(50);
};