@Override public void close() throws IOException { try { nativeParquetRecordWriter.close( taskAttemptContext ); } catch ( InterruptedException e ) { throw new IllegalArgumentException( "interrupted exception writing parquet ", e ); } } }
@Override public void write( RowMetaAndData row ) { try { nativeParquetRecordWriter.write( null, row ); } catch ( IOException e ) { throw new IllegalArgumentException( "some exception while writing ", e ); } catch ( InterruptedException e ) { throw new IllegalArgumentException( "interrupted exception writing parquet ", e ); } }
return new ParquetRecordWriter<T>( w, writeSupport,
return new ParquetRecordWriter<T>( w, writeSupport,