spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenghao-intel <>
Subject [GitHub] spark pull request: [SPARK-9683][SQL] copy UTF8String when convert...
Date Fri, 07 Aug 2015 06:59:33 GMT
Github user chenghao-intel commented on a diff in the pull request:
    --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/FromUnsafe.scala
    @@ -52,6 +53,8 @@ case class FromUnsafe(child: Expression) extends UnaryExpression
           new GenericArrayData(result)
    +    case StringType => value.asInstanceOf[UTF8String].clone()
    --- End diff --
    Yes, I know, I assume we need to handle the top data type in `StringType` also, otherwise,
it still will cause confusing if people call the `FromUnsafe` to get the `StringType` of data.
    I mean we'd better add the `StringType` support in

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message