tanishq-chugh commented on code in PR #6762:
URL: https://github.com/apache/hive/pull/6762#discussion_r4003956394
##########
cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java:
##########
@@ -851,7 +851,7 @@ private CommandProcessorResponse
executeDriver(CliSessionState ss, HiveConf conf
String curPrompt = prompt + curDB;
String dbSpaces = spacesForString(curDB);
- while ((line = reader.readLine(curPrompt + "> ")) != null) {
+ while ((line = cli.reader.readLine(curPrompt + "> ")) != null) {
Review Comment:
@sercanCyberVision I think this is a nice improvement as well, even though
Java still compiles happily, this would be a nice design practise.
--
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]