Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
HPL/SQL does not support table aliases on column names in cursor loops where as the same works in Oracle's PL/SQL.
This works in Oracle:
CREATE OR replace PROCEDURE test2 AS BEGIN FOR rec IN (select tab.a from test tab) LOOP dbms_output.put_line(rec.a); END LOOP; END; SQL> call test2(); one two
This does not work in Hive -
ERROR : Unhandled exception in HPL/SQL
No other errors are shown
Without alias, it works in Hive:
BEGIN FOR rec IN (select a from test tab) LOOP dbms_output.put_line(rec.a); END LOOP; END;
Attachments
Issue Links
- is related to
-
HIVE-26818 Beeline module misses transitive dependencies due to shading
- Closed
- links to