[jira] [Commented] (HIVE-20167) apostrophe in midline comment fails with ParseException
[ https://issues.apache.org/jira/browse/HIVE-20167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554642#comment-16554642 ] Andrew Sherman commented on HIVE-20167: --- OK it is a bit more complex. This code in a .q file does fail: {{select 'hello'; -- testing hive's stomach for apostrophes}} {{;}} but this is partly an artifact of QTestUtil (i.e. test infrastructure). I can run that same code from a hue client and it works. The different clients (BeeLine, Hive cli, qtests) do some work to split commands up before executing them and this is super-annoying and complex code. > apostrophe in midline comment fails with ParseException > --- > > Key: HIVE-20167 > URL: https://issues.apache.org/jira/browse/HIVE-20167 > Project: Hive > Issue Type: Bug > Components: CLI >Affects Versions: 2.3.2 > Environment: Observed on an AWS EMR cluster. > Hive cli, executing script from bash with "hive -f ..." (not interactive). > >Reporter: Trey Fore >Priority: Minor > > This line causes a ParseException: > {{ , member_id string -- standardizing from client's > memberID}} > When the apostrophe is removed, leaving: > {{ , member_id string -- standardizing from clients > memberID}} > the line is parsed correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20167) apostrophe in midline comment fails with ParseException
[ https://issues.apache.org/jira/browse/HIVE-20167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554394#comment-16554394 ] Trey Fore commented on HIVE-20167: -- Don't ya love it when errors defy reproduction? This morning I can get this to fail on two different clusters: {{select 'hello' -- testing hive's stomach for apostrophes}} {{;}} while {{select 'hello' -- testing hives stomach for apostrophes}} {{;}} runs fine. Maybe a build-specific issue? (These two clusters are probably running identical stacks.) At any rate, it's not causing great grief. And if no one else is seeing it, I think it's good candidate for dynamic procrastination. Thanks for checking Andrew. > apostrophe in midline comment fails with ParseException > --- > > Key: HIVE-20167 > URL: https://issues.apache.org/jira/browse/HIVE-20167 > Project: Hive > Issue Type: Bug > Components: CLI >Affects Versions: 2.3.2 > Environment: Observed on an AWS EMR cluster. > Hive cli, executing script from bash with "hive -f ..." (not interactive). > >Reporter: Trey Fore >Priority: Minor > > This line causes a ParseException: > {{ , member_id string -- standardizing from client's > memberID}} > When the apostrophe is removed, leaving: > {{ , member_id string -- standardizing from clients > memberID}} > the line is parsed correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20167) apostrophe in midline comment fails with ParseException
[ https://issues.apache.org/jira/browse/HIVE-20167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16553569#comment-16553569 ] Andrew Sherman commented on HIVE-20167: --- I tried to reproduce with {{create table andrew (}} {{a int -- here's a comment}} {{);}} but that seems to work OK. > apostrophe in midline comment fails with ParseException > --- > > Key: HIVE-20167 > URL: https://issues.apache.org/jira/browse/HIVE-20167 > Project: Hive > Issue Type: Bug > Components: CLI >Affects Versions: 2.3.2 > Environment: Observed on an AWS EMR cluster. > Hive cli, executing script from bash with "hive -f ..." (not interactive). > >Reporter: Trey Fore >Priority: Minor > > This line causes a ParseException: > {{ , member_id string -- standardizing from client's > memberID}} > When the apostrophe is removed, leaving: > {{ , member_id string -- standardizing from clients > memberID}} > the line is parsed correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20167) apostrophe in midline comment fails with ParseException
[ https://issues.apache.org/jira/browse/HIVE-20167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16543288#comment-16543288 ] Trey Fore commented on HIVE-20167: -- Also ParseException when executed interactively, slightly different message. Both error messages report the error at the end of block. > apostrophe in midline comment fails with ParseException > --- > > Key: HIVE-20167 > URL: https://issues.apache.org/jira/browse/HIVE-20167 > Project: Hive > Issue Type: Bug > Components: CLI >Affects Versions: 2.3.2 > Environment: Observed on an AWS EMR cluster. > Hive cli, executing script from bash with "hive -f ..." (not interactive). > >Reporter: Trey Fore >Priority: Minor > > This line causes a ParseException: > {{ , member_id string -- standardizing from client's > memberID}} > When the apostrophe is removed, leaving: > {{ , member_id string -- standardizing from clients > memberID}} > the line is parsed correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)