hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang" <ctang...@gmail.com>
Subject Review Request 35907: HIVE-11100: Beeline should escape semi-colon in queries
Date Fri, 26 Jun 2015 03:35:47 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35907/
-----------------------------------------------------------

Review request for hive, Szehon Ho and Xuefu Zhang.


Bugs: HIVE-11100
    https://issues.apache.org/jira/browse/HIVE-11100


Repository: hive-git


Description
-------

Since the ";" is being used to delimit commands in a single line in Beeline, it should be
able to be escaped when it is not used as a delimiter. This patch provides "\" as the escape
to it like that in CLI, and more test cases to use ";" as command delimiter or inside a query.


Diffs
-----

  beeline/src/java/org/apache/hive/beeline/Commands.java 903849c 
  itests/hive-unit/src/test/java/org/apache/hive/beeline/TestBeeLineWithArgs.java f0795d2


Diff: https://reviews.apache.org/r/35907/diff/


Testing
-------

New added unit tests
Precommit tests


Thanks,

Chaoyu Tang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message