ayushtkn commented on PR #5117:
URL: https://github.com/apache/hive/pull/5117#issuecomment-1984187188

   this functionallity is already there just launch beeline like
   ```
   beeline -u 'jdbc:hive2://localhost:10000/' --showDbInPrompt=true
   ```
   
   ```
   ayushsaxena@ayushsaxena docker %  docker exec -it hiveserver2 beeline -u 
'jdbc:hive2://localhost:10000/' --showDbInPrompt=true
   Connecting to jdbc:hive2://localhost:10000/
   Connected to: Apache Hive (version 4.1.0-SNAPSHOT)
   Driver: Hive JDBC (version 4.1.0-SNAPSHOT)
   Transaction isolation: TRANSACTION_REPEATABLE_READ
   Beeline version 4.1.0-SNAPSHOT by Apache Hive
   0: jdbc:hive2://localhost:10000/ (default)> use newDb;
   No rows affected (0.076 seconds)
   0: jdbc:hive2://localhost:10000/ (newDb)> 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to