You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/06/04 19:04:07 UTC
[GitHub] [hive] belugabehr commented on a change in pull request #837: CliDriver skipping through comments
belugabehr commented on a change in pull request #837:
URL: https://github.com/apache/hive/pull/837#discussion_r435486685
##########
File path: cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java
##########
@@ -490,7 +490,7 @@ public CommandProcessorResponse processReader(BufferedReader r) throws IOExcepti
while ((line = r.readLine()) != null) {
// Skipping through comments
- if (! line.startsWith("--")) {
+ if (! line.trim().startsWith("--")) {
qsb.append(line + "\n");
Review comment:
Can you also please change this to...
```
qsb.append(line).append("\n");
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org