[jira] [Created] (HIVE-20938) HiveResultSetMetaData.getColumnDisplaySize throws for SHORT column

2018-11-18 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-20938:
--

 Summary: HiveResultSetMetaData.getColumnDisplaySize throws for 
SHORT column
 Key: HIVE-20938
 URL: https://issues.apache.org/jira/browse/HIVE-20938
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde


HiveResultSetMetaData.getColumnDisplaySize throws for SHORT column. Stack is as 
follows:

{noformat}
Error: Unrecognized column type: SHORT (state=,code=0)
java.sql.SQLException: Unrecognized column type: SHORT
at 
org.apache.hive.jdbc.JdbcColumn.typeStringToHiveType(JdbcColumn.java:164)
at 
org.apache.hive.jdbc.HiveResultSetMetaData.getHiveType(HiveResultSetMetaData.java:48)
at 
org.apache.hive.jdbc.HiveResultSetMetaData.getColumnDisplaySize(HiveResultSetMetaData.java:61)
at sqlline.IncrementalRows.(IncrementalRows.java:47)
at sqlline.SqlLine.print(SqlLine.java:1702)
at sqlline.Commands.metadata(Commands.java:207)
at sqlline.Commands.indexes(Commands.java:364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
at sqlline.SqlLine.dispatch(SqlLine.java:718)
at sqlline.SqlLine.begin(SqlLine.java:539)
at sqlline.SqlLine.start(SqlLine.java:264)
at sqlline.SqlLine.main(SqlLine.java:195)
{noformat}

We have worked around this in https://github.com/julianhyde/sqlline/issues/203. 
I believe the issue also exists in Beeline, which is a fork of SQLLine.

Seems similar to HIVE-7448, which related to BINARY type and was fixed a long 
time ago.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (HIVE-14217) Druid integration

2016-07-12 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-14217:
--

 Summary: Druid integration
 Key: HIVE-14217
 URL: https://issues.apache.org/jira/browse/HIVE-14217
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde


Allow Hive to query data in Druid



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-11383) Upgrade Hive to Calcite 1.4

2015-07-27 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-11383:
--

 Summary: Upgrade Hive to Calcite 1.4
 Key: HIVE-11383
 URL: https://issues.apache.org/jira/browse/HIVE-11383
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde


Upgrade Hive to Calcite 1.4.0-incubating.

There is currently a snapshot release, which is close to what will be in 1.4. I 
have checked that Hive compiles against the new snapshot, fixing one issue. The 
patch is attached.

Next step is to validate that Hive runs against the new Calcite, and post any 
issues to the Calcite list or log Calcite Jira cases. [~jcamachorodriguez], can 
you please do that.

[~pxiong], I gather you are dependent on CALCITE-814, which will be fixed in 
the new Calcite version.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-9719) Up calcite version on cbo branch

2015-02-18 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-9719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14326850#comment-14326850
 ] 

Julian Hyde commented on HIVE-9719:
---

I just pushed the snapshot. It is based on 
https://github.com/apache/incubator-calcite/commit/f9db1ee9210a04f7a3ddae23e52e26be1669debb.

 Up calcite version on cbo branch
 

 Key: HIVE-9719
 URL: https://issues.apache.org/jira/browse/HIVE-9719
 Project: Hive
  Issue Type: Task
  Components: CBO
Affects Versions: cbo-branch
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
 Attachments: HIVE-9719.cbo.patch


 CALCITE-594 is now checked in calcite master.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-6173) Beeline doesn't accept --hiveconf option as Hive CLI does

2015-02-16 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14323395#comment-14323395
 ] 

Julian Hyde commented on HIVE-6173:
---

In https://github.com/julianhyde/sqlline/issues/32, I have extended the output 
'!help set' to include all options, including showElapsedTime, maxHeight, 
maxWidth, timeout, trimScripts.

Those changes could be merged into Hive's fork of sqlline.

 Beeline doesn't accept --hiveconf option as Hive CLI does
 -

 Key: HIVE-6173
 URL: https://issues.apache.org/jira/browse/HIVE-6173
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.10.0, 0.11.0, 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
  Labels: TODOC13
 Fix For: 0.13.0

 Attachments: HIVE-6173.1.patch, HIVE-6173.2.patch, HIVE-6173.patch


 {code}
  beeline -u jdbc:hive2:// --hiveconf a=b
 Usage: java org.apache.hive.cli.beeline.BeeLine 
 {code}
 Since Beeline is replacing Hive CLI, it should support this command line 
 option as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-9454) Test failures due to new Calcite version

2015-02-02 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-9454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14301877#comment-14301877
 ] 

Julian Hyde commented on HIVE-9454:
---

Calcite RC3 is looking good. With a little luck the RC3 vote will pass PPMC 
vote on Tuesday and IPMC vote on Friday.

 Test failures due to new Calcite version
 

 Key: HIVE-9454
 URL: https://issues.apache.org/jira/browse/HIVE-9454
 Project: Hive
  Issue Type: Bug
Reporter: Brock Noland
Assignee: Laljo John Pullokkaran
 Attachments: HIVE-9454.02.patch, HIVE-9454.03.patch, 
 HIVE-9454.04.patch, HIVE-9454.05.patch, HIVE-9454.1.patch


 A bunch of failures have started appearing in patches which seen unrelated. I 
 am thinking we've picked up a new version of Calcite. E.g.:
 http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2488/testReport/org.apache.hadoop.hive.cli/TestCliDriver/testCliDriver_auto_join12/
 {noformat}
 Running: diff -a 
 /home/hiveptest/54.147.202.89-hiveptest-1/apache-svn-trunk-source/itests/qtest/../../itests/qtest/target/qfile-results/clientpositive/auto_join12.q.out
  
 /home/hiveptest/54.147.202.89-hiveptest-1/apache-svn-trunk-source/itests/qtest/../../ql/src/test/results/clientpositive/auto_join12.q.out
 32c32
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 35c35
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:$hdt$_1:src 
 39c39
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 54c54
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:$hdt$_1:src 
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Moved] (HIVE-9510) Throwing null point exception , when get join distinct row count from RelMdUtil.java class

2015-01-29 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-9510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde moved CALCITE-578 to HIVE-9510:
---

Affects Version/s: (was: 1.0.0-incubating)
 Workflow: no-reopen-closed, patch-avail  (was: jira)
  Key: HIVE-9510  (was: CALCITE-578)
  Project: Hive  (was: Calcite)

 Throwing null point exception , when get join distinct row count from 
 RelMdUtil.java class
 --

 Key: HIVE-9510
 URL: https://issues.apache.org/jira/browse/HIVE-9510
 Project: Hive
  Issue Type: Bug
Reporter: asko
Assignee: Julian Hyde
 Attachments: log3_cbo5


 Setting log level in logging.properties file as following:
 handlers=java.util.logging.ConsoleHandler
 .level=INFO
 org.apache.calcite.plan.RelOptPlanner.level=ALL
 java.util.logging.ConsoleHandler.level=ALL
 Running Q3 in TPCH-full  after modifying , in order to  test join reorder,
 but running  failed.
 QL:
 set  hive.cbo.enable=true;
 --ANALYZE TABLE customer COMPUTE STATISTICS for columns;
 --ANALYZE TABLE orders COMPUTE STATISTICS for columns;
 --ANALYZE TABLE lineitem COMPUTE STATISTICS for columns;
 --Q3
 -- the query
 select 
   l_orderkey, sum(l_extendedprice*(1-l_discount)) as revenue, o_orderdate, 
 o_shippriority 
 from 
   lineitem l join orders o 
 on l.l_orderkey = o.o_orderkey
   join customer c
 on c.c_mktsegment = 'BUILDING' and c.c_custkey = o.o_custkey 
 where 
   o_orderdate  '1995-03-15' and l_shipdate  '1995-03-15' 
 group by l_orderkey, o_orderdate, o_shippriority 
 order by revenue desc, o_orderdate 
 limit 10;
 LOG:
 Jan 29, 2015 11:48:04 AM org.apache.calcite.plan.AbstractRelOptPlanner 
 fireRule
 FINE: call#15: Apply rule [FilterProjectTransposeRule] to 
 [rel#107:HiveFilter.HIVE.[](input=HepRelVertex#106,condition=($2, 
 '1995-03-15')), 
 rel#105:HiveProject.HIVE.[](input=HepRelVertex#104,o_orderkey=$0,o_custkey=$1,o_orderdate=$4,o_shippriority=$7)]
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HiveFilter#138
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HiveProject#139
 Jan 29, 2015 11:48:04 AM org.apache.calcite.plan.AbstractRelOptPlanner 
 notifyTransformation
 FINE: call#15: Rule FilterProjectTransposeRule arguments 
 [rel#107:HiveFilter.HIVE.[](input=HepRelVertex#106,condition=($2, 
 '1995-03-15')), 
 rel#105:HiveProject.HIVE.[](input=HepRelVertex#104,o_orderkey=$0,o_custkey=$1,o_orderdate=$4,o_shippriority=$7)]
  produced HiveProject#139
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HepRelVertex#140
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HiveProject#141
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HepRelVertex#142
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: Identified Primary - 
 Foreign Key relation:
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: 
 HiveJoin(condition=[=($0, $4)], joinType=[inner])
   HiveProject(l_orderkey=[$0], l_extendedprice=[$5], l_discount=[$6], 
 l_shipdate=[$10])
 HiveFilter(condition=[($10, '1995-03-15')])
   HiveTableScan(table=[[default.lineitem]])
   HiveProject(o_orderkey=[$0], o_custkey=[$1], o_orderdate=[$4], 
 o_shippriority=[$7])
 HiveFilter(condition=[($4, '1995-03-15')])
   HiveTableScan(table=[[default.orders]])
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: Primary - Foreign 
 Key join:
   fkSide = 1
   FKInfo:FKInfo(rowCount=1.00,ndv=-1.00)
   PKInfo:PKInfo(rowCount=1.00,ndv=-1.00,selectivity=1.00)
   isPKSideSimple:false
   NDV Scaling Factor:1.00
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: Identified Primary - 
 Foreign Key relation:
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: 
 HiveJoin(condition=[=($8, $5)], joinType=[inner])
   HiveJoin(condition=[=($0, $4)], joinType=[inner])
 HiveProject(l_orderkey=[$0], l_extendedprice=[$5], l_discount=[$6], 
 l_shipdate=[$10])
   HiveFilter(condition=[($10, '1995-03-15')])
 HiveTableScan(table=[[default.lineitem]])
 HiveProject(o_orderkey=[$0], o_custkey=[$1], o_orderdate=[$4], 
 o_shippriority=[$7])
   HiveFilter(condition=[($4, '1995-03-15')])
 HiveTableScan(table=[[default.orders]])
   HiveProject(c_custkey=[$0], c_mktsegment=[$6])
 HiveFilter(condition=[=($6, 'BUILDING')])
   HiveTableScan(table=[[default.customer]])
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: Primary - Foreign 
 Key join:
   fkSide = 1
   FKInfo:FKInfo(rowCount=1.00,ndv=-1.00)
   PKInfo:PKInfo(rowCount=1.00,ndv=-1.00,selectivity=1.00)
   isPKSideSimple:false
   NDV Scaling Factor:1.00
 Jan 29, 2015 

[jira] [Commented] (HIVE-9510) Throwing null point exception , when get join distinct row count from RelMdUtil.java class

2015-01-29 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-9510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14297412#comment-14297412
 ] 

Julian Hyde commented on HIVE-9510:
---

I moved this from CALCITE to HIVE because even though the error comes from 
Calcite code, it should be investigated as a Hive issue. The likely cause is 
that Hive did not set up its metadata provider correctly.

 Throwing null point exception , when get join distinct row count from 
 RelMdUtil.java class
 --

 Key: HIVE-9510
 URL: https://issues.apache.org/jira/browse/HIVE-9510
 Project: Hive
  Issue Type: Bug
Reporter: asko
Assignee: Julian Hyde
 Attachments: log3_cbo5


 Setting log level in logging.properties file as following:
 handlers=java.util.logging.ConsoleHandler
 .level=INFO
 org.apache.calcite.plan.RelOptPlanner.level=ALL
 java.util.logging.ConsoleHandler.level=ALL
 Running Q3 in TPCH-full  after modifying , in order to  test join reorder,
 but running  failed.
 QL:
 set  hive.cbo.enable=true;
 --ANALYZE TABLE customer COMPUTE STATISTICS for columns;
 --ANALYZE TABLE orders COMPUTE STATISTICS for columns;
 --ANALYZE TABLE lineitem COMPUTE STATISTICS for columns;
 --Q3
 -- the query
 select 
   l_orderkey, sum(l_extendedprice*(1-l_discount)) as revenue, o_orderdate, 
 o_shippriority 
 from 
   lineitem l join orders o 
 on l.l_orderkey = o.o_orderkey
   join customer c
 on c.c_mktsegment = 'BUILDING' and c.c_custkey = o.o_custkey 
 where 
   o_orderdate  '1995-03-15' and l_shipdate  '1995-03-15' 
 group by l_orderkey, o_orderdate, o_shippriority 
 order by revenue desc, o_orderdate 
 limit 10;
 LOG:
 Jan 29, 2015 11:48:04 AM org.apache.calcite.plan.AbstractRelOptPlanner 
 fireRule
 FINE: call#15: Apply rule [FilterProjectTransposeRule] to 
 [rel#107:HiveFilter.HIVE.[](input=HepRelVertex#106,condition=($2, 
 '1995-03-15')), 
 rel#105:HiveProject.HIVE.[](input=HepRelVertex#104,o_orderkey=$0,o_custkey=$1,o_orderdate=$4,o_shippriority=$7)]
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HiveFilter#138
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HiveProject#139
 Jan 29, 2015 11:48:04 AM org.apache.calcite.plan.AbstractRelOptPlanner 
 notifyTransformation
 FINE: call#15: Rule FilterProjectTransposeRule arguments 
 [rel#107:HiveFilter.HIVE.[](input=HepRelVertex#106,condition=($2, 
 '1995-03-15')), 
 rel#105:HiveProject.HIVE.[](input=HepRelVertex#104,o_orderkey=$0,o_custkey=$1,o_orderdate=$4,o_shippriority=$7)]
  produced HiveProject#139
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HepRelVertex#140
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HiveProject#141
 Jan 29, 2015 11:48:04 AM org.apache.calcite.rel.AbstractRelNode init
 FINEST: new HepRelVertex#142
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: Identified Primary - 
 Foreign Key relation:
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: 
 HiveJoin(condition=[=($0, $4)], joinType=[inner])
   HiveProject(l_orderkey=[$0], l_extendedprice=[$5], l_discount=[$6], 
 l_shipdate=[$10])
 HiveFilter(condition=[($10, '1995-03-15')])
   HiveTableScan(table=[[default.lineitem]])
   HiveProject(o_orderkey=[$0], o_custkey=[$1], o_orderdate=[$4], 
 o_shippriority=[$7])
 HiveFilter(condition=[($4, '1995-03-15')])
   HiveTableScan(table=[[default.orders]])
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: Primary - Foreign 
 Key join:
   fkSide = 1
   FKInfo:FKInfo(rowCount=1.00,ndv=-1.00)
   PKInfo:PKInfo(rowCount=1.00,ndv=-1.00,selectivity=1.00)
   isPKSideSimple:false
   NDV Scaling Factor:1.00
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: Identified Primary - 
 Foreign Key relation:
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: 
 HiveJoin(condition=[=($8, $5)], joinType=[inner])
   HiveJoin(condition=[=($0, $4)], joinType=[inner])
 HiveProject(l_orderkey=[$0], l_extendedprice=[$5], l_discount=[$6], 
 l_shipdate=[$10])
   HiveFilter(condition=[($10, '1995-03-15')])
 HiveTableScan(table=[[default.lineitem]])
 HiveProject(o_orderkey=[$0], o_custkey=[$1], o_orderdate=[$4], 
 o_shippriority=[$7])
   HiveFilter(condition=[($4, '1995-03-15')])
 HiveTableScan(table=[[default.orders]])
   HiveProject(c_custkey=[$0], c_mktsegment=[$6])
 HiveFilter(condition=[=($6, 'BUILDING')])
   HiveTableScan(table=[[default.customer]])
 15/01/29 11:48:04 [main]: DEBUG stats.HiveRelMdRowCount: Primary - Foreign 
 Key join:
   fkSide = 1
   FKInfo:FKInfo(rowCount=1.00,ndv=-1.00)
   PKInfo:PKInfo(rowCount=1.00,ndv=-1.00,selectivity=1.00)
   isPKSideSimple:false
   NDV 

[jira] [Commented] (HIVE-9510) Throwing null point exception , when get join distinct row count from RelMdUtil.java class

2015-01-29 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-9510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14298032#comment-14298032
 ] 

Julian Hyde commented on HIVE-9510:
---

In Calcite, metadata providers are adapters. The Calcite engine will call into 
the adapter, provided in this case by Hive, to get extra information. In this 
case it only asks for extra information when you increase the logging level. 
Calcite is assuming Hive implemented its metadata provider correctly but I am 
guessing that it did not -- in which case, the error is in Hive code.

 Throwing null point exception , when get join distinct row count from 
 RelMdUtil.java class
 --

 Key: HIVE-9510
 URL: https://issues.apache.org/jira/browse/HIVE-9510
 Project: Hive
  Issue Type: Bug
  Components: CBO
Reporter: asko
Assignee: Julian Hyde
 Attachments: log.txt, log3_cbo5


 Setting log level in logging.properties file as following:
 {noformat}
 handlers=java.util.logging.ConsoleHandler.level=INFO
 org.apache.calcite.plan.RelOptPlanner.level=ALL
 java.util.logging.ConsoleHandler.level=ALL
 {noformat}
 Running Q3 in TPCH-full  after modifying , in order to  test join reorder,
 but running  failed.
 QL:
 {code:sql}
 set  hive.cbo.enable=true;
 --ANALYZE TABLE customer COMPUTE STATISTICS for columns;
 --ANALYZE TABLE orders COMPUTE STATISTICS for columns;
 --ANALYZE TABLE lineitem COMPUTE STATISTICS for columns;
 --Q3
 -- the query
 select 
   l_orderkey, sum(l_extendedprice*(1-l_discount)) as revenue, o_orderdate, 
 o_shippriority 
 from 
   lineitem l join orders o 
 on l.l_orderkey = o.o_orderkey
   join customer c
 on c.c_mktsegment = 'BUILDING' and c.c_custkey = o.o_custkey 
 where 
   o_orderdate  '1995-03-15' and l_shipdate  '1995-03-15' 
 group by l_orderkey, o_orderdate, o_shippriority 
 order by revenue desc, o_orderdate 
 limit 10;
 {code}
 LOG:
 see log.txt



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-9454) Test failures due to new Calcite version

2015-01-25 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-9454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14291459#comment-14291459
 ] 

Julian Hyde commented on HIVE-9454:
---

It's unfair to say I've been using hive as a test bed. We have a test suite 
for Calcite that we're quite happy with. It serves its purpose -- it keeps 
Calcite from regressing.

You want to release Hive, so you need a release of Calcite. I am trying to do 
integration -- identify the incompatibilities between Hive and the new version 
of Calcite -- before we make that release. If that doesn't get done, you might 
well end up with a release of Calcite that is not suitable to make a release of 
Hive.

I have been telegraphing for some time on the Calcite dev list that a Calcite 
release is imminent. I made a release candidate on Thursday and started a vote. 
Given that Hive uses Calcite, at least one Hive committer ought to be actively 
participating on the Calcite dev list, participating in that vote, and doing 
integration testing.

The only integration testing that happened occurred because I pushed a new 
snapshot. That shit was going to hit the fan at some point between now and Hive 
15. It's actually a good thing that it happened now.

I'm coming round to the idea that it is a bad idea for Hive to develop on a 
snapshot of Calcite. But what are the alternatives? Given that it takes at 
least 6 days for an incubator project such as Calcite to make a release,  
development could very easily become stalled by a small bug or missing feature 
in Calcite. The ideal would be a Hive-specific snapshot of Calcite, controlled 
by Hive developers, but (a) Apache nexus doesn't seem to allow multiple 
versions of snapshots, (b) the Apache release process doesn't allow releases on 
snapshots, and (c) this would require proactive efforts by Hive committers to 
integrate with Calcite ahead of a Calcite release. Whatever we decide, it needs 
more proactive involvement from the Hive side.

There is an urgent need for a decision on the Calcite 1.0 release vote. We have 
sufficient votes for a release, and I could close the vote in just over an 
hour, but I won't. There is a non-binding -1 from [~jpullokkaran] due to 
incompatibilities but we haven't figured out whether the cause is on the Hive 
side or the Calcite side. I'd like to close the vote as soon as possible, but I 
need Hive developers to either log bugs or let the vote pass. We haven't had 
time to do integration testing (I'm paraphrasing a little) is not a valid 
reason for a -1.

 Test failures due to new Calcite version
 

 Key: HIVE-9454
 URL: https://issues.apache.org/jira/browse/HIVE-9454
 Project: Hive
  Issue Type: Bug
Reporter: Brock Noland
 Attachments: HIVE-9454.1.patch


 A bunch of failures have started appearing in patches which seen unrelated. I 
 am thinking we've picked up a new version of Calcite. E.g.:
 http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2488/testReport/org.apache.hadoop.hive.cli/TestCliDriver/testCliDriver_auto_join12/
 {noformat}
 Running: diff -a 
 /home/hiveptest/54.147.202.89-hiveptest-1/apache-svn-trunk-source/itests/qtest/../../itests/qtest/target/qfile-results/clientpositive/auto_join12.q.out
  
 /home/hiveptest/54.147.202.89-hiveptest-1/apache-svn-trunk-source/itests/qtest/../../ql/src/test/results/clientpositive/auto_join12.q.out
 32c32
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 35c35
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:$hdt$_1:src 
 39c39
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 54c54
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:$hdt$_1:src 
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-9454) Test failures due to new Calcite version

2015-01-24 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-9454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-9454:
--
Attachment: HIVE-9454.1.patch

The attached patch (HIVE-9454.1.patch) works around CALCITE-566. It provides an 
executor so that constant-reduction rules can be executed.

The other test failures are, as far as I can tell, changes to generated plans 
and are either improvements or cosmetic changes. This patch does not fix those.

 Test failures due to new Calcite version
 

 Key: HIVE-9454
 URL: https://issues.apache.org/jira/browse/HIVE-9454
 Project: Hive
  Issue Type: Bug
Reporter: Brock Noland
 Attachments: HIVE-9454.1.patch


 A bunch of failures have started appearing in patches which seen unrelated. I 
 am thinking we've picked up a new version of Calcite. E.g.:
 http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2488/testReport/org.apache.hadoop.hive.cli/TestCliDriver/testCliDriver_auto_join12/
 {noformat}
 Running: diff -a 
 /home/hiveptest/54.147.202.89-hiveptest-1/apache-svn-trunk-source/itests/qtest/../../itests/qtest/target/qfile-results/clientpositive/auto_join12.q.out
  
 /home/hiveptest/54.147.202.89-hiveptest-1/apache-svn-trunk-source/itests/qtest/../../ql/src/test/results/clientpositive/auto_join12.q.out
 32c32
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 35c35
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:$hdt$_1:src 
 39c39
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 54c54
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:$hdt$_1:src 
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-9454) Test failures due to new Calcite version

2015-01-23 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-9454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14290207#comment-14290207
 ] 

Julian Hyde commented on HIVE-9454:
---

I've put back the old snapshot (from Dec 19th). So, these changes should go 
away.

These differences are a preview of what will happen when Hive moves to Calcite 
1.0.0. Calcite's RC1 vote is going on right now, and closes at 10pm Pacific on 
Sunday.

Can someone from Hive please evaluate the test failures and cast a 
(non-binding) vote? If you discover a show-stopper cast a -1 vote. I don't want 
to make a release that cannot be used. If issues are discovered after the vote 
has closed we won't be inclined to make a make a new release in a hurry. :)

 Test failures due to new Calcite version
 

 Key: HIVE-9454
 URL: https://issues.apache.org/jira/browse/HIVE-9454
 Project: Hive
  Issue Type: Bug
Reporter: Brock Noland

 A bunch of failures have started appearing in patches which seen unrelated. I 
 am thinking we've picked up a new version of Calcite. E.g.:
 http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2488/testReport/org.apache.hadoop.hive.cli/TestCliDriver/testCliDriver_auto_join12/
 {noformat}
 Running: diff -a 
 /home/hiveptest/54.147.202.89-hiveptest-1/apache-svn-trunk-source/itests/qtest/../../itests/qtest/target/qfile-results/clientpositive/auto_join12.q.out
  
 /home/hiveptest/54.147.202.89-hiveptest-1/apache-svn-trunk-source/itests/qtest/../../ql/src/test/results/clientpositive/auto_join12.q.out
 32c32
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 35c35
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:$hdt$_1:src 
 39c39
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:$hdt$_0:src 
 54c54
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:src 
 ---
  $hdt$_0:$hdt$_0:$hdt$_1:$hdt$_1:$hdt$_1:$hdt$_1:src 
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-9441) Remove call to deprecated Calcite method

2015-01-23 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-9441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288949#comment-14288949
 ] 

Julian Hyde commented on HIVE-9441:
---

Great. Now that patch is in, it should be trivial for Hive to upgrade from 
calcite-1.0-SNAPSHOT to calcite-1.0.0 when it is released. I started the PPMC 
vote today, so with luck 1.0 will be ready on 1/30.

 Remove call to deprecated Calcite method
 

 Key: HIVE-9441
 URL: https://issues.apache.org/jira/browse/HIVE-9441
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
Priority: Minor
 Fix For: 0.15.0

 Attachments: HIVE-9441.1.patch


 The method RexLiteral.byteValue() was deprecated and will be remove in 
 Calcite 1.0. The attached patch replaces it with a non-deprecated alternative.
 As soon as the patch is committed I will push to apache nexus a new 
 calcite-1.0.0-snapshot that will be very close to proposed calcite-1.0 
 release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-9441) Remove call to deprecated Calcite method

2015-01-21 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-9441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-9441:
--
Assignee: Ashutosh Chauhan
  Status: Patch Available  (was: Open)

 Remove call to deprecated Calcite method
 

 Key: HIVE-9441
 URL: https://issues.apache.org/jira/browse/HIVE-9441
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde
Assignee: Ashutosh Chauhan
Priority: Minor
 Attachments: HIVE-9441.1.patch


 The method RexLiteral.byteValue() was deprecated and will be remove in 
 Calcite 1.0. The attached patch replaces it with a non-deprecated alternative.
 As soon as the patch is committed I will push to apache nexus a new 
 calcite-1.0.0-snapshot that will be very close to proposed calcite-1.0 
 release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-9441) Remove call to deprecated Calcite method

2015-01-21 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-9441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-9441:
--
Attachment: HIVE-9441.1.patch

 Remove call to deprecated Calcite method
 

 Key: HIVE-9441
 URL: https://issues.apache.org/jira/browse/HIVE-9441
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde
Priority: Minor
 Attachments: HIVE-9441.1.patch


 The method RexLiteral.byteValue() was deprecated and will be remove in 
 Calcite 1.0. The attached patch replaces it with a non-deprecated alternative.
 As soon as the patch is committed I will push to apache nexus a new 
 calcite-1.0.0-snapshot that will be very close to proposed calcite-1.0 
 release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-9441) Remove call to deprecated Calcite method

2015-01-21 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-9441:
-

 Summary: Remove call to deprecated Calcite method
 Key: HIVE-9441
 URL: https://issues.apache.org/jira/browse/HIVE-9441
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde
Priority: Minor


The method RexLiteral.byteValue() was deprecated and will be remove in Calcite 
1.0. The attached patch replaces it with a non-deprecated alternative.

As soon as the patch is committed I will push to apache nexus a new 
calcite-1.0.0-snapshot that will be very close to proposed calcite-1.0 release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-9400) Upgrade parent POM

2015-01-16 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-9400:
-

 Summary: Upgrade parent POM
 Key: HIVE-9400
 URL: https://issues.apache.org/jira/browse/HIVE-9400
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde


Upgrade Calcite's parent POM from apache-14 to apache-16. This will implicitly 
upgrade many of the dependencies, especially the maven plugins we use during 
the build process (e.g. surefire plugin).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8988) Support advanced aggregation in Hive to Calcite path

2014-12-19 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14253730#comment-14253730
 ] 

Julian Hyde commented on HIVE-8988:
---

I've pushed a snapshot of Calcite that contains the fix to CALCITE-542.

 Support advanced aggregation in Hive to Calcite path 
 -

 Key: HIVE-8988
 URL: https://issues.apache.org/jira/browse/HIVE-8988
 Project: Hive
  Issue Type: Improvement
Affects Versions: 0.15.0
Reporter: Jesus Camacho Rodriguez
Assignee: Jesus Camacho Rodriguez
  Labels: grouping, logical, optiq
 Fix For: 0.15.0

 Attachments: HIVE-8988.01.patch, HIVE-8988.02.patch, 
 HIVE-8988.03.patch, HIVE-8988.04.patch, HIVE-8988.05.patch, 
 HIVE-8988.05.patch, HIVE-8988.patch


 CLEAR LIBRARY CACHE
 To close the gap between Hive and Calcite, we need to support the translation 
 of GroupingSets into Calcite; currently this is not implemented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-9129) Migrate to newer Calcite snapshot, where ByteString is now in org.apache.calcite.avatica.util

2014-12-16 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-9129:
-

 Summary: Migrate to newer Calcite snapshot, where ByteString is 
now in org.apache.calcite.avatica.util
 Key: HIVE-9129
 URL: https://issues.apache.org/jira/browse/HIVE-9129
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde


ByteString has moved from org.apache.calcite.avatica to 
org.apache.calcite.avatica.util. To ease the migration, I have added a shim 
method RexLiteral.byteValue(), so that ASTBuilder does not need to reference 
ByteString explicitly.

The attached patch allows Hive to run against avatica-1.0.0-incubating-SNAPSHOT 
both before and after the change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-9129) Migrate to newer Calcite snapshot, where ByteString is now in org.apache.calcite.avatica.util

2014-12-16 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-9129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-9129:
--
Attachment: HIVE-9129.1.patch

 Migrate to newer Calcite snapshot, where ByteString is now in 
 org.apache.calcite.avatica.util
 -

 Key: HIVE-9129
 URL: https://issues.apache.org/jira/browse/HIVE-9129
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde
 Attachments: HIVE-9129.1.patch


 ByteString has moved from org.apache.calcite.avatica to 
 org.apache.calcite.avatica.util. To ease the migration, I have added a shim 
 method RexLiteral.byteValue(), so that ASTBuilder does not need to reference 
 ByteString explicitly.
 The attached patch allows Hive to run against 
 avatica-1.0.0-incubating-SNAPSHOT both before and after the change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-9129) Migrate to newer Calcite snapshot, where ByteString is now in org.apache.calcite.avatica.util

2014-12-16 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-9129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-9129:
--
Assignee: Ashutosh Chauhan
  Status: Patch Available  (was: Open)

 Migrate to newer Calcite snapshot, where ByteString is now in 
 org.apache.calcite.avatica.util
 -

 Key: HIVE-9129
 URL: https://issues.apache.org/jira/browse/HIVE-9129
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde
Assignee: Ashutosh Chauhan
 Attachments: HIVE-9129.1.patch


 ByteString has moved from org.apache.calcite.avatica to 
 org.apache.calcite.avatica.util. To ease the migration, I have added a shim 
 method RexLiteral.byteValue(), so that ASTBuilder does not need to reference 
 ByteString explicitly.
 The attached patch allows Hive to run against 
 avatica-1.0.0-incubating-SNAPSHOT both before and after the change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8988) Support advanced aggregation in Hive to Calcite path

2014-12-12 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14244310#comment-14244310
 ] 

Julian Hyde commented on HIVE-8988:
---

You'd better make sure that that function isn't pushed down.

 Support advanced aggregation in Hive to Calcite path 
 -

 Key: HIVE-8988
 URL: https://issues.apache.org/jira/browse/HIVE-8988
 Project: Hive
  Issue Type: Improvement
Affects Versions: 0.15.0
Reporter: Jesus Camacho Rodriguez
Assignee: Jesus Camacho Rodriguez
  Labels: grouping, logical, optiq
 Fix For: 0.15.0

 Attachments: HIVE-8988.01.patch, HIVE-8988.patch


 CLEAR LIBRARY CACHE
 To close the gap between Hive and Calcite, we need to support the translation 
 of GroupingSets into Calcite; currently this is not implemented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8988) Support advanced aggregation in Hive to Calcite path

2014-12-12 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14244400#comment-14244400
 ] 

Julian Hyde commented on HIVE-8988:
---

It looks just like a function with no arguments, so Calcite will treat 
accordingly. 

You can't translate to grouping_id because that's a pseudo function too. Safest 
might be to translate it to {{$Foo(i0, i1, i2, i3, ...)}} where iin/i are 
the indicator columns, and look for it afterwards. The column references will 
prevent it from being pushed down. Putatively $Foo would expand to {{i0 + 2 * 
i1 + 4 * i2 + ...}} (in fact the same logic that SqlToRelConverter translates 
GROUP_ID to) but it will be substituted before that ever happens.

 Support advanced aggregation in Hive to Calcite path 
 -

 Key: HIVE-8988
 URL: https://issues.apache.org/jira/browse/HIVE-8988
 Project: Hive
  Issue Type: Improvement
Affects Versions: 0.15.0
Reporter: Jesus Camacho Rodriguez
Assignee: Jesus Camacho Rodriguez
  Labels: grouping, logical, optiq
 Fix For: 0.15.0

 Attachments: HIVE-8988.01.patch, HIVE-8988.patch


 CLEAR LIBRARY CACHE
 To close the gap between Hive and Calcite, we need to support the translation 
 of GroupingSets into Calcite; currently this is not implemented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8988) Support advanced aggregation in Hive to Calcite path

2014-12-12 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14244535#comment-14244535
 ] 

Julian Hyde commented on HIVE-8988:
---

If I wrote {{select f(deptno, gender), count(*) from emp group by deptno, 
gender having f(deptno, gender)  100}} and f was a regular function, then 
Calcite could push it down. And you'd probably want it to.

So we'd have to flag that grouping_id is not a regular function.

In my approach you apply the $Foo function to the indicator columns, which do 
not exist until the Aggregate creates them, hence the function cannot be pushed 
down. (The call to $Foo could still be pulled up.)

 Support advanced aggregation in Hive to Calcite path 
 -

 Key: HIVE-8988
 URL: https://issues.apache.org/jira/browse/HIVE-8988
 Project: Hive
  Issue Type: Improvement
Affects Versions: 0.15.0
Reporter: Jesus Camacho Rodriguez
Assignee: Jesus Camacho Rodriguez
  Labels: grouping, logical, optiq
 Fix For: 0.15.0

 Attachments: HIVE-8988.01.patch, HIVE-8988.patch


 CLEAR LIBRARY CACHE
 To close the gap between Hive and Calcite, we need to support the translation 
 of GroupingSets into Calcite; currently this is not implemented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8988) Support advanced aggregation in Hive to Calcite path

2014-12-12 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14244585#comment-14244585
 ] 

Julian Hyde commented on HIVE-8988:
---

$Foo is probably not interesting to end-users, so let's keep it in Hive.  You 
should sub-class SqlInternalOperator. In SqlStdOperatorTable, you'll see 
$SLICE, $ELEMENT_SLICE, $SCALAR_QUERY and EXTEND are all examples of it.

 Support advanced aggregation in Hive to Calcite path 
 -

 Key: HIVE-8988
 URL: https://issues.apache.org/jira/browse/HIVE-8988
 Project: Hive
  Issue Type: Improvement
Affects Versions: 0.15.0
Reporter: Jesus Camacho Rodriguez
Assignee: Jesus Camacho Rodriguez
  Labels: grouping, logical, optiq
 Fix For: 0.15.0

 Attachments: HIVE-8988.01.patch, HIVE-8988.patch


 CLEAR LIBRARY CACHE
 To close the gap between Hive and Calcite, we need to support the translation 
 of GroupingSets into Calcite; currently this is not implemented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8988) Support advanced aggregation in Hive to Calcite path

2014-12-11 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14243533#comment-14243533
 ] 

Julian Hyde commented on HIVE-8988:
---

I am a bit surprised that translating GROUPING__ID to Calcite's GROUP_ID 
function works. The logic to expand it is in SqlToRelConverter, which Hive does 
not call (IIRC). How does it work?

You don't need to call BitSets.toIter anymore. ImmutableBitSet implements 
Iterable (BitSet, which we used to use for Aggregate.groupKeys, does not).

For {{ImmutableBitSet convert(int value)}}, I'll add 
ImmutableBitSet.valueOf(long...). valueOf(x) would be equivalent to convert(x). 
You can migrate to it in a future version of Calcite, if you like.

 Support advanced aggregation in Hive to Calcite path 
 -

 Key: HIVE-8988
 URL: https://issues.apache.org/jira/browse/HIVE-8988
 Project: Hive
  Issue Type: Improvement
Affects Versions: 0.15.0
Reporter: Jesus Camacho Rodriguez
Assignee: Jesus Camacho Rodriguez
  Labels: grouping, logical, optiq
 Fix For: 0.15.0

 Attachments: HIVE-8988.patch


 To close the gap between Hive and Calcite, we need to support the translation 
 of GroupingSets into Calcite; currently this is not implemented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8974) Upgrade to Calcite 1.0.0-SNAPSHOT (with lots of renames)

2014-12-03 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1424#comment-1424
 ] 

Julian Hyde commented on HIVE-8974:
---

Yes, it's a calcite problem. I've logged 
https://issues.apache.org/jira/browse/CALCITE-509 and will fix shortly.

 Upgrade to Calcite 1.0.0-SNAPSHOT (with lots of renames)
 

 Key: HIVE-8974
 URL: https://issues.apache.org/jira/browse/HIVE-8974
 Project: Hive
  Issue Type: Task
Affects Versions: 0.15.0
Reporter: Julian Hyde
Assignee: Jesus Camacho Rodriguez
 Fix For: 0.15.0

 Attachments: HIVE-8974.01.patch, HIVE-8974.02.patch, 
 HIVE-8974.03.patch, HIVE-8974.patch


 CLEAR LIBRARY CACHE
 Calcite recently (after 0.9.2, before 1.0.0) re-organized its package 
 structure and renamed a lot of classes. CALCITE-296 has the details, 
 including a description of the before:after mapping.
 This task is to upgrade to the version of Calcite that has the renamed 
 packages. There is a 1.0.0-SNAPSHOT in Apache nexus.
 Calcite functionality has not changed significantly, so it should be 
 straightforward to rename. This task should be completed ASAP, before Calcite 
 moves on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8974) Upgrade to Calcite 1.0.0-SNAPSHOT (with lots of renames)

2014-12-03 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14233627#comment-14233627
 ] 

Julian Hyde commented on HIVE-8974:
---

I've pushed a new Calcite 1.0.0-SNAPSHOT so this bug should just go away next 
build.

 Upgrade to Calcite 1.0.0-SNAPSHOT (with lots of renames)
 

 Key: HIVE-8974
 URL: https://issues.apache.org/jira/browse/HIVE-8974
 Project: Hive
  Issue Type: Task
Affects Versions: 0.15.0
Reporter: Julian Hyde
Assignee: Jesus Camacho Rodriguez
 Fix For: 0.15.0

 Attachments: HIVE-8974.01.patch, HIVE-8974.02.patch, 
 HIVE-8974.03.patch, HIVE-8974.patch


 CLEAR LIBRARY CACHE
 Calcite recently (after 0.9.2, before 1.0.0) re-organized its package 
 structure and renamed a lot of classes. CALCITE-296 has the details, 
 including a description of the before:after mapping.
 This task is to upgrade to the version of Calcite that has the renamed 
 packages. There is a 1.0.0-SNAPSHOT in Apache nexus.
 Calcite functionality has not changed significantly, so it should be 
 straightforward to rename. This task should be completed ASAP, before Calcite 
 moves on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-8974) Upgrade to Calcite 1.0.0-SNAPSHOT (with lots of renames)

2014-11-26 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-8974:
-

 Summary: Upgrade to Calcite 1.0.0-SNAPSHOT (with lots of renames)
 Key: HIVE-8974
 URL: https://issues.apache.org/jira/browse/HIVE-8974
 Project: Hive
  Issue Type: Task
Reporter: Julian Hyde
Assignee: Gunther Hagleitner


Calcite recently (after 0.9.2, before 1.0.0) re-organized its package structure 
and renamed a lot of classes. CALCITE-296 has the details, including a 
description of the before:after mapping.

This task is to upgrade to the version of Calcite that has the renamed 
packages. There is a 1.0.0-SNAPSHOT in Apache nexus.

Calcite functionality has not changed significantly, so it should be 
straightforward to rename. This task should be completed ASAP, before Calcite 
moves on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-11-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--
Attachment: HIVE-6361.4.patch

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.2.patch, HIVE-6361.3.patch, HIVE-6361.4.patch, 
 HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-11-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--
Affects Version/s: (was: 0.12.0)
   0.14.0
   Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.14.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.2.patch, HIVE-6361.3.patch, HIVE-6361.4.patch, 
 HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-11-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--
Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.2.patch, HIVE-6361.3.patch, HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-11-25 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--
Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.2.patch, HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-11-25 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--
Attachment: HIVE-6361.3.patch

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.2.patch, HIVE-6361.3.patch, HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-11-25 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--
Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.2.patch, HIVE-6361.3.patch, HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8857) hive release has SNAPSHOT dependency, which is not on maven central

2014-11-24 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14222860#comment-14222860
 ] 

Julian Hyde commented on HIVE-8857:
---

Calcite 0.9.2-incubating was released shortly after Hive 0.14 froze, having 
spent ~6 days in the voting process. It is virtually identical to the 
0.9.2-incubating-SNAPSHOT posted at 
https://repository.apache.org/content/repositories/snapshots/org/apache/calcite/,
 so you could drop it in as a replacement.

 hive release has SNAPSHOT dependency, which is not on maven central
 ---

 Key: HIVE-8857
 URL: https://issues.apache.org/jira/browse/HIVE-8857
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: André Kelpe

 I just tried building a project, which uses hive-exec as a dependency and it 
 bails out, since hive 0.14.0 introduced a SNAPSHOT dependency to apache 
 calcite, which is not on maven central. Do we have to include another 
 repository now? Next to that it also seems problematic to rely on a SNAPSHOT 
 dependency, which can change any time.
 {code}
 :compileJava
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-exec/0.14.0/hive-exec-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive/0.14.0/hive-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-ant/0.14.0/hive-ant-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-metastore/0.14.0/hive-metastore-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-shims/0.14.0/hive-shims-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
 Download 
 http://repo1.maven.org/maven2/org/fusesource/jansi/jansi-project/1.11/jansi-project-1.11.pom
 Download 
 http://repo1.maven.org/maven2/org/fusesource/fusesource-pom/1.8/fusesource-pom-1.8.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-serde/0.14.0/hive-serde-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-common/0.14.0/hive-shims-common-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-common-secure/0.14.0/hive-shims-common-secure-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-0.20/0.14.0/hive-shims-0.20-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-0.20S/0.14.0/hive-shims-0.20S-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-0.23/0.14.0/hive-shims-0.23-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-common/0.14.0/hive-common-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/curator/curator-framework/2.6.0/curator-framework-2.6.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/curator/apache-curator/2.6.0/apache-curator-2.6.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/curator/curator-client/2.6.0/curator-client-2.6.0.pom
 Download 
 http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.pom
 Download 
 http://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.7.6/slf4j-parent-1.7.6.pom
 FAILURE: Build failed with an exception.
 * What went wrong:
 Could not resolve all dependencies for configuration ':provided'.
  Could not find org.apache.calcite:calcite-core:0.9.2-incubating-SNAPSHOT.
   Required by:
   cascading:cascading-hive:1.1.0-wip-dev  
 org.apache.hive:hive-exec:0.14.0
  Could not find org.apache.calcite:calcite-avatica:0.9.2-incubating-SNAPSHOT.
   Required by:
   cascading:cascading-hive:1.1.0-wip-dev  
 org.apache.hive:hive-exec:0.14.0
 * Try:
 Run with --stacktrace option to get the stack trace. Run with --info or 
 --debug option to get more log output.
 BUILD FAILED
 Total time: 16.956 secs
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HIVE-8857) hive release has SNAPSHOT dependency, which is not on maven central

2014-11-24 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-8857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved HIVE-8857.
---
Resolution: Duplicate

 hive release has SNAPSHOT dependency, which is not on maven central
 ---

 Key: HIVE-8857
 URL: https://issues.apache.org/jira/browse/HIVE-8857
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: André Kelpe

 I just tried building a project, which uses hive-exec as a dependency and it 
 bails out, since hive 0.14.0 introduced a SNAPSHOT dependency to apache 
 calcite, which is not on maven central. Do we have to include another 
 repository now? Next to that it also seems problematic to rely on a SNAPSHOT 
 dependency, which can change any time.
 {code}
 :compileJava
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-exec/0.14.0/hive-exec-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive/0.14.0/hive-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-ant/0.14.0/hive-ant-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-metastore/0.14.0/hive-metastore-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-shims/0.14.0/hive-shims-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
 Download 
 http://repo1.maven.org/maven2/org/fusesource/jansi/jansi-project/1.11/jansi-project-1.11.pom
 Download 
 http://repo1.maven.org/maven2/org/fusesource/fusesource-pom/1.8/fusesource-pom-1.8.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-serde/0.14.0/hive-serde-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-common/0.14.0/hive-shims-common-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-common-secure/0.14.0/hive-shims-common-secure-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-0.20/0.14.0/hive-shims-0.20-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-0.20S/0.14.0/hive-shims-0.20S-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/shims/hive-shims-0.23/0.14.0/hive-shims-0.23-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/hive/hive-common/0.14.0/hive-common-0.14.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/curator/curator-framework/2.6.0/curator-framework-2.6.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/curator/apache-curator/2.6.0/apache-curator-2.6.0.pom
 Download 
 http://repo1.maven.org/maven2/org/apache/curator/curator-client/2.6.0/curator-client-2.6.0.pom
 Download 
 http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.pom
 Download 
 http://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.7.6/slf4j-parent-1.7.6.pom
 FAILURE: Build failed with an exception.
 * What went wrong:
 Could not resolve all dependencies for configuration ':provided'.
  Could not find org.apache.calcite:calcite-core:0.9.2-incubating-SNAPSHOT.
   Required by:
   cascading:cascading-hive:1.1.0-wip-dev  
 org.apache.hive:hive-exec:0.14.0
  Could not find org.apache.calcite:calcite-avatica:0.9.2-incubating-SNAPSHOT.
   Required by:
   cascading:cascading-hive:1.1.0-wip-dev  
 org.apache.hive:hive-exec:0.14.0
 * Try:
 Run with --stacktrace option to get the stack trace. Run with --info or 
 --debug option to get more log output.
 BUILD FAILED
 Total time: 16.956 secs
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8656) CBO: auto_join_filters fails

2014-11-01 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14193577#comment-14193577
 ] 

Julian Hyde commented on HIVE-8656:
---

I have updated CALCITE-448's description, and have (finally) found a repro case 
in pure Calcite. I think it is a minor issue, now that TypeConverter has been 
fixed in Hive.

 CBO: auto_join_filters fails
 

 Key: HIVE-8656
 URL: https://issues.apache.org/jira/browse/HIVE-8656
 Project: Hive
  Issue Type: Sub-task
  Components: CBO
Reporter: Sergey Shelukhin
Assignee: Julian Hyde
Priority: Critical
 Fix For: 0.14.0

 Attachments: HIVE-8656.patch


 Haven't looked why yet



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8656) CBO: auto_join_filters fails

2014-10-31 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14192746#comment-14192746
 ] 

Julian Hyde commented on HIVE-8656:
---

I suspect that CALCITE-448 is (despite its title) a subtle issue in 
PushFiltersThroughJoinRule. If we patch TypeConverter.java to make all columns 
nullable (what we intended anyway) the issue goes away. See attached.

 CBO: auto_join_filters fails
 

 Key: HIVE-8656
 URL: https://issues.apache.org/jira/browse/HIVE-8656
 Project: Hive
  Issue Type: Sub-task
  Components: CBO
Reporter: Sergey Shelukhin
Assignee: Ashutosh Chauhan
Priority: Critical
 Fix For: 0.14.0


 Haven't looked why yet



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8656) CBO: auto_join_filters fails

2014-10-31 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-8656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-8656:
--
Attachment: HIVE-8656.patch

 CBO: auto_join_filters fails
 

 Key: HIVE-8656
 URL: https://issues.apache.org/jira/browse/HIVE-8656
 Project: Hive
  Issue Type: Sub-task
  Components: CBO
Reporter: Sergey Shelukhin
Assignee: Ashutosh Chauhan
Priority: Critical
 Fix For: 0.14.0

 Attachments: HIVE-8656.patch


 Haven't looked why yet



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8657) CBO: inputddl5, udf_reverse tests fail

2014-10-29 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14189084#comment-14189084
 ] 

Julian Hyde commented on HIVE-8657:
---

I suspect that the Hive-to-Calcite is generating a RexLiteral (possibly a 
SqlLiteral) for a character literal, and that that character literal contains 
Unicode (i.e. non-ASCII) characters. Fix might be to catch the exception and 
create the literal using unicode as the encoding.

Note that in a RexLiteral of type CHAR or VARCHAR, the value object must be of 
type NlsString, and that contains a Java string (in unicode as always), a 
java.nio.charset.Charset, and a SqlCollation.

It should be clearer what to do when we see the call-stack.

 CBO: inputddl5, udf_reverse tests fail
 --

 Key: HIVE-8657
 URL: https://issues.apache.org/jira/browse/HIVE-8657
 Project: Hive
  Issue Type: Sub-task
  Components: CBO
Reporter: Sergey Shelukhin
 Fix For: 0.14.0


 Exception in Hive logs (I spent all of 20 seconds looking at this for now)
 {noformat}
 2014-10-29 13:27:34,019 ERROR ql.Driver (SessionState.java:printError(825)) - 
 FAILED: EigenbaseException Failed to encode '??' in character set 'ISO-8859-1'
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-8467) Table Copy - Background, incremental data load

2014-10-15 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14172767#comment-14172767
 ] 

Julian Hyde commented on HIVE-8467:
---

I see this as a particular kind of materialized view. In general, a 
materialized view is a table whose contents are guaranteed to be the same as 
executing a particular query. In this case, that query is simply 'select * from 
t'.

We don't have materialized view support yet, but I have been working on 
lattices in Calcite (formerly known as Optiq) (see OPTIQ-344) and there is a 
lot of interest in adding them to Hive. Each materialized tile in a lattice 
is a materialized view of the form 'select d1, d2, sum(m1), count(m2) from t 
group by d1, d2'.

So, let's talk about whether we could change the syntax to 'create materialized 
view'  and still deliver the functionality you need. Of course if the user 
enters anything other than 'select * from t order by k1, k2' they would get an 
error.

In terms of query planning, I strongly recommend that you build on the CBO work 
powered by Calcite. Let's suppose there is a table T and a copy C. After 
translating the query to a Calcite RelNode tree, there will be a 
TableAccessRel(T). After reading the metadata, we should create a 
TableAccessRel(C) and tell Calcite that it is equivalent.

That's all you need to do. Calcite will take it from there. Assuming the stats 
indicate that C is better (and they should, right, because the ORC 
representation will be smaller?) then the query will end up using C. But if, 
say, T has a partitioning scheme which is more suitable for a particular query, 
then Calcite will choose T.

 Table Copy - Background, incremental data load
 --

 Key: HIVE-8467
 URL: https://issues.apache.org/jira/browse/HIVE-8467
 Project: Hive
  Issue Type: New Feature
Reporter: Rajat Venkatesh
 Attachments: Table Copies.pdf


 Traditionally, Hive and other tools in the Hadoop eco-system havent required 
 a load stage. However, with recent developments, Hive is much more performant 
 when data is stored in specific formats like ORC, Parquet, Avro etc. 
 Technologies like Presto, also work much better with certain data formats. At 
 the same time, data is generated or obtained from 3rd parties in non-optimal 
 formats such as CSV, tab-limited or JSON. Many a times, its not an option to 
 change the data format at the source. We've found that users either use 
 sub-optimal formats or spend a large amount of effort creating and 
 maintaining copies. We want to propose a new construct - Table Copy - to help 
 “load” data into an optimal storage format.
 I am going to attach a PDF document with a lot more details especially 
 addressing how is this different from bulk loads in relational DBs or 
 materialized views.
 Looking forward to hear if others see a similar need to formalize conversion 
 of data to different storage formats.  If yes, are the details in the PDF 
 document a good start ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8336) Update pom, now that Optiq is renamed to Calcite

2014-10-03 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-8336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-8336:
--
Attachment: HIVE-8336.1.patch

 Update pom, now that Optiq is renamed to Calcite
 

 Key: HIVE-8336
 URL: https://issues.apache.org/jira/browse/HIVE-8336
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde
 Attachments: HIVE-8336.1.patch


 Apache Optiq is in the process of renaming to Apache Calcite. See INFRA-8413 
 and OPTIQ-430.
 There is not yet a snapshot of {groupId: 'org.apache.calcite', artifactId: 
 'calcite-*'} deployed to nexus. When there is, I'll post a patch to pom.xml.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8336) Update pom, now that Optiq is renamed to Calcite

2014-10-03 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-8336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-8336:
--
Assignee: Gunther Hagleitner
  Status: Patch Available  (was: Open)

A snapshot of org.apache.calcite 
https://github.com/apache/incubator-optiq/commit/3c4b5982daa318660b989f37905455f3ad74863d
 is deployed to nexus. It is now safe to update hive.

 Update pom, now that Optiq is renamed to Calcite
 

 Key: HIVE-8336
 URL: https://issues.apache.org/jira/browse/HIVE-8336
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde
Assignee: Gunther Hagleitner
 Attachments: HIVE-8336.1.patch


 Apache Optiq is in the process of renaming to Apache Calcite. See INFRA-8413 
 and OPTIQ-430.
 There is not yet a snapshot of {groupId: 'org.apache.calcite', artifactId: 
 'calcite-*'} deployed to nexus. When there is, I'll post a patch to pom.xml.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-8336) Update pom, now that Optiq is renamed to Calcite

2014-10-02 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-8336:
-

 Summary: Update pom, now that Optiq is renamed to Calcite
 Key: HIVE-8336
 URL: https://issues.apache.org/jira/browse/HIVE-8336
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde


Apache Optiq is in the process of renaming to Apache Calcite. See INFRA-8413 
and OPTIQ-430.

There is not yet a snapshot of {groupId: 'org.apache.calcite', 'calcite-*'} 
deployed to nexus. When there is, I'll post a patch to pom.xml.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8336) Update pom, now that Optiq is renamed to Calcite

2014-10-02 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-8336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-8336:
--
Description: 
Apache Optiq is in the process of renaming to Apache Calcite. See INFRA-8413 
and OPTIQ-430.

There is not yet a snapshot of {groupId: 'org.apache.calcite', artifactId: 
'calcite-*'} deployed to nexus. When there is, I'll post a patch to pom.xml.

  was:
Apache Optiq is in the process of renaming to Apache Calcite. See INFRA-8413 
and OPTIQ-430.

There is not yet a snapshot of {groupId: 'org.apache.calcite', 'calcite-*'} 
deployed to nexus. When there is, I'll post a patch to pom.xml.


 Update pom, now that Optiq is renamed to Calcite
 

 Key: HIVE-8336
 URL: https://issues.apache.org/jira/browse/HIVE-8336
 Project: Hive
  Issue Type: Bug
Reporter: Julian Hyde

 Apache Optiq is in the process of renaming to Apache Calcite. See INFRA-8413 
 and OPTIQ-430.
 There is not yet a snapshot of {groupId: 'org.apache.calcite', artifactId: 
 'calcite-*'} deployed to nexus. When there is, I'll post a patch to pom.xml.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: HIVE-6361.patch

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: (was: HIVE-6361.patch)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

Attached, patch HIVE-6361.2.patch, commit c96a790, parent 253a869.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.2.patch, HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-26 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: HIVE-6361.2.patch

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.2.patch, HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-22 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-22 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HIVE-7680) Do not throw SQLException for HiveStatement getMoreResults and setEscapeProcessing(false)

2014-08-20 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-7680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14104490#comment-14104490
 ] 

Julian Hyde commented on HIVE-7680:
---

A stackoverflow thread [What does it mean when Statement.executeUpdate returns 
-1?|http://stackoverflow.com/questions/12400985/what-does-it-mean-when-statement-executeupdate-returns-1]
 is basically supportive of the idea of returning -1. In particular this 
comment:

{quote}
UPDATE: While reading [Mark Rotteveel's 
answer|http://stackoverflow.com/a/12412073/521799], I tend to agree with him, 
assuming that -1 is the JDBC-compliant value for unknown update counts. Even 
if this isn't documented on the relevant method's Javadoc, it's documented in 
the [JDBC specs, chapter 13.1.2.3 Returning Unknown or Multiple 
Results|http://download.oracle.com/otn-pub/jcp/jdbc-4_1-mrel-spec/jdbc4.1-fr-spec.pdf].
 In this very case, it could be said that an IF .. INSERT .. statement will 
have an unknown update count, as this statement isn't SQL-standard compliant 
anyway.
{quote}

 Do not throw SQLException for HiveStatement getMoreResults and 
 setEscapeProcessing(false)
 -

 Key: HIVE-7680
 URL: https://issues.apache.org/jira/browse/HIVE-7680
 Project: Hive
  Issue Type: Bug
  Components: JDBC
Affects Versions: 0.13.1
Reporter: Alexander Pivovarov
Assignee: Alexander Pivovarov
Priority: Minor
 Attachments: HIVE-7680.patch


 1. Some JDBC clients call method setEscapeProcessing(false)  (e.g. SQL 
 Workbench)
 Looks like setEscapeProcessing(false) should do nothing.So, lets do  nothing 
 instead of throwing SQLException
 2. getMoreResults is needed in case Statements returns several ReseltSet.
 Hive does not support Multiple ResultSets. So this method can safely always 
 return false.
 3. getUpdateCount. Currently this method always returns 0. Hive cannot tell 
 us how many rows were inserted. According to JDBC spec it should return  -1 
 if the current result is a ResultSet object or there are no more results 
 if this method returns 0 then in case of execution insert statement JDBC 
 client shows 0 rows were inserted which is not true.
 if this method returns -1 then JDBC client runs insert statements and  shows 
 that it was executed successfully, no result were returned. 
 I think the latter behaviour is more correct.
 4. Some methods in Statement class should throw 
 SQLFeatureNotSupportedException if they are not supported.  Current 
 implementation throws SQLException instead which means database access error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-20 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-20 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: (was: HIVE-6361.patch)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-20 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: HIVE-6361.patch

Attaching patch, commit 2e84999, parent 253a869.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-20 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-19 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: HIVE-6361.patch

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-19 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: (was: HIVE-6361.patch)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-19 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-19 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

Attaching re-based patch. Commit db5e7181d329331d76d6d53741beb87b44f5263f, 
parent commit 253a869dc62c7d36b1020a70932ddd35cb44cb81.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-19 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-19 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-14 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-14 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: (was: HIVE-6361.patch)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-14 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-14 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: HIVE-6361.patch

Add patch based on 21390db. Corresponds to 
https://github.com/julianhyde/hive/commit/ebe89fe8f93bfeb7976451eea8549acf3422b58f.

Fixes compile error in TestBeeLineWithArgs.java, and adds missing 
BeeLine.properties.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-14 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: (was: HIVE-6361.patch)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-14 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-14 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-14 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: HIVE-6361.patch

New patch attached.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14095682#comment-14095682
 ] 

Julian Hyde commented on HIVE-6361:
---

I've attached patches.

The patches are based on the 4 commits in the git branch 
https://github.com/julianhyde/hive/commits/sqlline-4. However if you want to 
see how each individual Hive commit was applied, see the un-squashed branch 
https://github.com/julianhyde/hive/commits/sqlline-0.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
 Attachments: 
 0001-Copy-https-github.com-julianhyde-sqlline-as-new-modu.patch, 
 0002-Refactor-SqlLine-into-org.apache.hive.sqlline-packag.patch, 
 0003-Merge-beeline-package-into-sqlline.patch, 
 0004-Apply-to-SqlLine-commits-made-to-BeeLine-in-trunk-ov.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: (was: 
0001-Copy-https-github.com-julianhyde-sqlline-as-new-modu.patch)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: (was: 
0004-Apply-to-SqlLine-commits-made-to-BeeLine-in-trunk-ov.patch)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: 0001-HIVE-6361-Un-fork-Sqlline.patch

This is a combined patch based on trunk 21390db.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: 0001-HIVE-6361-Un-fork-Sqlline.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: 0001-HIVE-6361-Un-fork-Sqlline.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

See attached, patch based on 21390db.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: (was: 0001-HIVE-6361-Un-fork-Sqlline.patch)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Open  (was: Patch Available)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-13 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: HIVE-6361.patch

Patch based on 21390db.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
Assignee: Julian Hyde
 Attachments: HIVE-6361.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-12 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Attachment: 0004-Apply-to-SqlLine-commits-made-to-BeeLine-in-trunk-ov.patch
0003-Merge-beeline-package-into-sqlline.patch
0002-Refactor-SqlLine-into-org.apache.hive.sqlline-packag.patch
0001-Copy-https-github.com-julianhyde-sqlline-as-new-modu.patch

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
 Attachments: 
 0001-Copy-https-github.com-julianhyde-sqlline-as-new-modu.patch, 
 0002-Refactor-SqlLine-into-org.apache.hive.sqlline-packag.patch, 
 0003-Merge-beeline-package-into-sqlline.patch, 
 0004-Apply-to-SqlLine-commits-made-to-BeeLine-in-trunk-ov.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6361) Un-fork Sqlline

2014-08-12 Thread Julian Hyde (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated HIVE-6361:
--

Status: Patch Available  (was: Open)

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde
 Attachments: 
 0001-Copy-https-github.com-julianhyde-sqlline-as-new-modu.patch, 
 0002-Refactor-SqlLine-into-org.apache.hive.sqlline-packag.patch, 
 0003-Merge-beeline-package-into-sqlline.patch, 
 0004-Apply-to-SqlLine-commits-made-to-BeeLine-in-trunk-ov.patch


 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HIVE-6361) Un-fork Sqlline

2014-08-05 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14086594#comment-14086594
 ] 

Julian Hyde commented on HIVE-6361:
---

A lot more than a week so far... but making progress: 
https://github.com/julianhyde/hive/commit/69460019e628c0077aec4865bba65b6aad11d5f4

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HIVE-6361) Un-fork Sqlline

2014-04-17 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13973500#comment-13973500
 ] 

Julian Hyde commented on HIVE-6361:
---

Agreed. Expect a patch in about a week.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HIVE-6361) Un-fork Sqlline

2014-02-04 Thread Julian Hyde (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13890847#comment-13890847
 ] 

Julian Hyde commented on HIVE-6361:
---

Additional step:

1.5. Re-organize Julian Hyde's sqlline to match structure of hive-beeline (in 
package org.apache.hive.sqlline, standard Hive formatting, and break out inner 
classes). Then it can more easily be compared with beeline.

I am working on a patch.

 Un-fork Sqlline
 ---

 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde

 I propose to merge the two development forks of sqlline: Hive's beeline 
 module, and the fork at https://github.com/julianhyde/sqlline.
 How did the forks come about? Hive’s SQL command-line interface Beeline was 
 created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it 
 was a useful but low-activity project languishing on SourceForge without an 
 active owner. Around the same time, Julian Hyde independently started a 
 github repo based on the same code base. Now several projects are using 
 Julian Hyde's sqlline, including Apache Drill, Apache Phoenix, Cascading 
 Lingual and Optiq.
 Merging these two forks will allow us to pool our resources. (Case in point: 
 Drill issue DRILL-327 had already been fixed in a later version of sqlline; 
 it still exists in beeline.)
 I propose the following steps:
 1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
 2. Port fixes to hive-beeline into hive-sqlline.
 3. Make hive-beeline depend on hive-sqlline, and remove code that is 
 identical. What remains in the hive-beeline module is Beeline.java (a derived 
 class of Sqlline.java) and Hive-specific extensions.
 4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.
 This achieves continuity for Hive’s users, gives the users of the non-Hive 
 sqlline a version with minimal dependencies, unifies the two code lines, and 
 brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (HIVE-6361) Un-fork Sqlline

2014-02-03 Thread Julian Hyde (JIRA)
Julian Hyde created HIVE-6361:
-

 Summary: Un-fork Sqlline
 Key: HIVE-6361
 URL: https://issues.apache.org/jira/browse/HIVE-6361
 Project: Hive
  Issue Type: Improvement
  Components: CLI
Affects Versions: 0.12.0
Reporter: Julian Hyde


I propose to merge the two development forks of sqlline: Hive's beeline module, 
and the fork at https://github.com/julianhyde/sqlline.

How did the forks come about? Hive’s SQL command-line interface Beeline was 
created by forking Sqlline (see HIVE-987, HIVE-3100), which at the time it was 
a useful but low-activity project languishing on SourceForge without an active 
owner. Around the same time, Julian Hyde independently started a github repo 
based on the same code base. Now several projects are using Julian Hyde's 
sqlline, including Apache Drill, Apache Phoenix, Cascading Lingual and Optiq.

Merging these two forks will allow us to pool our resources. (Case in point: 
Drill issue DRILL-327 had already been fixed in a later version of sqlline; it 
still exists in beeline.)

I propose the following steps:
1. Copy Julian Hyde's sqlline as a new Hive module, hive-sqlline.
2. Port fixes to hive-beeline into hive-sqlline.
3. Make hive-beeline depend on hive-sqlline, and remove code that is identical. 
What remains in the hive-beeline module is Beeline.java (a derived class of 
Sqlline.java) and Hive-specific extensions.
4. Make the hive-sqlline the official successor to Julian Hyde's sqlline.

This achieves continuity for Hive’s users, gives the users of the non-Hive 
sqlline a version with minimal dependencies, unifies the two code lines, and 
brings everything under the Apache roof.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)