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

No Exception when tried to alter table location with invalid uri

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:
      None
    • Target Version/s:

      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

            • Assignee:
              Unassigned
              Reporter:
              anubhavtarar anubhav tarar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: