Skip to content

Commit

Permalink
Remove API that exposes internal catalyst data structures.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Mar 24, 2014
1 parent 9d99cb6 commit 5aa5035
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
@transient
override lazy val analyzer = new Analyzer(catalog, HiveFunctionRegistry, caseSensitive = false)

def tables: Seq[BaseRelation] = {
// TODO: Move this functionallity to Catalog. Make client protected.
val allTables = catalog.client.getAllTables("default")
allTables.map(catalog.lookupRelation(None, _, None)).collect { case b: BaseRelation => b }
}

/**
* Runs the specified SQL query using Hive.
*/
Expand Down

0 comments on commit 5aa5035

Please sign in to comment.