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

JDBC driver not using setMaxRows to avoid running job

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0
    • None
    • None
    • None

    Description

      When using the Hive JDBC driver to run 'select *' and using setMaxRows() to set a limit, Hive will still kick off a batch job (m/r in my case). Not sure if the limit would eventually be applied post job, my application timed out before checking that.

      This is in contrast to running a query like 'select * limit 100000, which avoids the job no matter what the limit.

      The difference can be seen in the hive-server2 log.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aesilberstein Adam Silberstein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: