Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16350

No Exception when tried to alter table location with invalid uri

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.2.1
    • None
    • CLI
    • None

    Description

      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

      Attachments

        Activity

          People

            wenjunma003 wenjun ma
            anubhavtarar anubhav tarar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: