Check for and remove any joins, calculated fields, or hidden dependencies in the dataset editor. If you’re unable to remove the datasource using standard editing options due to errors, create a new dataset using only the Athena source and replace/re-point your analyses to this new dataset.
Please refer to the below community post this might be helpful for you.