Skip to content

add 'spark_session' as alias for 'hive_context' (Spark 2.0.0) #12

Description

@kevinushey

With Spark 2.0.0, the Spark session / SQL context / hive context have all been amalgamated into a single object. Right now, hive_context() returns that:

> hive_context(sc)
<jobj[8]>
  class org.apache.spark.sql.SparkSession
  org.apache.spark.sql.SparkSession@65b602ec

But we should be able to access this with a plain spark_session(sc) call.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions