ozaaditya
Databricks Partner

In my opinion, the reason for not using both options simultaneously is that the framework would face a logical conflict:

  1. Should it stop reading after the maximum number of files is reached, even if the size limit hasn’t been exceeded?
    Or
  2. Should it stop processing when the size limit is reached, even if the file count is below the limit?

Handling these scenarios would add unnecessary complexity to the framework.