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

Deleting a .view.drill file will cause INFORMATION_SCHEMA.`TABLES` to fail

    XMLWordPrintableJSON

Details

    Description

      If a view is created by "CREATE VIEW .....", the view gets placed into INFORMATION_SCHEMA.`TABLES` as expected. If you go into the file system and delete the .view.drill file, then query SELECT * FROM INFORMATION_SCHEMA.`TABLES`, a null pointer exception will be thrown and nothing will be returned.
      Note that re-creating the deleted file will amend the issue.

      Attachments

        1. DRILL-1086.1.patch.txt
          2 kB
          Hanifi Gunes

        Issue Links

          Activity

            People

              DrillCommitter DrillCommitter
              norrisl Norris Lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: