> On Oct. 21, 2016, 1:28 a.m., cheng xu wrote: > > beeline/src/java/org/apache/hive/beeline/BeeLine.java, line 682 > > <https://reviews.apache.org/r/52493/diff/2/?file=1542454#file1542454line682> > > > > hint: perfer HIVE_VAR_PREFIX.equals(arg)
also removed unnecessary brackets which was making it hard to read. > On Oct. 21, 2016, 1:28 a.m., cheng xu wrote: > > beeline/src/java/org/apache/hive/beeline/BeeLine.java, line 953 > > <https://reviews.apache.org/r/52493/diff/2/?file=1542454#file1542454line953> > > > > Let's make it simple as following: > > return url.indexOf('/', "jdbc:hive2://".length() < 0; also renamed the method and made some changes to improve readability. - Vihang ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52493/#review153482 ----------------------------------------------------------- On Oct. 21, 2016, 5:31 p.m., Vihang Karajgaonkar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/52493/ > ----------------------------------------------------------- > > (Updated Oct. 21, 2016, 5:31 p.m.) > > > Review request for hive, cheng xu and Sergio Pena. > > > Bugs: HIVE-13589 > https://issues.apache.org/jira/browse/HIVE-13589 > > > Repository: hive-git > > > Description > ------- > > HIVE-13589 : beeline support prompt for password with '-p' option > > > Diffs > ----- > > beeline/src/java/org/apache/hive/beeline/BeeLine.java > fdbe0a2c6c37688ab511710bd43517908996f158 > beeline/src/java/org/apache/hive/beeline/Commands.java > 6c3e7f70c811ad81aa8f3ee2ec2e42d98da7d330 > > itests/hive-unit/src/test/java/org/apache/hive/beeline/TestBeelinePasswordOption.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/52493/diff/ > > > Testing > ------- > > > Thanks, > > Vihang Karajgaonkar > >