File tree Expand file tree Collapse file tree
parquet-cli/src/test/java/org/apache/parquet/cli/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343import org .apache .parquet .crypto .ParquetCryptoRuntimeException ;
4444import org .apache .parquet .example .data .Group ;
4545import org .apache .parquet .example .data .simple .SimpleGroupFactory ;
46- import org .apache .parquet .format .converter .ParquetMetadataConverter ;
4746import org .apache .parquet .hadoop .ParquetFileReader ;
4847import org .apache .parquet .hadoop .ParquetWriter ;
4948import org .apache .parquet .hadoop .example .ExampleParquetWriter ;
@@ -260,8 +259,10 @@ public void testColumnEncryptedFileWithKeys() throws IOException {
260259 assertEquals (0 , rc );
261260
262261 FileDecryptionProperties decryptionProps = createDecryptionProperties ();
263- ParquetReadOptions options = ParquetReadOptions .builder ().withDecryption (decryptionProps ).build ();
264- InputFile inputFile = HadoopInputFile .fromPath (new Path (columnEncryptedFile .getAbsolutePath ()), new Configuration ());
262+ ParquetReadOptions options =
263+ ParquetReadOptions .builder ().withDecryption (decryptionProps ).build ();
264+ InputFile inputFile =
265+ HadoopInputFile .fromPath (new Path (columnEncryptedFile .getAbsolutePath ()), new Configuration ());
265266 ParquetMetadata footer ;
266267 try (ParquetFileReader reader = ParquetFileReader .open (inputFile , options )) {
267268 footer = reader .getFooter ();
You can’t perform that action at this time.
0 commit comments