diff --git a/changes/ce/fix-11172.en.md b/changes/ce/fix-11172.en.md new file mode 100644 index 000000000..5e8effabb --- /dev/null +++ b/changes/ce/fix-11172.en.md @@ -0,0 +1,11 @@ +Fix the `payload` will be duplicated in the below situations: +- Use a `foreach` sentence without the `as` sub-expression and select all fields(use the `*` or omitted the `do` sub-expression) + + For example: + + `FOREACH payload.sensors FROM "t/#"` +- Select the `payload` field and all fields + + For example: + + `SELECT payload.sensors, * FROM "t/#"`