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

Unhandled IllegalFormatException in serializer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Contrib
    • None

    Description

      In RegexSerDe's serialize method, a MissingFormatArgumentException is caught when formatting the output string, and a there are not enough arguments. However, it does not handle the case where the format string contains invalid format string syntax (e.g. %y) or has mismatching types. The attached patch provides a clean error message for this exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            genelkim Gene Kim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: