Skip to content

Incorrect preview of parquet files with decimals #7957

Closed
@ihenry

Description

@ihenry

Preflight Checklist

Storage Explorer Version

1.33.1

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20240410.2

Platform

All

OS Version

Windows 11 & MacOS 14.5

Bug Description

Incorrect preview of parquet files with multiple decimal precision (5,3), (9,5) and (38,6).

Steps to Reproduce

Previewing a parquet file in Azure Storage Explorer containing columns defined with various decimal precision (5,3), (9,5) and Decimal (38,6) shows incorrect results. The file should be previewed as in DBeaver with 0 or 0.xxx as appropriate.
DBeaver with DuckDB shows the following preview
Screenshot 2024-05-24 at 12 58 58

DBeaver with DuckDB Metadata
Screenshot 2024-05-24 at 12 52 55

Azure Storage Explorer 1.33.1
Screenshot 2024-05-24 at 12 52 32

Actual Experience

Expecting to see raw values, but we actually see {"type":"Buffer","data":[0,0,0,0]}

Metadata

Metadata

Assignees

Labels

🪲 bugIssue is not intended behavior

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions