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

MetastoreTransformer is disabled during testing

    XMLWordPrintableJSON

Details

    Description

      all calls are fortified with "isInTest" guards to avoid testing those calls (!@#$#)

      https://github.com/apache/hive/blob/86fa9b30fe347c7fc78a2930f4d20ece2e124f03/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java#L1647

      this causes some wierd behaviour:
      out of the box hive installation creates TRANSLATED_TO_EXTERNAL external tables for plain CREATE TABLE commands
      meanwhile during when most testing is executed CREATE table creates regular MANAGED tables...

      Attachments

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m