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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]