Using parquet node¶
Example scenario¶
You can get the array object into parquet format.
Procedure¶
To get the array object into parquet format using parquet node, follow these steps:
-
Design the flow as shown below:
-
Edit the function node properties:
- Name: Get array
- Code :
msg.payload = [{ bool: true, num: 1 }, { bool: false, num: 2 }]; msg.schema = { bool: {type: "BOOLEAN"}, num: {type: "DOUBLE"}, }; return msg;
-
Save and execute the flow.
Result¶
The output will be displayed in the debug tab.
Any questions left?
Except where otherwise noted, content on this site is licensed under the MindSphere Development License Agreement.
Last update: April 29, 2022