Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 04:12 AM
This happens because Databricks' Delta Sharing client performs a two-phase query planning process:
First request sent without predicateHints or limitHints and its goal is to fetch the basic metadata -> the schema, partitioning info, statistics, etc.
Second request (actual query planning) is sent with predicateHints and limitHints and the actual data access request, incorporating pruning logic and filters.
Thus, ideally we should not ignore the first request.