-
Notifications
You must be signed in to change notification settings - Fork 6
MLE-24402 Removing deprecated fileRows.documentType option #555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the deprecated spark.marklogic.write.fileRows.documentType option that was deprecated in version 2.3.0, replacing it with the unified spark.marklogic.write.documentType option. Additionally, it addresses compiler warnings and enables stricter compilation settings to prevent future warnings.
- Removed deprecated
WRITE_FILE_ROWS_DOCUMENT_TYPEoption and related code - Updated tests and documentation to use
WRITE_DOCUMENT_TYPEinstead - Added compiler flags to treat warnings as errors and fixed existing warnings
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| WriteFileRowsTest.java | Updated test methods to use new option and removed deprecation annotations |
| AbstractIntegrationTest.java | Fixed generic type warning in method signature |
| marklogic-spark-messages.properties | Removed deprecated option from properties file |
| WriteContext.java | Removed deprecated method for handling old option |
| FileRowConverter.java | Removed deprecated option handling and updated comment |
| Options.java | Removed deprecated constant definition |
| build.gradle | Added compiler flags for warnings and fixed property assignment warnings |
| writing.md | Updated documentation to reference new option |
| generic-file-support.md | Updated documentation to reference new option |
| configuration.md | Updated configuration table with new option |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Copyright Validation Results ⏭️ Skipped (Excluded) Files
✅ Valid Files
✅ All files have valid copyright headers! |
ad960a6 to
4a658d7
Compare
4a658d7 to
b2168f5
Compare
BillFarber
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming the connection failure in the tests is transitory.
Deprecated in 2.3.0, can be removed for 3.0.0
b2168f5 to
0d2610d
Compare
|





Deprecated in 2.3.0, can be removed for 3.0.0