ulysses-you commented on PR #5990:
URL: 
https://github.com/apache/incubator-gluten/pull/5990#issuecomment-2149351913

   char type in map type test failed:
   ```
   2024-06-05T08:37:45.5647132Z - char type values should be padded: nested in 
map key *** FAILED ***
   2024-06-05T08:37:45.5647969Z   Results do not match for query:
   2024-06-05T08:37:45.5651830Z   Timezone: 
sun.util.calendar.ZoneInfo[id="America/Los_Angeles",offset=-28800000,dstSavings=3600000,useDaylight=true,transitions=185,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]]
   2024-06-05T08:37:45.5655396Z   Timezone Env: 
   2024-06-05T08:37:45.5655841Z   
   2024-06-05T08:37:45.5656194Z   == Parsed Logical Plan ==
   2024-06-05T08:37:45.5656842Z   'UnresolvedRelation [t], [], false
   2024-06-05T08:37:45.5657342Z   
   2024-06-05T08:37:45.5657687Z   == Analyzed Logical Plan ==
   2024-06-05T08:37:45.5658175Z   i: string, c: map<string,string>
   2024-06-05T08:37:45.5658721Z   SubqueryAlias spark_catalog.default.t
   2024-06-05T08:37:45.5661604Z   +- Project [i#349452, 
map_from_arrays(transform(map_keys(c#349453), lambdafunction(staticinvoke(class 
org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, 
readSidePadding, lambda x#349454, 5, true, false, true), lambda x#349454, 
false)), map_values(c#349453)) AS c#349456]
   2024-06-05T08:37:45.5664361Z      +- Relation 
spark_catalog.default.t[i#349452,c#349453] parquet
   2024-06-05T08:37:45.5665075Z   
   2024-06-05T08:37:45.5665444Z   == Optimized Logical Plan ==
   2024-06-05T08:37:45.5667954Z   Project [i#349452, 
map_from_arrays(transform(map_keys(c#349453), lambdafunction(staticinvoke(class 
org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, 
readSidePadding, lambda x#349454, 5, true, false, true), lambda x#349454, 
false)), map_values(c#349453)) AS c#349456]
   2024-06-05T08:37:45.5670638Z   +- Relation 
spark_catalog.default.t[i#349452,c#349453] parquet
   2024-06-05T08:37:45.5671317Z   
   2024-06-05T08:37:45.5671666Z   == Physical Plan ==
   2024-06-05T08:37:45.5673792Z   Project [i#349452, 
map_from_arrays(transform(map_keys(c#349453), lambdafunction(staticinvoke(class 
org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, 
readSidePadding, lambda x#349454, 5, true, false, true), lambda x#349454, 
false)), map_values(c#349453)) AS c#349456]
   2024-06-05T08:37:45.5676201Z   +- VeloxColumnarToRowExec
   2024-06-05T08:37:45.5679129Z      +- ^(15890) NativeFileScan parquet 
spark_catalog.default.t[i#349452,c#349453] Batched: true, DataFilters: [], 
Format: Parquet, Location: InMemoryFileIndex(1 
paths)[file:/__w/incubator-gluten/incubator-gluten/gluten-ut/spark34/target/s...,
 PartitionFilters: [], PushedFilters: [], ReadSchema: 
struct<i:string,c:map<string,string>>
   2024-06-05T08:37:45.5681556Z   
   2024-06-05T08:37:45.5681908Z   == Results ==
   2024-06-05T08:37:45.5682280Z   
   2024-06-05T08:37:45.5682600Z   == Results ==
   2024-06-05T08:37:45.5683228Z   !== Correct Answer - 1 ==   == Gluten Answer 
- 0 ==
   2024-06-05T08:37:45.5683894Z    struct<>                   struct<>
   2024-06-05T08:37:45.5684472Z   ![1,null] (GlutenSQLTestsTrait.scala:97)
   ```


-- 
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]

Reply via email to