Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2707

[hive] Allow sample on partitioned tables in strict mode

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.0
    • Fix Version/s: 3.9.0
    • Component/s: con.hive
    • Labels:
      None

      Description

      If you're running hiveserver2 in "strict" mode, you currently can't get a Sample of the data on partitioned tables as hiveserver2 returns an "no partition predicate" error.

      This patch alters the get_sample function to handle the case where the table is partitioned.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ciranor Simon Beale
                Reporter:
                ciranor Simon Beale
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: