Hive
  1. Hive
  2. HIVE-6194

HCatSchema is missing type info for deeply nested fields

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.13.0
    • Fix Version/s: None
    • Component/s: HCatalog
    • Labels:
      None

      Description

      When recursively validating field types in HCatBaseStorer#validateSchema(FieldSchema pigField, HCatFieldSchema hcatField, Schema topLevelPigSchema, HCatSchema topLevelHCatSchema) the hcatField parameter will be NULL for some nested fields.

      The easiest way to reproduce this is to add code in this method to throw an exception; then TestHCatLoader will reproduce the issue.

        Issue Links

          Activity

          Eugene Koifman created issue -
          Eugene Koifman made changes -
          Field Original Value New Value
          Link This issue is related to HIVE-5814 [ HIVE-5814 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Eugene Koifman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development