Changes

Summary

  1. Improve error-handling in "ParquetFileUtils.writeToParquet()" to avoid the rare-case were zero records are written to a parquet-file which is then uploaded to HDFS and loaded into the impala-table and causes issues in sql-queries, until all parquet files of the table are merged at a later stage. (details)
Commit e8fd1c58ccaff2d6dfb12b29b73a09466f63ce6e by Lampros Smyrnaios
Improve error-handling in "ParquetFileUtils.writeToParquet()" to avoid the rare-case were zero records are written to a parquet-file which is then uploaded to HDFS and loaded into the impala-table and causes issues in sql-queries, until all parquet files of the table are merged at a later stage.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/ParquetFileUtils.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/BulkImportServiceImpl.java (diff)