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

Implement UDFs: INSTR and LOCATE

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: UDF
    • Labels:
      None
    • Hadoop Flags:
      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.1.patch
          24 kB
          Min Zhou
        2. HIVE-541.2.patch
          26 kB
          Min Zhou

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: