Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-134

Naming of SQLContext variable is inconsistent in pyspark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.6.0
    • 0.5.0
    • Interpreters

    Description

      In Pyspark, the SQLContext is currently available in the variable name sqlc. This is incosistent with the documentation and with the variable name in scala which is sqlContext.

      sqlContext can be used as a variable for the SQLContext, in addition to sqlc (for backward compatibility)

      Related code:
      https://github.com/apache/incubator-zeppelin/blob/master/spark/src/main/resources/python/zeppelin_pyspark.py#L66

      Attachments

        Activity

          People

            moon Lee Moon Soo
            dafne Dafne van Kuppevelt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified