- Newest
- Most votes
- Most comments
The error you're encountering is likely due to a mismatch between the visual mode configuration and the underlying script generation. When using runtime parameters in AWS Glue Studio's visual mode, it's important to ensure that these parameters are properly defined and passed to the job.
To resolve this issue, try the following steps:
- In the job details panel, go to the "Job details" tab.
- Scroll down to the "Job parameters" section.
- Add a new job parameter with the key "CHARGE_TABLE" (without quotes) and set its value to the name of your table or the parameter you want to use.
This should define the "CHARGE_TABLE" argument that the script is expecting. The visual editor should then be able to correctly generate the script with the runtime parameter.
If the issue persists, you may need to check if there are any discrepancies between the visual editor's configuration and the generated script. Sometimes, manually editing the script can cause such mismatches. In that case, you might need to recreate the node in the visual editor to ensure everything is properly synchronized.
Remember, when using runtime parameters, it's crucial to define them in the job parameters section for the visual mode to work correctly with parameterized values.
Sources
Adding source and target parameters to the AWS Glue Data Catalog node - AWS Glue
Developing and testing AWS Glue job scripts locally - AWS Glue
answered 2 years ago
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 3 years ago
