Skip to content

Commit

Permalink
Revert "[SPARK-34235][SS] Make spark.sql.hive as a private package"
Browse files Browse the repository at this point in the history
This reverts commit dca7620.
  • Loading branch information
HyukjinKwon committed Jan 26, 2021
1 parent 82da778 commit 545ab05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ object Unidoc {
.map(_.filterNot(_.getCanonicalPath.contains("org/apache/spark/sql/catalyst")))
.map(_.filterNot(_.getCanonicalPath.contains("org/apache/spark/sql/execution")))
.map(_.filterNot(_.getCanonicalPath.contains("org/apache/spark/sql/internal")))
.map(_.filterNot(_.getCanonicalPath.contains("org/apache/spark/sql/hive")))
.map(_.filterNot(_.getCanonicalPath.contains("org/apache/spark/sql/hive/test")))
.map(_.filterNot(_.getCanonicalPath.contains("org/apache/spark/sql/catalog/v2/utils")))
.map(_.filterNot(_.getCanonicalPath.contains("org/apache/hive")))
.map(_.filterNot(_.getCanonicalPath.contains("org/apache/spark/sql/v2/avro")))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

package org.apache.spark.sql.hive

import java.net.URI

import org.apache.spark.annotation.Unstable
import org.apache.spark.sql._
import org.apache.spark.sql.catalyst.analysis.{Analyzer, ResolveSessionCatalog}
import org.apache.spark.sql.catalyst.catalog.ExternalCatalogWithListener
Expand All @@ -37,6 +36,7 @@ import org.apache.spark.sql.internal.{BaseSessionStateBuilder, SessionResourceLo
/**
* Builder that produces a Hive-aware `SessionState`.
*/
@Unstable
class HiveSessionStateBuilder(
session: SparkSession,
parentState: Option[SessionState],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ package org.apache.spark.sql
* - Using HiveQL to express queries.
* - Reading metadata from the Hive Metastore using HiveSerDes.
* - Hive UDFs, UDAs, UDTs
*
* Note that this is a private package. All classes in this package are considered an internal API
* to Spark and are subject to change between minor releases.
*/
package object hive

0 comments on commit 545ab05

Please sign in to comment.