[jira] [Work logged] (HIVE-25095) Beeline/hive -e command can't deal with query with trailing quote

2021-11-17 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-25095?focusedWorklogId=683122=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-683122
 ]

ASF GitHub Bot logged work on HIVE-25095:
-

Author: ASF GitHub Bot
Created on: 18/Nov/21 07:22
Start Date: 18/Nov/21 07:22
Worklog Time Spent: 10m 
  Work Description: kgyrtkirk merged pull request #2526:
URL: https://github.com/apache/hive/pull/2526


   


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 683122)
Time Spent: 1h 20m  (was: 1h 10m)

> Beeline/hive -e command can't deal with query with trailing quote
> -
>
> Key: HIVE-25095
> URL: https://issues.apache.org/jira/browse/HIVE-25095
> Project: Hive
>  Issue Type: Bug
>Reporter: Robbie Zhang
>Assignee: Robbie Zhang
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> The command 
> {code:java}
> hive -e 'select "hive"'{code}
> and
> {code:java}
> beeline -e 'select "hive"'{code}
> fail with such error:
> {code:java}
> Error: Error while compiling statement: FAILED: ParseException line 1:12 
> character '' not supported here (state=42000,code=4){code}
> The reason is that org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes 
> in commons-cli-1.2.jar strips the trailing quote so the query string is 
> changed to
> {code:java}
> select "hive{code}
> This bug is fixed in commons-cli-1.3.1 and commons-cli-1.4.jar. The 
> workaround is to overwrite commons-cli-1.2.jar with commons-cli-1.3.1 or 
> commons-cli-1.4.jar.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Work logged] (HIVE-25095) Beeline/hive -e command can't deal with query with trailing quote

2021-07-24 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-25095?focusedWorklogId=627399=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-627399
 ]

ASF GitHub Bot logged work on HIVE-25095:
-

Author: ASF GitHub Bot
Created on: 24/Jul/21 11:18
Start Date: 24/Jul/21 11:18
Worklog Time Spent: 10m 
  Work Description: ujc714 edited a comment on pull request #2255:
URL: https://github.com/apache/hive/pull/2255#issuecomment-886038213


   The branch was lost in my fork for some reason. I restored it and had to 
open a new PR so close this one. Could you please review PR-2526 after it 
passes tests? Thanks!


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 627399)
Time Spent: 1h 10m  (was: 1h)

> Beeline/hive -e command can't deal with query with trailing quote
> -
>
> Key: HIVE-25095
> URL: https://issues.apache.org/jira/browse/HIVE-25095
> Project: Hive
>  Issue Type: Bug
>Reporter: Robbie Zhang
>Assignee: Robbie Zhang
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The command 
> {code:java}
> hive -e 'select "hive"'{code}
> and
> {code:java}
> beeline -e 'select "hive"'{code}
> fail with such error:
> {code:java}
> Error: Error while compiling statement: FAILED: ParseException line 1:12 
> character '' not supported here (state=42000,code=4){code}
> The reason is that org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes 
> in commons-cli-1.2.jar strips the trailing quote so the query string is 
> changed to
> {code:java}
> select "hive{code}
> This bug is fixed in commons-cli-1.3.1 and commons-cli-1.4.jar. The 
> workaround is to overwrite commons-cli-1.2.jar with commons-cli-1.3.1 or 
> commons-cli-1.4.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-25095) Beeline/hive -e command can't deal with query with trailing quote

2021-07-24 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-25095?focusedWorklogId=627398=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-627398
 ]

ASF GitHub Bot logged work on HIVE-25095:
-

Author: ASF GitHub Bot
Created on: 24/Jul/21 11:16
Start Date: 24/Jul/21 11:16
Worklog Time Spent: 10m 
  Work Description: ujc714 commented on pull request #2255:
URL: https://github.com/apache/hive/pull/2255#issuecomment-886038213


   The branch was lost in my fork for some reason. I restored it and have to 
open a new PR so close this one. Could you please review PR-2526 after it 
passes tests? Thanks!


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 627398)
Time Spent: 1h  (was: 50m)

> Beeline/hive -e command can't deal with query with trailing quote
> -
>
> Key: HIVE-25095
> URL: https://issues.apache.org/jira/browse/HIVE-25095
> Project: Hive
>  Issue Type: Bug
>Reporter: Robbie Zhang
>Assignee: Robbie Zhang
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> The command 
> {code:java}
> hive -e 'select "hive"'{code}
> and
> {code:java}
> beeline -e 'select "hive"'{code}
> fail with such error:
> {code:java}
> Error: Error while compiling statement: FAILED: ParseException line 1:12 
> character '' not supported here (state=42000,code=4){code}
> The reason is that org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes 
> in commons-cli-1.2.jar strips the trailing quote so the query string is 
> changed to
> {code:java}
> select "hive{code}
> This bug is fixed in commons-cli-1.3.1 and commons-cli-1.4.jar. The 
> workaround is to overwrite commons-cli-1.2.jar with commons-cli-1.3.1 or 
> commons-cli-1.4.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-25095) Beeline/hive -e command can't deal with query with trailing quote

2021-07-24 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-25095?focusedWorklogId=627396=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-627396
 ]

ASF GitHub Bot logged work on HIVE-25095:
-

Author: ASF GitHub Bot
Created on: 24/Jul/21 11:14
Start Date: 24/Jul/21 11:14
Worklog Time Spent: 10m 
  Work Description: ujc714 commented on pull request #2255:
URL: https://github.com/apache/hive/pull/2255#issuecomment-886038014


   > LGTM +1, please squash your commits and rebase on top of the current 
master to get a clean test run
   
   


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 627396)
Time Spent: 40m  (was: 0.5h)

> Beeline/hive -e command can't deal with query with trailing quote
> -
>
> Key: HIVE-25095
> URL: https://issues.apache.org/jira/browse/HIVE-25095
> Project: Hive
>  Issue Type: Bug
>Reporter: Robbie Zhang
>Assignee: Robbie Zhang
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> The command 
> {code:java}
> hive -e 'select "hive"'{code}
> and
> {code:java}
> beeline -e 'select "hive"'{code}
> fail with such error:
> {code:java}
> Error: Error while compiling statement: FAILED: ParseException line 1:12 
> character '' not supported here (state=42000,code=4){code}
> The reason is that org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes 
> in commons-cli-1.2.jar strips the trailing quote so the query string is 
> changed to
> {code:java}
> select "hive{code}
> This bug is fixed in commons-cli-1.3.1 and commons-cli-1.4.jar. The 
> workaround is to overwrite commons-cli-1.2.jar with commons-cli-1.3.1 or 
> commons-cli-1.4.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-25095) Beeline/hive -e command can't deal with query with trailing quote

2021-07-24 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-25095?focusedWorklogId=627395=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-627395
 ]

ASF GitHub Bot logged work on HIVE-25095:
-

Author: ASF GitHub Bot
Created on: 24/Jul/21 11:14
Start Date: 24/Jul/21 11:14
Worklog Time Spent: 10m 
  Work Description: ujc714 closed pull request #2255:
URL: https://github.com/apache/hive/pull/2255


   


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 627395)
Time Spent: 0.5h  (was: 20m)

> Beeline/hive -e command can't deal with query with trailing quote
> -
>
> Key: HIVE-25095
> URL: https://issues.apache.org/jira/browse/HIVE-25095
> Project: Hive
>  Issue Type: Bug
>Reporter: Robbie Zhang
>Assignee: Robbie Zhang
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The command 
> {code:java}
> hive -e 'select "hive"'{code}
> and
> {code:java}
> beeline -e 'select "hive"'{code}
> fail with such error:
> {code:java}
> Error: Error while compiling statement: FAILED: ParseException line 1:12 
> character '' not supported here (state=42000,code=4){code}
> The reason is that org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes 
> in commons-cli-1.2.jar strips the trailing quote so the query string is 
> changed to
> {code:java}
> select "hive{code}
> This bug is fixed in commons-cli-1.3.1 and commons-cli-1.4.jar. The 
> workaround is to overwrite commons-cli-1.2.jar with commons-cli-1.3.1 or 
> commons-cli-1.4.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-25095) Beeline/hive -e command can't deal with query with trailing quote

2021-07-24 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-25095?focusedWorklogId=627397=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-627397
 ]

ASF GitHub Bot logged work on HIVE-25095:
-

Author: ASF GitHub Bot
Created on: 24/Jul/21 11:14
Start Date: 24/Jul/21 11:14
Worklog Time Spent: 10m 
  Work Description: ujc714 opened a new pull request #2255:
URL: https://github.com/apache/hive/pull/2255


   …### What changes were proposed in this pull request?
   
   Upgrade commons-cli to 1.4.
   
   ### Why are the changes needed?
   There is a bug in commons-cli-1.2 which trips trailing quote improperly.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   mvn test -Dtest=org.apache.hive.beeline.cli.TestHiveCli
   mvn test -Dtest=org.apache.hive.beeline.TestBeelineArgParsing
   
   


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 627397)
Time Spent: 50m  (was: 40m)

> Beeline/hive -e command can't deal with query with trailing quote
> -
>
> Key: HIVE-25095
> URL: https://issues.apache.org/jira/browse/HIVE-25095
> Project: Hive
>  Issue Type: Bug
>Reporter: Robbie Zhang
>Assignee: Robbie Zhang
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> The command 
> {code:java}
> hive -e 'select "hive"'{code}
> and
> {code:java}
> beeline -e 'select "hive"'{code}
> fail with such error:
> {code:java}
> Error: Error while compiling statement: FAILED: ParseException line 1:12 
> character '' not supported here (state=42000,code=4){code}
> The reason is that org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes 
> in commons-cli-1.2.jar strips the trailing quote so the query string is 
> changed to
> {code:java}
> select "hive{code}
> This bug is fixed in commons-cli-1.3.1 and commons-cli-1.4.jar. The 
> workaround is to overwrite commons-cli-1.2.jar with commons-cli-1.3.1 or 
> commons-cli-1.4.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-25095) Beeline/hive -e command can't deal with query with trailing quote

2021-07-24 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-25095?focusedWorklogId=627394=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-627394
 ]

ASF GitHub Bot logged work on HIVE-25095:
-

Author: ASF GitHub Bot
Created on: 24/Jul/21 11:13
Start Date: 24/Jul/21 11:13
Worklog Time Spent: 10m 
  Work Description: ujc714 opened a new pull request #2526:
URL: https://github.com/apache/hive/pull/2526


   ### What changes were proposed in this pull request?
   Upgrade commons-cli to 1.4.
   
   ### Why are the changes needed?
   There is a bug in commons-cli-1.2 which trips trailing quote improperly.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   mvn test -Dtest=org.apache.hive.beeline.cli.TestHiveCli
   mvn test -Dtest=org.apache.hive.beeline.TestBeelineArgParsing


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 627394)
Time Spent: 20m  (was: 10m)

> Beeline/hive -e command can't deal with query with trailing quote
> -
>
> Key: HIVE-25095
> URL: https://issues.apache.org/jira/browse/HIVE-25095
> Project: Hive
>  Issue Type: Bug
>Reporter: Robbie Zhang
>Assignee: Robbie Zhang
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The command 
> {code:java}
> hive -e 'select "hive"'{code}
> and
> {code:java}
> beeline -e 'select "hive"'{code}
> fail with such error:
> {code:java}
> Error: Error while compiling statement: FAILED: ParseException line 1:12 
> character '' not supported here (state=42000,code=4){code}
> The reason is that org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes 
> in commons-cli-1.2.jar strips the trailing quote so the query string is 
> changed to
> {code:java}
> select "hive{code}
> This bug is fixed in commons-cli-1.3.1 and commons-cli-1.4.jar. The 
> workaround is to overwrite commons-cli-1.2.jar with commons-cli-1.3.1 or 
> commons-cli-1.4.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (HIVE-25095) Beeline/hive -e command can't deal with query with trailing quote

2021-05-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-25095?focusedWorklogId=593139=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-593139
 ]

ASF GitHub Bot logged work on HIVE-25095:
-

Author: ASF GitHub Bot
Created on: 07/May/21 03:58
Start Date: 07/May/21 03:58
Worklog Time Spent: 10m 
  Work Description: ujc714 opened a new pull request #2255:
URL: https://github.com/apache/hive/pull/2255


   …### What changes were proposed in this pull request?
   
   Upgrade commons-cli to 1.4.
   
   ### Why are the changes needed?
   There is a bug in commons-cli-1.2 which trips trailing quote improperly.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   mvn test -Dtest=org.apache.hive.beeline.cli.TestHiveCli
   mvn test -Dtest=org.apache.hive.beeline.TestBeelineArgParsing
   
   


-- 
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


Issue Time Tracking
---

Worklog Id: (was: 593139)
Remaining Estimate: 0h
Time Spent: 10m

> Beeline/hive -e command can't deal with query with trailing quote
> -
>
> Key: HIVE-25095
> URL: https://issues.apache.org/jira/browse/HIVE-25095
> Project: Hive
>  Issue Type: Bug
>Reporter: Robbie Zhang
>Assignee: Robbie Zhang
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The command 
> {code:java}
> hive -e 'select "hive"'{code}
> and
> {code:java}
> beeline -e 'select "hive"'{code}
> fail with such error:
> {code:java}
> Error: Error while compiling statement: FAILED: ParseException line 1:12 
> character '' not supported here (state=42000,code=4){code}
> The reason is that org.apache.commons.cli.Util.stripLeadingAndTrailingQuotes 
> in commons-cli-1.2.jar strips the trailing quote so the query string is 
> changed to
> {code:java}
> select "hive{code}
> This bug is fixed in commons-cli-1.3.1 and commons-cli-1.4.jar. The 
> workaround is to overwrite commons-cli-1.2.jar with commons-cli-1.3.1 or 
> commons-cli-1.4.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)