Set primary keys in the Visual editor within the Column compartment of the delta stream, window, and Flex operator shapes.
Multiple columns can be designated as primary keys. In the Visual
editor, primary keys appear as

icons. Deduced primary keys are displayed as

icons.
Deduced keys are calculated when the
PRIMARY KEY DEDUCED
flag is set for the target element.
Note: Only delta streams and windows
support PRIMARY KEY DEDUCED. You can modify the
deduced key property for these elements from the Properties view.
The ability
to set key columns and view key column icons as described here does not apply when using
column expressions.