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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.11.0
    • Fix Version/s: None
    • Component/s: Storage - JSON
    • Labels:
      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

            People

            • Assignee:
              Unassigned
              Reporter:
              prasadns14 Prasad Nagaraj Subramanya
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: