Consider the following rules and guidelines for MongoDB V2 data types:
•When you configure a mapping to create a MongoDB V2 target at runtime and run the mapping, Data Integration writes the data in transformation data type instead of the original data type.
•When you run a mapping, it succeeds even if the fields are mapped to different data types.
•When you map the primary key with any other key, the mapping fails.