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

Minor cleanup in TestMetastoreExpr.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14.0
    • 1.2.0
    • Tests
    • None

    Description

      Here's some minor cleanup in TestMetastoreExpr.
      0. There was an incomplete refactor in ExprBuilder.fn(), where the TypeInfo object was hard-coded to booleanTypeInfo.
      1. I've removed the throws clauses for redundant exceptions.
      2. Expected exceptions have been labelled as ignore.

      As an aside, that ExprBuilder is nifty. It's just the thing to exercise HiveMetastoreClient.listPartitionsByExpr(). I'm whacking this idea for an upcoming fix to HCatClient.dropPartitions().

      Attachments

        1. HIVE-9565.1.patch
          3 kB
          Mithun Radhakrishnan

        Activity

          People

            mithun Mithun Radhakrishnan
            mithun Mithun Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: