CREATE DESCRIPTOR_SOURCE
Last updated
Last updated
Creates (s) from the schemas available in the descriptor source file. When you create a descriptor source in DeltaStream, the system parses the descriptor source, extracts all schemas, and creates them as separate descriptors for you. You can then use these descriptors to set serialization format for .
Supports descriptors.
Name of the descriptor source to be imported. If the name is case sensitive you must wrap it in double quotes; otherwise the system uses the lowercase name.
This clause specifies the .
file
Specifies a local filesystem path from which to import the descriptor(s). Required: Yes
Type: String
Valid values: A valid file path in the current user's local filesystem, prefaced with @
to be picked up as an attachment for the command.
The following creates a descriptor source from the ProtoBuf descriptors file /descriptors/pageviews.desc
on the local filesystem and gives it a recognizable name pageviews
for reference from an entity:
When the descriptor source is imported, all its ProtoBuf descriptors are extracted and can be listed with LIST DESCRIPTORS.