erenavsarogullari opened a new pull request, #20816:
URL: https://github.com/apache/datafusion/pull/20816

   ## Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   - Closes #.
   
   ## Rationale for this change
   This is follow-up issue for 
https://github.com/apache/datafusion/issues/20371.
   
   Similarly to `SessionContext::parse_capacity_limit` API, 
`SessionContext::parse_duration` API also needs to have following improvements:
   ```
   - Validation for empty or blank duration values,
   - Exposing config name in error messages,
   - Comprehensive test coverage for invalid durations,
   - Updating `datafusion.runtime.list_files_cache_ttl` documentation for other 
allowed settings.
   ```
   
   ## What changes are included in this PR?
   Explained in the first section.
   
   ## Are these changes tested?
   Yes, being extended existing test cases.
   
   ## Are there any user-facing changes?
   Yes, config name has been added to error message when the validation is 
failed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to