I want to load multiple tables from an Oracle db using DataFusion, I am using "Multiple Database Tables".
If I use normal Oracle source everything works fine but when I use the Multiple Database I get an error "Output records have not been generated. Please verify your logic or try sending more data.". I think there is an error in my configuration but I can't find it. I set the jdbc string and plugin and I am using Table Allow List leaving all the fields empty. I can not find any example of using Multiple Database to load Oracle, is there an issue with Oracle?
Solved! Go to Solution.
There is no inherent issue with using the "Multiple Database Tables" source to load Oracle data in Cloud Data Fusion. The error message you're encountering suggests that the source isn't generating any data. This could be attributed to several reasons:
To address this, consider the following steps:
Additional troubleshooting steps:
Enabling "Allow flexible schemas in Output" in my sink "BigQuery multi table" solved the issue.
There is no inherent issue with using the "Multiple Database Tables" source to load Oracle data in Cloud Data Fusion. The error message you're encountering suggests that the source isn't generating any data. This could be attributed to several reasons:
To address this, consider the following steps:
Additional troubleshooting steps:
Enabling "Allow flexible schemas in Output" in my sink "BigQuery multi table" solved the issue.
I'm encountering an issue while attempting to fetch data from multiple tables within an Oracle database using DataFusion's 'Multiple Database Tables' feature. Strangely, when I employ a standard Oracle data source, everything functions as expected. However, as soon as I switch to the 'Multiple Database' approach, an error crops up stating: 'Output records have not been generated. Kindly double-check your logic or attempt to send more data.' I'm inclined to believe that the error might stem from a configuration misstep on my part, though I'm struggling to pinpoint it. In my setup, I've configured the JDBC string and plugin appropriately, and I've opted for a Table Allow List configuration with all fields left empty. My attempts to locate an example of using 'Multiple Database' for loading Oracle databases have been fruitless so far. Could there possibly be an inherent compatibility issue between Oracle and the 'Multiple Database' approach?
It's improbable that there's an inherent compatibility issue between Oracle and Data Fusion's Multiple Database approach. The error message "Output records have not been generated. Please verify your logic or try sending more data." indicates that the Multiple Database Tables source isn't producing any data, which could stem from various factors.
Table Allow List: If the Table Allow List
field is left empty, Data Fusion might attempt to load all tables from the database, which might not be your intention. To address this, specify the desired tables by entering their names in the Table Allow List
field.
Query Field: An empty Query
field means Data Fusion will resort to a default query, which might not align with your requirements. Ensure you provide a specific query in the Query
field to fetch the desired data.
Validation: Utilize the Validate
button within the Data Fusion UI to ascertain the syntax correctness of your query.
If, after these checks, the issue persists, it's plausible that there's a configuration mishap with the Multiple Database Tables source. Consider the following steps: