Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16308#discussion_r92915851
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala
 ---
    @@ -111,7 +112,8 @@ case class CatalogTablePartition(
        */
       def toRow(partitionSchema: StructType): InternalRow = {
         InternalRow.fromSeq(partitionSchema.map { field =>
    -      Cast(Literal(spec(field.name)), field.dataType).eval()
    +      Cast(Literal(spec(field.name)), field.dataType,
    +        DateTimeUtils.defaultTimeZone().getID).eval()
    --- End diff --
    
    could this change the behavior on how we interpret partition values when 
timezone settings change?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to