Thanks for the question and using MS Q&A platform.
The issue seems to be with reading the columns from the lookup activity when the source is Oracle SQL.
Here are a few steps to troubleshoot and resolve this issue:
Check the Lookup Activity: Ensure that the query in your lookup activity is correctly fetching the column names from the Oracle database. You can test this query directly in Oracle SQL Developer or any other SQL client to verify it returns the expected results.
Data Type Compatibility: Verify that the data types of the columns in Oracle SQL are compatible with Azure SQL. Sometimes, data type mismatches can cause issues during data movement.
Mapping Data Flow: Use a mapping data flow in ADF to explicitly map the columns from Oracle SQL to Azure SQL. This can help in handling any discrepancies in column names or data types.
Dynamic Content: Ensure that the dynamic content expression @{activity('GetTableColumns').output.value[0].ColumnNames}
is correctly referenced in your pipeline. You might need to debug the pipeline to check if the expression is evaluated correctly.
Integration Runtime: Make sure that the integration runtime used for connecting to Oracle SQL is properly configured and has the necessary permissions to access the Oracle database.
Error Logs: Check the error logs in ADF for any specific error messages that can give you more insights into what might be going wrong.
could you please provide more details about the error messages or the specific steps you're taking,
I hope these steps help you resolve the issue. Please Let me know if issue persists.