Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2493

Allow histogram() function to either return full string value or accept optional max length argument

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Workaround
    • Impala 2.2.4
    • None
    • Backend

    Description

      Hue uses Impala's histogram() function to provide type-ahead assist for scalar columns and nested types with a sample of values.

      Currently strings are truncated to a max_length of 10 chars: http://github.mtv.cloudera.com/CDH/Impala/blob/cdh5-trunk/be/src/exprs/aggregate-functions.cc#L805

      Hue needs the full string values though, is it possible to pass in an option to disable truncation or set a new max length?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jennykim Jenny Kim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: