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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to