Skip to main content
orlandoteixeira
Gold ⭐️
Gold ⭐️
Mar 21, 2017 10:58 PM UTC

If SELECT return no rows, "INSERT OVERWRITE" of Hive does not create empty files

  • Oct 5, 2026 9:26 AM UTC
  • 0 replies
  • 5860 views
  • Translate All

In the past, if Select returned no rows, hadoop would still create an empty file. Some customer would use this file to help with their work flow. In https://issues.apache.org/jira/browse/HIVE-13040 this was fixed, because anyone using cloud based solutions could be charged for empty files, so it was determined that hadoop should not write the files.