create_time>='${yyyy-MM-dd-1d HH:mm:ss}' and create_time<'${yyyy-MM-dd HH:mm:ss}'
// Converts to 13-bit timestamp (milliseconds)TimestampMillis('yyyy-MM-ddTHH:mm:00+0800')TimestampMillis('2023-07-10T00:00:00+0800')TimestampMillis('2023-07-10 00:00:00')TimestampMillis('2023-07-10')// Converts to 10-bit timestamp (seconds)TimestampSeconds('yyyy-MM-ddTHH:mm:00+0800')TimestampSeconds('2023-07-10T00:00:00+0800')TimestampSeconds('2023-07-10 00:00:00')TimestampSeconds('2023-07-10')
Parameters | Description |
Data Source | Available Mongo Data Source. |
Database | Supports selecting or manually entering the database name to be read By default, the database bound to the data source is used as the default database. Other databases need to be manually entered. If the data source network is not connected and the database information cannot be fetched directly, you can manually enter the database name. Data synchronization can still be performed when the Data Integration network is connected. |
Collection | Supports selecting or manually entering the collection to be read. |
Separator | When the field is of array type, use the delimiter to concatenate array contents. |
Filter condition (Optional) | Fill in the corresponding filter statement based on the data type. This statement will serve as the filter condition for the data to be synchronized. |
Advanced Settings (Optional) | You can configure parameters according to business needs. |
Parameters | Description |
Data Destination | Select an available MongoDB data source in the current project. |
Database | Supports selecting or manually entering the database name to be read By default, the database bound to the data source is used as the default database. Other databases need to be manually entered. If the data source network is not connected and the database information cannot be fetched directly, you can manually enter the database name. Data synchronization can still be performed when the Data Integration network is connected. |
Collection | Supports selecting or manually entering the collection to be read. |
Write Mode | Indicates whether to overwrite when writing data for the same primary key. The default business primary key for each row is _id |
Pre-statements | Optional, indicates pre-operations before data synchronization to MongoDB. Ensure the preconditions comply with JSON syntax, such as {"type": "remove"} |
Advanced Settings (Optional) | You can configure parameters according to business needs. |
Mongo Data Type | Internal Types |
int32,int64,bigint | Long |
double,decimal | Double |
string, array,map,list | String |
date,datetime | Date |
boolean | Boolean |
bytes | Bytes |
Internal Types | Mongo Data Type |
Long | int, Long |
Double | double,decimal |
String | string, array |
Date | date,datetime |
Boolean | boolean |
Bytes | bytes |
Was this page helpful?