Skip to content

Commit 352c1e9

Browse files
authored
DOCS-514 - Parse operators note (#4705)
* Add note * Add tip
1 parent b202fed commit 352c1e9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/cse/schema/parsing-language-reference-guide.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,23 @@ If `<field_name>` isn’t specified, the field dictionary is passed through inst
837837

838838
`r|` syntax can be used here.
839839

840+
:::tip
841+
`TRANSFORM*` operators only work on fields that contain a value, or a subfield within a JSON structure.
842+
843+
Suppose you had the following JSON array:
844+
845+
```
846+
{
847+
"foo":
848+
{
849+
"bar":
850+
{
851+
"field":"value"
852+
```
853+
854+
The `TRANSFORM*` operator must be placed on a subfield that contains a valid string or integer, in this case, `"field"`. Placing it on the top-level field, in this case `"foo"` or `"bar"`, will be ignored by the system.
855+
:::
856+
840857
### TRANSFORM_ALL
841858

842859
Applies `<transfer_stanza_nam>` stanza to all fields (that have already been parsed or created by SET) that match the regular expression.

0 commit comments

Comments
 (0)