kedro
kedro copied to clipboard
Fix issue with specifying format for SparkHiveDataSet
Description
The current implementation of SparkHiveDataSet
contains a bug that prevents a user from specifying a save format. This issue is discussed in #1528 .
Development notes
The proposed fix for this is to pop
the format argument if it exists.
A unit test has also been added to assert that the dataset has the required format and that the table can be saved.
Checklist
- [x] Read the contributing guidelines
- [ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
- [ ] Updated the documentation to reflect the code changes
- [x] Added a description of this change in the
RELEASE.md
file - [x] Added tests to cover my changes