Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Implemented
-
None
-
None
-
None
Description
Hive supports select current database using the following sql:
select current_database()
It'll involve Hive's 'GenericUDFCurrentDatabase'in run time, in this udf, it will try to call '
SessionState.get().getCurrentDatabase()', but we has closed the SessionState before excuting.
Attachments
Issue Links
- links to