drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanifi Gunes (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1086) Deleting a .view.drill file will cause INFORMATION_SCHEMA.`TABLES` to fail
Date Mon, 21 Jul 2014 23:10:39 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hanifi Gunes updated DRILL-1086:
--------------------------------

    Attachment: DRILL-1086.1.patch.txt

> 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: Hanifi Gunes
>         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)

Mime
View raw message