Hi @Shraddha Choudhary
Greetings & Welcome to the Microsoft Q&A forum! Thank you for sharing your query.
Thank you for the clarification.
Since you're not using Data Flow and the Copy Activity is still interpreting the string value "6E12" as a numeric value despite the mapping being set to String, here are a few alternative approaches you can consider:
Double-check the source dataset configuration in ADF. Ensure that the dataset is set up correctly to read the XML file and that there are no conflicting settings that might affect data type interpretation.
Even though the value is surrounded by quotes, ADF might still interpret it as a numeric value due to its format. Try escaping the quotes in the XML (e.g., \"6E12\"
) to see if it forces ADF to treat it as a string.
If you're using XML as your source, there could be an issue with how the XML is parsed. One way to test is to try reading from a flat file source (if possible) and see if the same issue occurs. This could help isolate whether it's an XML parsing issue specifically or an issue with the Copy Activity itself.
For more details refer: Schema and data type mapping in copy activity
Data type mapping in a copy activity
I hope this information helps.
Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.