Uploaded image for project: 'Spark Connector'
  1. Spark Connector
  2. SPARK-305

Overwritting a database after reading from it does not work

      The following does not work:

      1. Reading from a database into a pyspark df
      2. Performing some modifications on df
      3. Overwriting that same database with df

      In the end, the databse whould contain the updated version of df, but it is always blank, as the attached code snippet illustrates.

       

        1. snippet.py
          0.6 kB
          Bernardo Cortez

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            bernardo.cortez@datafordeals.com Bernardo Cortez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: