Synpase - Copy columns with special characters
I want to copy data from a source (in this case SAPHANA) where the columns have a dot in them. The copy activity fails when the multiple columns are queried and the part before the dot is the same.
Example:
select col1, col1.test from sourceTable
Error message:
{
"errorCode": "2100",
"message": "Failure happened on 'Source' side. ErrorCode=InvalidParameter,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The value of the property '' is invalid: 'Can not add property col1 to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.'.,Source=,''Type=System.ArgumentException,Message=Can not add property col1 to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.,Source=Newtonsoft.Json,'",
"failureType": "UserError",
"target": "Lookup1",
"details": []
}
Workaround:
When aliasing the columns the copy activity is succesfull.
--> select col1, col1.test as test from sourceTable
Question:
How can I copy the data without alias the columns?