Github user chenghao-intel commented on the pull request:

    https://github.com/apache/spark/pull/3501#issuecomment-65336693
  
    Hive seems only ignore the lines start with "--" when reading SQL script 
from stream / file.
    
    
https://github.com/apache/hive/blob/branch-0.13/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java#L445
    
    It still be nice if we support more powerful comment filtering, the concern 
is maintain the code seems not that easy, for example, what about if query like:
    ```
    SELECT key, value FROM src where value like "_--##";
    ```
    Build an escaping probably make thing more complicated.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to