Hive
  1. Hive
  2. HIVE-1877

Add java_method() as a synonym for the reflect() UDF

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.9.0
    • Component/s: UDF
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      java_method() is a synonym for reflect()

      Description

      HIVE-471 added the reflect() UDF which allows people to invoke static Java methods from within HQL
      queries. In my opinion the name is confusing since it describes how the UDF works instead of what
      it does. I propose changing the name of (or providing a synonym for) the UDF to something like
      'invoke_method' or 'java_method', or something similar. I'm open to suggestions.

      1. HIVE-1877.3.patch.txt
        10 kB
        Zhenxiao Luo
      2. HIVE-1877.2.patch.txt
        12 kB
        Carl Steinbach
      3. HIVE-1877.1.patch.txt
        11 kB
        Carl Steinbach

        Issue Links

          Activity

          Carl Steinbach created issue -
          Carl Steinbach made changes -
          Field Original Value New Value
          Link This issue is related to HIVE-471 [ HIVE-471 ]
          Carl Steinbach made changes -
          Attachment HIVE-1877.1.patch.txt [ 12467347 ]
          Carl Steinbach made changes -
          Summary Change the name of the reflect() UDF to java_method() Add java_method() as a synonym for the reflect() UDF
          Carl Steinbach made changes -
          Attachment HIVE-1877.2.patch.txt [ 12467348 ]
          Carl Steinbach made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.7.0 [ 12315150 ]
          Assignee Carl Steinbach [ cwsteinbach ]
          Amareshwari Sriramadasu made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Carl Steinbach made changes -
          Assignee Carl Steinbach [ cwsteinbach ] Zhenxiao Luo [ zhenxiao ]
          Zhenxiao Luo made changes -
          Attachment HIVE-1877.3.patch.txt [ 12508472 ]
          Zhenxiao Luo made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Release Note java_method() is a synonym for reflect()
          Carl Steinbach made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 0.9.0 [ 12317742 ]
          Resolution Fixed [ 1 ]
          Ashutosh Chauhan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Zhenxiao Luo
              Reporter:
              Carl Steinbach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development