Dayakar M created HIVE-27490:
--------------------------------
Summary: HPL/SQL says it support default value for parameters but
not considering them when no value is passed
Key: HIVE-27490
URL: https://issues.apache.org/jira/browse/HIVE-27490
Project: Hive
Issue Type: Bug
Components: hpl/sql
Reporter: Dayakar M
Assignee: Dayakar M
HPL/SQL says it support default value for parameters but not considering them
when no value is passed.
{noformat}
CREATE OR replace PROCEDURE test123(a NUMBER DEFAULT -110)
AS
BEGIN
dbms_output.put_line (a);
end;{noformat}
Oracle shows the default value-
{noformat}
SQL> call BDH_HIVE_OWNER.test123();
-110{noformat}
Hive shows the variable name instead of the default value-
{noformat}
call test123();
INFO : a{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)