Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2229

Unable to save dataframe as carbontable with specified external database path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: sql
    • Labels:
      None
    • Environment:
      dataframe

      Description

      dataFrame.write
      .format("carbondata")
      .option("tableName", "carbon4")
      .option("compress", "true")
      .option("dataBasePath", "/tmp")
      .mode(SaveMode.Overwrite)
      .save()
      sql("show tables").show(false)

       

      but database is getting created at default database

       

      ------------------------

      database tableName isTemporary

      ------------------------

      default carbon4 false

      ------------------------

        Attachments

          Activity

            People

            • Assignee:
              anubhavtarar anubhav tarar
              Reporter:
              anubhavtarar anubhav tarar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: