You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "wenjun ma (Jira)" <ji...@apache.org> on 2020/04/03 18:30:00 UTC

[jira] [Assigned] (HIVE-16350) No Exception when tried to alter table location with invalid uri

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

wenjun ma reassigned HIVE-16350:
--------------------------------

    Assignee: wenjun ma

> No Exception when tried to alter table location with invalid uri
> ----------------------------------------------------------------
>
>                 Key: HIVE-16350
>                 URL: https://issues.apache.org/jira/browse/HIVE-16350
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 1.2.1
>            Reporter: anubhav tarar
>            Assignee: wenjun ma
>            Priority: Trivial
>
> I tried to alter a table location with invalid uri it do not give me any exception
> here are logs
> hive> alter table hivetable set LOCATION 'loc:////home/knoldus/Desktop'
>     > ;
> OK
> but at time of insert it gives me exception
> hive> insert into hivetable values(1,2);
> FAILED: IllegalStateException Error getting FileSystem for loc:/home/knoldus/Desktop: java.io.IOException: No FileSystem for scheme: loc
> should give exception at time of alter table command



--
This message was sent by Atlassian Jira
(v8.3.4#803005)