You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sangeeta Gulia (JIRA)" <ji...@apache.org> on 2016/11/14 10:19:58 UTC
[jira] [Created] (HIVE-15195) Drop non-existing macro executes
successfully while it must give an error.
Sangeeta Gulia created HIVE-15195:
-------------------------------------
Summary: Drop non-existing macro executes successfully while it must give an error.
Key: HIVE-15195
URL: https://issues.apache.org/jira/browse/HIVE-15195
Project: Hive
Issue Type: Bug
Reporter: Sangeeta Gulia
I have created a macro :
CREATE TEMPORARY MACRO simple_add (x int, y int) x + y;
then i dropped the macro.
> drop temporary macro simple_add;
OK
Time taken: 0.038 seconds
hive>
>
> select simple_add(2,3);
FAILED: SemanticException [Error 10011]: Line 1:7 Invalid function 'simple_add'
then i again tried to drop the same macro and it again executed without any exception:
> drop temporary macro simple_add;
OK
Time taken: 0.016 seconds
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)