tMilvusOutput
Executes the action defined on the collection in the Milvus database.
The component in this framework is available in all Talend products with Big Data and in Talend Data Fabric.
tMilvusInput Standard properties
These properties are used to configure tMilvusOutput running in the Standard Job framework.
The Standard tMilvusOutput component belongs to the Databases family.
Basic settings
Use existing connection |
Select this check box and in the Component List drop-down list, select the desired connection component to reuse the connection details you already defined. |
Schema and Edit Schema |
A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
Click Sync columns to retrieve the schema from the previous component connected in the Job. This component supports dynamic schema when inserting documents to a collection. |
Collection | Enter the name of the collection in the Milvus database, or click the [...] button next to the corresponding field to fetch the available collections and select the desired one. |
Operation | Select the type of operation you want to perform on the collection data (insert, upsert, or delete). |
Advanced settings
tStatCatcher Statistics | Select this check box to collect the log data at the component level. |
Max batch size | Specify the maximum number of records that can be processed in a batch. |
Partition | Select this check box to perform the data operation in partitions. Enter the name, in double quotation marks, of the partition column of the Milvus table you want to perform the operation on, or click the [...] button next to the corresponding field to select the desired one. You can only define one value. |
Global Variables
Global Variables |
NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer. ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it. For more information about variables, see Using contexts and variables. |
Usage
Usage rule |
|