You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vikram Ahuja (Jira)" <ji...@apache.org> on 2023/01/03 05:34:00 UTC

[jira] [Created] (HIVE-26900) Error message not representing the correct line number with a syntax error in a HQL File

Vikram Ahuja created HIVE-26900:
-----------------------------------

             Summary: Error message not representing the correct line number with a syntax error in a HQL File
                 Key: HIVE-26900
                 URL: https://issues.apache.org/jira/browse/HIVE-26900
             Project: Hive
          Issue Type: Bug
            Reporter: Vikram Ahuja


When a wrong syntax is added in a HQL file, the error thrown by beeline while running the HQL file is having the wrong line number.  The line number and even the position is incorrect. Seems like parser is not considering spaces and new lines and always throwing the error on line number 1 irrespective of what line the error is on in the HQL file



--
This message was sent by Atlassian Jira
(v8.20.10#820010)