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

Implement UDFs: INSTR and LOCATE

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • UDF
    • None
    • Reviewed

    Description

      http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_instr
      http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_locate

      These functions can be directly implemented with Text (instead of String). This will make the test of whether one string contains another string much faster.

      Attachments

        1. HIVE-541.2.patch
          26 kB
          Min Zhou
        2. HIVE-541.1.patch
          24 kB
          Min Zhou

        Issue Links

          Activity

            People

              coderplay Min Zhou
              zshao Zheng Shao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: