UPDATE ENTITY
Syntax
UPDATE ENTITY entity_name
[IN STORE store_name]
[WITH (entity_parameter = value [, ...])];Description
Updates a Data Store object or entity with the entity_parameter. You can only update logical-layer parameters of an entity after it's been created. (Logical-layer parameters are the ones that allow DeltaStream to operate on the entity.) To update physical-layer parameters, you must recreate an entity. See DROP ENTITY and CREATE ENTITY.
Arguments
entity_name
The name of the existing entity to update. If the name is case sensitive you must wrap it in double quotes; otherwise the system uses the lower case name.
IN STORE store_name
Optionally, update the entity in a specific store. If the name is case sensitive you must wrap it in double quotes; otherwise the system uses the lower case name.
WITH (entity_parameter = value [, …])
Optionally, this clause specifies Entity Parameters.
Entity Parameters
key.descriptor
A qualified descriptor name used to decode a record's key, if applicable. Clear the descriptor by specifying NULL.
Required: No
Default value: None
Type: String
Valid values: See LIST DESCRIPTORS
value.descriptor
A qualified descriptor name used to decode a record's value. Clear the descriptor by specifying NULL.
Required: No
Default value: None
Type: String
Valid values: See LIST DESCRIPTORS
Examples
Add descriptors to a Kafka topic
The following updates the key and value descriptors for the entity transactions in the user's default store, demostore:
Add descriptor to a Kinesis data stream
The following updates the descriptor for the entity pageviews in the store, kinesis_store:
Remove descriptors from a Kafka topic
The following sets the key and value descriptors for the entity transactions in the user's default store to be NULL:
Add value descriptor to entity in a specific Kafka store
The following sets the value descriptor for the entity xActs in a specific store, OtherStore:
Last updated

