Reuse sqlContext when creating new dataframes

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 0.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, sqlContext.read.option("uri", inputUri).mongo() passes the the spark context to MongoRDD and creates a new SqlContext.

      The existing one can be reused.

              Assignee:
              Unassigned
              Reporter:
              Ross Lawley
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: