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

    • 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

          People

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

            Dates

              Created:
              Updated: