LuciferYang commented on PR #55919:
URL: https://github.com/apache/spark/pull/55919#issuecomment-4545872593
```
SPARK-34817: Read UINT_64 as Decimal from parquet:
org.apache.spark.sql.execution.datasources.parquet.ParquetIOSuite
org.scalatest.exceptions.TestFailedException:
Results do not match for query:
Timezone:
sun.util.calendar.ZoneInfo[id="America/Los_Angeles",offset=-28800000,dstSavings=3600000,useDaylight=true,transitions=311,lastRule=java.util.SimpleTimeZone[id=America/Los_Angeles,offset=-28800000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]]
Timezone Env:
== Parsed Logical Plan ==
UnresolvedDataSource format: parquet, isStreaming: false, paths: 1 provided
== Analyzed Logical Plan ==
a: decimal(20,0)
Relation [a#1073655] parquet
== Optimized Logical Plan ==
Relation [a#1073655] parquet
== Physical Plan ==
*(1) ColumnarToRow
+- FileScan parquet [a#1073655] Batched: true, DataFilters: [], Format:
Parquet, Location: InMemoryFileIndex(1
paths)[file:/home/runner/work/spark/spark/target/tmp/spark-3d5f4b5f-6812-4791...,
PartitionFilters: [], PushedFilters: [], ReadSchema: struct<a:decimal(20,0)>
== Results ==
== Results ==
!== Correct Answer - 1006 == == Spark Answer - 1006 ==
!struct<> struct<a:decimal(20,0)>
```
The failed tests are likely related to this PR. Could you fix them first?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]