See attached. This throws an exception when read:
$debug/parquet_readernation.dict.parquetFilestatistics:
Version: 1CreatedBy: parquet-mrTotalrows: 25NumberofRowGroups: 1NumberofRealColumns: 4NumberofColumns: 4NumberofSelectedColumns: 4Column0: nation_key (INT32)
Column1: name (BYTE_ARRAY)
Column2: region_key (INT32)
Column3: comment_col (BYTE_ARRAY)
--- RowGroup0 ---
--- TotalBytes0 ---
rows: 25---
Column0
, values: 25StatisticsNotSetcompression: UNCOMPRESSED, encodings: uncompressedsize: 125, compressedsize: 125Column1
, values: 25StatisticsNotSetcompression: UNCOMPRESSED, encodings: uncompressedsize: 322, compressedsize: 322Column2
, values: 25StatisticsNotSetcompression: UNCOMPRESSED, encodings: uncompressedsize: 125, compressedsize: 125Column3
, values: 25StatisticsNotSetcompression: UNCOMPRESSED, encodings: uncompressedsize: 2002, compressedsize: 2002nation_keynameregion_keycomment_col0Parqueterror: Unexpectedendofstream.
However, I checked that I can read this file with Impala:
In [13]: hdfs.put('/tmp/nation-dict-test/test.parq', 'nation.dict.parquet')
Out[13]: '/tmp/nation-dict-test/test.parq'In [14]: pf = con.parquet_file('/tmp/nation-dict-test')
In [15]: pf.execute()
Out[15]: nation_keynameregion_key \
00ALGERIA011ARGENTINA122BRAZIL133CANADA144EGYPT455ETHIOPIA066FRANCE377GERMANY388INDIA299INDONESIA21010IRAN41111IRAQ41212JAPAN21313JORDAN41414KENYA01515MOROCCO01616MOZAMBIQUE01717PERU11818CHINA21919ROMANIA32020SAUDIARABIA42121VIETNAM22222RUSSIA32323UNITEDKINGDOM32424UNITEDSTATES1comment_col0haggle. carefullyfinaldepositsdetectslyly... 1alfoxespromiseslylyaccordingtotheregula... 2yalongsideofthependingdeposits. carefully... 3eashangironic, silentpackages. slylyregula... 4yabovethecarefullyunusualtheodolites. fin... 5venpackageswakequickly. regu6refullyfinalrequests. regular, ironi7lplatelets. regularaccountsx-ray: unusual, ... 8ssexcusescajoleslylyacrossthepackages. d... 9slylyexpressasymptotes. regulardepositsha... 10efullyalongsideoftheslylyfinaldependenci... 11nicdepositsboostatopthequicklyfinalrequ... 12ously. final, expressgiftscajolea13icdepositsareblithelyaboutthecarefullyr... 14pendingexcuseshagglefuriouslydeposits. pe... 15rns. blithelyboldcourtsamongthecloselyre... 16s. ironic, unusualasymptoteswakeblithelyr17platelets. blithelypendingdependenciesusef... 18cdependencies. furiouslyexpressnotornissle... 19ularasymptotesareaboutthefuriousmultipli... 20ts. silentrequestshaggle. closelyexpresspa... 21helyenticinglyexpressaccounts. even, final22requestsagainsttheplateletsuseneveracco... 23eansboostcarefullyspecialrequests. account... 24yfinalpackages. slowfoxescajolequickly. q... Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney / @wesm
Related issues:
Original Issue Attachments:
Note: This issue was originally created as PARQUET-816. Please see the migration documentation for further details.
See attached. This throws an exception when read:
However, I checked that I can read this file with Impala:
Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney / @wesm
Related issues:
Original Issue Attachments:
Note: This issue was originally created as PARQUET-816. Please see the migration documentation for further details.