You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/07/27 20:51:44 UTC
[jira] [Resolved] (DRILL-1086) Deleting a .view.drill file will
cause INFORMATION_SCHEMA.`TABLES` to fail
[ https://issues.apache.org/jira/browse/DRILL-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Nadeau resolved DRILL-1086.
-----------------------------------
Resolution: Fixed
> Deleting a .view.drill file will cause INFORMATION_SCHEMA.`TABLES` to fail
> --------------------------------------------------------------------------
>
> Key: DRILL-1086
> URL: https://issues.apache.org/jira/browse/DRILL-1086
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - Information Schema
> Reporter: Norris Lee
> Assignee: DrillCommitter
> Fix For: 0.4.0
>
> Attachments: DRILL-1086.1.patch.txt
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)