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

Use varbinary instead of longvarbinary to store min and max column values in column stats schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • Metastore, Statistics
    • None

    Description

      JDBC type longvarbinary maps to BLOB SQL type in some databases. Storing min and max column values for numeric types takes up 8 bytes and hence doesn't require a BLOB. Storing these values in a BLOB will impact performance without providing much benefits.

      Attachments

        Issue Links

          Activity

            People

              shreepadma Shreepadma Venugopalan
              shreepadma Shreepadma Venugopalan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: