-
Notifications
You must be signed in to change notification settings - Fork 2k
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
This is follow-up issue for #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:
SET datafusion.runtime.list_files_cache_ttl = ' '
Current:
DataFusion error: Error during planning: Failed to parse number from duration ' '
New:
DataFusion error: Error during planning: Duration should not be empty or blank for 'datafusion.runtime.list_files_cache_ttl'
- Exposing config name in error messages,
- Comprehensive test coverage for invalid durations,
- Updating
datafusion.runtime.list_files_cache_ttldocumentation for other allowed settings.
Describe the solution you'd like
Explained by first section.
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request