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

    https://github.com/apache/spark/pull/1118#discussion_r13937999
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/hiveOperators.scala 
---
    @@ -445,7 +445,19 @@ case class NativeCommand(
         if (sideEffectResult.size == 0) {
           context.emptyResult
         } else {
    -      val rows = sideEffectResult.map(r => new GenericRow(Array[Any](r)))
    +      // TODO: Need a better way to handle the result of a native command.
    +      // We may want to consider to use JsonMetaDataFormatter in Hive.
    --- End diff --
    
    That sounds good. Let's merge this first and submit another PR for that. 
(Reason is this should make it into 1.0.1)


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

Reply via email to