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

Inconsistent path qualifying between catalog and data operations

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.4, 3.3.2, 3.4.1, 3.5.0
    • 3.5.0
    • SQL
    • None

    Description

      For example

      • CREATE TABLE statement with relative LOCATION will infer schema from files from the directory relative to the current working directory and store the directory relative to the warehouse path. 
      • CTAS statement with relative LOCATION cannot assert empty root path as it checks the wrong path it will finally use.
      • DataframeWriter does not qualify the path before checking

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            yao Kent Yao
            yao Kent Yao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment