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

replace isArray() calls and remove LOG.isInfoEnabled() in Operator.forward()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • None
    • None

    Description

      Small changes:
      In my profiling, isArray() is kind of expensive, we should avoid to call it.
      Also LOG.isInfoEnabled() is called in every operator's forward() method. We should only call it once.

      Attachments

        1. hive-1469.1.patch
          4 kB
          He Yongqiang

        Activity

          People

            he yongqiang He Yongqiang
            he yongqiang He Yongqiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: