Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16713

Remove wrong judgments of single and double quotes in "--" comments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • None
    • None

    Description

      single quote in "--" comments will lead to parse exception
      e.g. sql files which contain the following:
      select --...user's...
      count from aa;
      will regard the single quote in comment "user's" as a quote in sql statement. So ";" after aa will be regarded as a ";" in single quote and will not be split by the parser.

      Attachments

        Activity

          People

            Liu765940375 Liu Chunxiao
            Liu765940375 Liu Chunxiao
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: