Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5719

Join query on a non existing column in a json file runs longer than usual

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11.0
    • None
    • Storage - JSON
    • None

    Description

      1) Join query on two json files
      Column exists

      select t.p_partkey, t1.ps_partkey from dfs.`testData/part.json` as t RIGHT JOIN dfs.`testData/partsupp.json` as t1 ON t.p_partkey = t1.ps_partkey;
      

      Columns doesnt exist (The part_json file has no key by name partkey)

      select t.partkey, t1.ps_partkey from dfs.`testData/part.json` as t RIGHT JOIN dfs.`testData/partsupp.json` as t1 ON t.partkey = t1.ps_partkey;
      

      part.json & partsupp.json - tpch sf1 dataset

      Time taken when-
      1) column exists in the file - 20secs
      2) column doesnt exist in the file - 15mins

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            prasadns14 Prasad Nagaraj Subramanya

            Dates

              Created:
              Updated:

              Slack

                Issue deployment