You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/07 00:25:00 UTC
[jira] [Work logged] (HIVE-26259) Alter Function does not update resource uris
[ https://issues.apache.org/jira/browse/HIVE-26259?focusedWorklogId=806552&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-806552 ]
ASF GitHub Bot logged work on HIVE-26259:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Sep/22 00:24
Start Date: 07/Sep/22 00:24
Worklog Time Spent: 10m
Work Description: github-actions[bot] closed pull request #3316: HIVE-26259: Alter Function should also update resource uris
URL: https://github.com/apache/hive/pull/3316
Issue Time Tracking
-------------------
Worklog Id: (was: 806552)
Time Spent: 1h 40m (was: 1.5h)
> Alter Function does not update resource uris
> --------------------------------------------
>
> Key: HIVE-26259
> URL: https://issues.apache.org/jira/browse/HIVE-26259
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 3.1.2
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-2
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> *Bug Description:*
> The jar of Hive permanent UDF can be loaded based on the resource uris, but we encountered an issue after changing the resource uris through spark-sql:
> {code:sql}
> CREATE OR REPLACE FUNCTION test_db.test_udf AS 'com.xxx.xxx'
> USING JAR 'hdfs://path/to/jar';
> {code}
> Then when we use the UDF `test_db.test_udf`, an error occured like this:
> {code:sh}
> Error in query: Can not load class 'com.xxx.xxx' when registering the function 'test_db.test_udf'...
> {code}
> *Root Cause:*
> Hive metastore does not update resource uris while executing `alter_function()`, which should be included and will not make any side effect.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)