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

The type of CatalogStorageFormat.locationUri should be java.net.URI instead of String

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • SQL
    • None

    Description

      Currently we treat `CatalogStorageFormat.locationUri` as URI string and always convert it to path by `new Path(new URI(locationUri))`

      It will be safer if we can make the type of `CatalogStorageFormat.locationUri` java.net.URI. We should finish the TODO in https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala#L50-L52

      Attachments

        Issue Links

          Activity

            People

              windpiger Song Jun
              cloud_fan Wenchen Fan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: