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

When creating database by specifying location, .db is not created

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None

    Description

      When I create a database without specifying location:
      e.g. create database test;
      it will get created in /apps/hive/warehouse/ as /apps/hive/warehouse/test.db

      But when I create database by specifying location:
      e.g. create database test_loc location '/addh0010/hive/addh0011/warehouse';
      Database will be created but /addh0010/hive/addh0011/warehouse/test_loc.db does not get created.

      So if user tries to create 2 tables with same name in two different databases at same location. We are not sure if table is created.

      So when database is created with location, .db directory should be created with that database name at that location.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zgl zgl Assign to me
            sourabhpotnis sourabh potnis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment