Skip to content

Commit

Permalink
Revert "[SPARK-17369][SQL] MetastoreRelation toJSON throws AssertExce…
Browse files Browse the repository at this point in the history
…ption due to missing otherCopyArgs"

This reverts commit 7b1aa21.
  • Loading branch information
yhuai committed Sep 6, 2016
1 parent dd27530 commit f56b70f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private[hive] case class MetastoreRelation(
Objects.hashCode(databaseName, tableName, alias, output)
}

override protected def otherCopyArgs: Seq[AnyRef] = catalogTable :: client :: sparkSession :: Nil
override protected def otherCopyArgs: Seq[AnyRef] = catalogTable :: sparkSession :: Nil

private def toHiveColumn(c: CatalogColumn): FieldSchema = {
new FieldSchema(c.name, c.dataType, c.comment.orNull)
Expand Down

This file was deleted.

0 comments on commit f56b70f

Please sign in to comment.