Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14841 Replication - Phase 2
  3. HIVE-15668

change REPL DUMP syntax to use "LIMIT" instead of "BATCH" keyword

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • repl
    • None

    Description

      Currently, REPL DUMP syntax goes:

      REPL DUMP [<dbname>[.<tblname>]] [FROM <eventid> [BATCH <batchSize>]]
      

      The BATCH directive says that when doing an event dump, to not dump out more than batchSize number of events. However, there is a clearer keyword for the same effect, and that is LIMIT. Thus, rephrasing the syntax as follows makes it clearer:

      REPL DUMP [<dbname>[.<tblname>]] [FROM <eventid> [LIMIT <maxEventLimit>]]
      

      Attachments

        1. HIVE-15668.2.patch
          6 kB
          Sushanth Sowmyan
        2. HIVE-15668.patch
          4 kB
          Sushanth Sowmyan

        Activity

          People

            sushanth Sushanth Sowmyan
            sushanth Sushanth Sowmyan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: