Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parquet preview fails #7031

Closed
3 tasks done
andrePKI opened this issue Jun 29, 2023 · 1 comment
Closed
3 tasks done

Parquet preview fails #7031

andrePKI opened this issue Jun 29, 2023 · 1 comment
Labels
✅ duplicate Issue or pull request already exists

Comments

@andrePKI
Copy link

Preflight Checklist

Storage Explorer Version

1.30.0

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20230609.2

Platform

Windows

OS Version

Windows Server 2016 1607

Bug Description

Preview Parquet shows 'Unable to preview ...'.
details:
{
"name": "TypeError",
"message": "o.buffer.readUInt32LE is not a function",
"stack": "TypeError: o.buffer.readUInt32LE is not a function\n at ZR (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:736826)\n at Object.QR (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:736928)\n at Tn (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:764741)\n at rD (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:766114)\n at async sb (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:765449)\n at async fb (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:767625)\n at async Mu.readRowGroup (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:763489)\n at async Object.next (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:756357)\n at async ParquetParser.getRecords (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:5046)\n at async getParquetData (file:///C:/Program%20Files/Microsoft%20Azure%20Storage%20Explorer/resources/app/node_modules/@storage-explorer/file-preview/dist/src/Panels/ParquetPreviewPanel/index.js:2:6298)"
}

Steps to Reproduce

  1. Launch Storage Explorer
  2. Connect to Azure services with AAD Authn
  3. Browse to Subscription with the required blob container (ADLS Gen2 with HNS enabled)
  4. Select the blob (....parquet) and click Preview button

Actual Experience

"no data"

Expected Experience

Data preview of the file contents

Additional Context

parquet file is created by Synapse/Spark
parquet file can be read successfully through http://parquet-viewer-online.com/

@MRayermannMSFT
Copy link
Member

Hi @andrePKI , the library we were using to parse Parquet files had some bugs in it. We've been contributing fixes back to the library, and once they ship a new version with our fixes, we'll be shipping that version as well. You can track our progress here: #6990

@MRayermannMSFT MRayermannMSFT added the ✅ duplicate Issue or pull request already exists label Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ duplicate Issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants