Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4714

Hive readme - missing a step to insert a document to create collection

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • drivers
    • None

    Description

      Running the Select statement in the Quickstart example at the URL below gives an error because the collection does not exist yet. You can insert into the collection to create it through the Mongo shell to get around the error.

      Page: https://github.com/mongodb/mongo-hadoop/blob/master/hive/README.md

      I tried to figure out how to run an Insert statement with values in Hive and it actually seemed a bit difficult. The Hive Wiki only showed how to insert from a select statement. It would teach more to run it from Hive but maybe that just isn't done and inserting from MongoDB is fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matt.kalan@mongodb.com Matt Kalan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 46 weeks ago