[jira] [Comment Edited] (HAWQ-821) Inner function does not exist while invoking from outer function on mac osx

2016-07-04 Thread Ruilong Huo (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362124#comment-15362124
 ] 

Ruilong Huo edited comment on HAWQ-821 at 7/5/16 6:58 AM:
--

Per investigation, it is expected that:
1. The function works when optimizer is set to on, i.e., orca.
2. The function raise error "function inner(integer) does not exist" when 
optimizer is set to off, i.e., planner.

So, resolve this issue as "Not A Bug".


was (Author: huor):
Per investigation, it is expected that:
1. The function works when optimizer is set to on, i.e., orca.
2. The function raise error "function inner(integer) does not exist" when 
optimizer is set to off, i.e., planner.

So, resolve this issue as no fix needed.

> Inner function does not exist while invoking from outer function on mac osx
> ---
>
> Key: HAWQ-821
> URL: https://issues.apache.org/jira/browse/HAWQ-821
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Query Execution
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
> Fix For: 2.0.0
>
>
> In suite of function basics in new feature test framework, inner function 
> does not exist while invoking from outer function on mac osx. It works on 
> rhel 6.x.
>  
> {noformat}
> -- 1. prepare schema and data
> DROP TABLE IF EXISTS foo;
> CREATE TABLE foo AS SELECT * FROM generate_series(1, 10) x;
> CREATE FUNCTION inner(int) RETURNS INTEGER AS 'SELECT 1' LANGUAGE SQL 
> IMMUTABLE;
> CREATE FUNCTION outer(x INT) RETURNS INT AS $$
> BEGIN
> RETURN inner(x);
> END
> $$ LANGUAGE PLPGSQL;
> -- 2. run query on mac errors out with inner function does not exist
> SELECT outer(0);
>  outer
> ---
>  1
> (1 row)
> SELECT outer(0) FROM foo;
> ERROR:  function inner(integer) does not exist  (seg2 localhost:4 
> pid=30499)
> DETAIL:  PL/pgSQL function "outer" line 2 at return
> -- 3. run query on rhel 6.x succeed
> SELECT outer(0);
>  outer
> ---
>  1
> (1 row)
> SELECT outer(0) FROM foo;
>  outer
> ---
>  1
>  1
>  1
>  1
>  1
>  1
>  1
>  1
>  1
>  1
> (10 rows)
> -- 4. clean up
> DROP FUNCTION outer(int)
> DROP FUNCTION inner(int);
> {noformat}



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


[jira] [Commented] (HAWQ-821) Inner function does not exist while invoking from outer function on mac osx

2016-07-04 Thread Ruilong Huo (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362124#comment-15362124
 ] 

Ruilong Huo commented on HAWQ-821:
--

Per investigation, it is expected that:
1. The function works when optimizer is set to on, i.e., orca.
2. The function raise error "function inner(integer) does not exist" when 
optimizer is set to off, i.e., planner.

So, resolve this issue as no fix needed.

> Inner function does not exist while invoking from outer function on mac osx
> ---
>
> Key: HAWQ-821
> URL: https://issues.apache.org/jira/browse/HAWQ-821
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Query Execution
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> In suite of function basics in new feature test framework, inner function 
> does not exist while invoking from outer function on mac osx. It works on 
> rhel 6.x.
>  
> {noformat}
> -- 1. prepare schema and data
> DROP TABLE IF EXISTS foo;
> CREATE TABLE foo AS SELECT * FROM generate_series(1, 10) x;
> CREATE FUNCTION inner(int) RETURNS INTEGER AS 'SELECT 1' LANGUAGE SQL 
> IMMUTABLE;
> CREATE FUNCTION outer(x INT) RETURNS INT AS $$
> BEGIN
> RETURN inner(x);
> END
> $$ LANGUAGE PLPGSQL;
> -- 2. run query on mac errors out with inner function does not exist
> SELECT outer(0);
>  outer
> ---
>  1
> (1 row)
> SELECT outer(0) FROM foo;
> ERROR:  function inner(integer) does not exist  (seg2 localhost:4 
> pid=30499)
> DETAIL:  PL/pgSQL function "outer" line 2 at return
> -- 3. run query on rhel 6.x succeed
> SELECT outer(0);
>  outer
> ---
>  1
> (1 row)
> SELECT outer(0) FROM foo;
>  outer
> ---
>  1
>  1
>  1
>  1
>  1
>  1
>  1
>  1
>  1
>  1
> (10 rows)
> -- 4. clean up
> DROP FUNCTION outer(int)
> DROP FUNCTION inner(int);
> {noformat}



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


[jira] [Commented] (HAWQ-805) Refactor feature test for exttab1 with new framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362103#comment-15362103
 ] 

ASF GitHub Bot commented on HAWQ-805:
-

Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/772
  
Merged into master.


> Refactor feature test for exttab1 with new framework
> 
>
> Key: HAWQ-805
> URL: https://issues.apache.org/jira/browse/HAWQ-805
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Reporter: hongwu
>Assignee: hongwu
>




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


[GitHub] incubator-hawq pull request #:

2016-07-04 Thread xunzhang
Github user xunzhang commented on the pull request:


https://github.com/apache/incubator-hawq/commit/8b79e10fdb952ad1fd22d377689d434092400a0f#commitcomment-18119842
  
https://github.com/apache/incubator-hawq/pull/772


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #772: HAWQ-805. Fix version dismatch, and wrong ...

2016-07-04 Thread xunzhang
Github user xunzhang closed the pull request at:

https://github.com/apache/incubator-hawq/pull/772


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-805) Refactor feature test for exttab1 with new framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362104#comment-15362104
 ] 

ASF GitHub Bot commented on HAWQ-805:
-

Github user xunzhang closed the pull request at:

https://github.com/apache/incubator-hawq/pull/772


> Refactor feature test for exttab1 with new framework
> 
>
> Key: HAWQ-805
> URL: https://issues.apache.org/jira/browse/HAWQ-805
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Reporter: hongwu
>Assignee: hongwu
>




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


[GitHub] incubator-hawq issue #772: HAWQ-805. Fix version dismatch, and wrong error i...

2016-07-04 Thread xunzhang
Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/772
  
Merged into master.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-805) Refactor feature test for exttab1 with new framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362090#comment-15362090
 ] 

ASF GitHub Bot commented on HAWQ-805:
-

Github user huor commented on the issue:

https://github.com/apache/incubator-hawq/pull/772
  
+1


> Refactor feature test for exttab1 with new framework
> 
>
> Key: HAWQ-805
> URL: https://issues.apache.org/jira/browse/HAWQ-805
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Reporter: hongwu
>Assignee: hongwu
>




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


[GitHub] incubator-hawq issue #772: HAWQ-805. Fix version dismatch, and wrong error i...

2016-07-04 Thread huor
Github user huor commented on the issue:

https://github.com/apache/incubator-hawq/pull/772
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #752: HAWQ-814. Add ShareLibraryGen utility in c...

2016-07-04 Thread huor
Github user huor closed the pull request at:

https://github.com/apache/incubator-hawq/pull/752


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-814) Enhance user-defined function by migrating create_function_1 of UDF from installcheck to new feature test framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362088#comment-15362088
 ] 

ASF GitHub Bot commented on HAWQ-814:
-

Github user huor closed the pull request at:

https://github.com/apache/incubator-hawq/pull/752


> Enhance user-defined function by migrating create_function_1 of UDF from 
> installcheck to new feature test framework
> ---
>
> Key: HAWQ-814
> URL: https://issues.apache.org/jira/browse/HAWQ-814
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> Need to migrate create_function_1 test in installcheck-good to new feature 
> test framework.



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


[jira] [Commented] (HAWQ-814) Enhance user-defined function by migrating create_function_1 of UDF from installcheck to new feature test framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362086#comment-15362086
 ] 

ASF GitHub Bot commented on HAWQ-814:
-

Github user radarwave commented on the issue:

https://github.com/apache/incubator-hawq/pull/752
  
+1


> Enhance user-defined function by migrating create_function_1 of UDF from 
> installcheck to new feature test framework
> ---
>
> Key: HAWQ-814
> URL: https://issues.apache.org/jira/browse/HAWQ-814
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> Need to migrate create_function_1 test in installcheck-good to new feature 
> test framework.



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


[GitHub] incubator-hawq issue #752: HAWQ-814. Add ShareLibraryGen utility in common l...

2016-07-04 Thread radarwave
Github user radarwave commented on the issue:

https://github.com/apache/incubator-hawq/pull/752
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-814) Enhance user-defined function by migrating create_function_1 of UDF from installcheck to new feature test framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362081#comment-15362081
 ] 

ASF GitHub Bot commented on HAWQ-814:
-

Github user yaoj2 commented on the issue:

https://github.com/apache/incubator-hawq/pull/752
  
+1


> Enhance user-defined function by migrating create_function_1 of UDF from 
> installcheck to new feature test framework
> ---
>
> Key: HAWQ-814
> URL: https://issues.apache.org/jira/browse/HAWQ-814
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> Need to migrate create_function_1 test in installcheck-good to new feature 
> test framework.



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


[GitHub] incubator-hawq issue #752: HAWQ-814. Add ShareLibraryGen utility in common l...

2016-07-04 Thread yaoj2
Github user yaoj2 commented on the issue:

https://github.com/apache/incubator-hawq/pull/752
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq issue #772: HAWQ-805. Fix version dismatch, and wrong error i...

2016-07-04 Thread yaoj2
Github user yaoj2 commented on the issue:

https://github.com/apache/incubator-hawq/pull/772
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-805) Refactor feature test for exttab1 with new framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362080#comment-15362080
 ] 

ASF GitHub Bot commented on HAWQ-805:
-

Github user yaoj2 commented on the issue:

https://github.com/apache/incubator-hawq/pull/772
  
+1


> Refactor feature test for exttab1 with new framework
> 
>
> Key: HAWQ-805
> URL: https://issues.apache.org/jira/browse/HAWQ-805
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Reporter: hongwu
>Assignee: hongwu
>




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


[jira] [Commented] (HAWQ-805) Refactor feature test for exttab1 with new framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362079#comment-15362079
 ] 

ASF GitHub Bot commented on HAWQ-805:
-

Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/772
  
cc @huor @yaoj2 


> Refactor feature test for exttab1 with new framework
> 
>
> Key: HAWQ-805
> URL: https://issues.apache.org/jira/browse/HAWQ-805
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Reporter: hongwu
>Assignee: hongwu
>




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


[jira] [Commented] (HAWQ-805) Refactor feature test for exttab1 with new framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362077#comment-15362077
 ] 

ASF GitHub Bot commented on HAWQ-805:
-

GitHub user xunzhang opened a pull request:

https://github.com/apache/incubator-hawq/pull/772

HAWQ-805. Fix version dismatch, and wrong error info with ocra ON.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/xunzhang/incubator-hawq HAWQ-805

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/772.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #772


commit ac1595eea5e55d7980ad2b59e17ee79a1cbb1ff2
Author: xunzhang 
Date:   2016-07-05T06:18:45Z

HAWQ-805. Fix version dismatch, and wrong error info with ocra ON.




> Refactor feature test for exttab1 with new framework
> 
>
> Key: HAWQ-805
> URL: https://issues.apache.org/jira/browse/HAWQ-805
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Reporter: hongwu
>Assignee: hongwu
>




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


[GitHub] incubator-hawq issue #772: HAWQ-805. Fix version dismatch, and wrong error i...

2016-07-04 Thread xunzhang
Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/772
  
cc @huor @yaoj2 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #772: HAWQ-805. Fix version dismatch, and wrong ...

2016-07-04 Thread xunzhang
GitHub user xunzhang opened a pull request:

https://github.com/apache/incubator-hawq/pull/772

HAWQ-805. Fix version dismatch, and wrong error info with ocra ON.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/xunzhang/incubator-hawq HAWQ-805

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/772.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #772


commit ac1595eea5e55d7980ad2b59e17ee79a1cbb1ff2
Author: xunzhang 
Date:   2016-07-05T06:18:45Z

HAWQ-805. Fix version dismatch, and wrong error info with ocra ON.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-867) Replace the git-submobule mechanism with git-clone

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362051#comment-15362051
 ] 

ASF GitHub Bot commented on HAWQ-867:
-

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-hawq/pull/771


> Replace the git-submobule mechanism with git-clone
> --
>
> Key: HAWQ-867
> URL: https://issues.apache.org/jira/browse/HAWQ-867
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Paul Guo
>
> Currently some features/extensions (e.g. pycrytpo, gporca, etc) are embedded 
> into hawq code via the git submodule mechanism which is similar to a link. In 
> hawq git repo, during hawq build, it will download the submodule repos and 
> build those functionality, however if we decide to generate a source tarball 
> which is independent on the git repo, this will be an issue.



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


[GitHub] incubator-hawq pull request #771: HAWQ-867. Replace the git-submobule mechan...

2016-07-04 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-hawq/pull/771


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-867) Replace the git-submobule mechanism with git-clone

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362043#comment-15362043
 ] 

ASF GitHub Bot commented on HAWQ-867:
-

Github user radarwave commented on the issue:

https://github.com/apache/incubator-hawq/pull/771
  
+1


> Replace the git-submobule mechanism with git-clone
> --
>
> Key: HAWQ-867
> URL: https://issues.apache.org/jira/browse/HAWQ-867
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Paul Guo
>
> Currently some features/extensions (e.g. pycrytpo, gporca, etc) are embedded 
> into hawq code via the git submodule mechanism which is similar to a link. In 
> hawq git repo, during hawq build, it will download the submodule repos and 
> build those functionality, however if we decide to generate a source tarball 
> which is independent on the git repo, this will be an issue.



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


[jira] [Commented] (HAWQ-867) Replace the git-submobule mechanism with git-clone

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362045#comment-15362045
 ] 

ASF GitHub Bot commented on HAWQ-867:
-

Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/771
  
+1


> Replace the git-submobule mechanism with git-clone
> --
>
> Key: HAWQ-867
> URL: https://issues.apache.org/jira/browse/HAWQ-867
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Paul Guo
>
> Currently some features/extensions (e.g. pycrytpo, gporca, etc) are embedded 
> into hawq code via the git submodule mechanism which is similar to a link. In 
> hawq git repo, during hawq build, it will download the submodule repos and 
> build those functionality, however if we decide to generate a source tarball 
> which is independent on the git repo, this will be an issue.



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


[GitHub] incubator-hawq issue #771: HAWQ-867. Replace the git-submobule mechanism wit...

2016-07-04 Thread xunzhang
Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/771
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq issue #771: HAWQ-867. Replace the git-submobule mechanism wit...

2016-07-04 Thread radarwave
Github user radarwave commented on the issue:

https://github.com/apache/incubator-hawq/pull/771
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #771: HAWQ-867. Replace the git-submobule mechan...

2016-07-04 Thread paul-guo-
GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq/pull/771

HAWQ-867. Replace the git-submobule mechanism with git-clone

This is a further code change based on the previous patch for this JIRA.
This patch updates the pgcrypto commit number to the correct one
which we previously used.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paul-guo-/incubator-hawq snappy

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/771.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #771


commit 17f698289ae9b0a6a33b4eb692504d892e1cb1c1
Author: Paul Guo 
Date:   2016-07-05T05:25:06Z

HAWQ-867. Replace the git-submobule mechanism with git-clone

This is a further code change based on the previous patch for this JIRA.
This patch updates the pgcrypto commit number to the correct one
which we previously used.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-867) Replace the git-submobule mechanism with git-clone

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362040#comment-15362040
 ] 

ASF GitHub Bot commented on HAWQ-867:
-

GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq/pull/771

HAWQ-867. Replace the git-submobule mechanism with git-clone

This is a further code change based on the previous patch for this JIRA.
This patch updates the pgcrypto commit number to the correct one
which we previously used.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paul-guo-/incubator-hawq snappy

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/771.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #771


commit 17f698289ae9b0a6a33b4eb692504d892e1cb1c1
Author: Paul Guo 
Date:   2016-07-05T05:25:06Z

HAWQ-867. Replace the git-submobule mechanism with git-clone

This is a further code change based on the previous patch for this JIRA.
This patch updates the pgcrypto commit number to the correct one
which we previously used.




> Replace the git-submobule mechanism with git-clone
> --
>
> Key: HAWQ-867
> URL: https://issues.apache.org/jira/browse/HAWQ-867
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Paul Guo
>
> Currently some features/extensions (e.g. pycrytpo, gporca, etc) are embedded 
> into hawq code via the git submodule mechanism which is similar to a link. In 
> hawq git repo, during hawq build, it will download the submodule repos and 
> build those functionality, however if we decide to generate a source tarball 
> which is independent on the git repo, this will be an issue.



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


[jira] [Commented] (HAWQ-814) Enhance user-defined function by migrating create_function_1 of UDF from installcheck to new feature test framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361990#comment-15361990
 ] 

ASF GitHub Bot commented on HAWQ-814:
-

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-hawq/pull/770


> Enhance user-defined function by migrating create_function_1 of UDF from 
> installcheck to new feature test framework
> ---
>
> Key: HAWQ-814
> URL: https://issues.apache.org/jira/browse/HAWQ-814
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> Need to migrate create_function_1 test in installcheck-good to new feature 
> test framework.



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


[GitHub] incubator-hawq pull request #770: HAWQ-814. Enable parallel compilation of s...

2016-07-04 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-hawq/pull/770


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-814) Enhance user-defined function by migrating create_function_1 of UDF from installcheck to new feature test framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361987#comment-15361987
 ] 

ASF GitHub Bot commented on HAWQ-814:
-

Github user radarwave commented on the issue:

https://github.com/apache/incubator-hawq/pull/770
  
Looks good to me. +1


> Enhance user-defined function by migrating create_function_1 of UDF from 
> installcheck to new feature test framework
> ---
>
> Key: HAWQ-814
> URL: https://issues.apache.org/jira/browse/HAWQ-814
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> Need to migrate create_function_1 test in installcheck-good to new feature 
> test framework.



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


[jira] [Commented] (HAWQ-814) Enhance user-defined function by migrating create_function_1 of UDF from installcheck to new feature test framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361983#comment-15361983
 ] 

ASF GitHub Bot commented on HAWQ-814:
-

Github user yaoj2 commented on the issue:

https://github.com/apache/incubator-hawq/pull/770
  
+1


> Enhance user-defined function by migrating create_function_1 of UDF from 
> installcheck to new feature test framework
> ---
>
> Key: HAWQ-814
> URL: https://issues.apache.org/jira/browse/HAWQ-814
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> Need to migrate create_function_1 test in installcheck-good to new feature 
> test framework.



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


[GitHub] incubator-hawq issue #770: HAWQ-814. Enable parallel compilation of share li...

2016-07-04 Thread radarwave
Github user radarwave commented on the issue:

https://github.com/apache/incubator-hawq/pull/770
  
Looks good to me. +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq issue #770: HAWQ-814. Enable parallel compilation of share li...

2016-07-04 Thread yaoj2
Github user yaoj2 commented on the issue:

https://github.com/apache/incubator-hawq/pull/770
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-814) Enhance user-defined function by migrating create_function_1 of UDF from installcheck to new feature test framework

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361982#comment-15361982
 ] 

ASF GitHub Bot commented on HAWQ-814:
-

GitHub user huor opened a pull request:

https://github.com/apache/incubator-hawq/pull/770

HAWQ-814. Enable parallel compilation of share library and remove 
create_function_1 from installcheck

@xunzhang, @yaoj2, @radarwave, please review

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/huor/incubator-hawq huor_function

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/770.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #770


commit 8f32e417e0b58c2c2815b671b188af6f5d72fd5e
Author: Ruilong Huo 
Date:   2016-07-05T04:27:11Z

HAWQ-814. Enable parallel compilation of share library and remove 
create_function_1 from installcheck




> Enhance user-defined function by migrating create_function_1 of UDF from 
> installcheck to new feature test framework
> ---
>
> Key: HAWQ-814
> URL: https://issues.apache.org/jira/browse/HAWQ-814
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> Need to migrate create_function_1 test in installcheck-good to new feature 
> test framework.



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


[GitHub] incubator-hawq pull request #770: HAWQ-814. Enable parallel compilation of s...

2016-07-04 Thread huor
GitHub user huor opened a pull request:

https://github.com/apache/incubator-hawq/pull/770

HAWQ-814. Enable parallel compilation of share library and remove 
create_function_1 from installcheck

@xunzhang, @yaoj2, @radarwave, please review

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/huor/incubator-hawq huor_function

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/770.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #770


commit 8f32e417e0b58c2c2815b671b188af6f5d72fd5e
Author: Ruilong Huo 
Date:   2016-07-05T04:27:11Z

HAWQ-814. Enable parallel compilation of share library and remove 
create_function_1 from installcheck




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-888) Hack to avoid deleted files being shown in "git status" after building.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361937#comment-15361937
 ] 

ASF GitHub Bot commented on HAWQ-888:
-

Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/768
  
It works correct, but I do not recommend this implementation. I think 
further discussion needs to be done.


> Hack to avoid deleted files being shown in "git status" after building.
> ---
>
> Key: HAWQ-888
> URL: https://issues.apache.org/jira/browse/HAWQ-888
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Build
>Reporter: Paul Guo
>Assignee: Paul Guo
>
> After building with pgcrypto, plr, orca, the git repos will have the 
> following tracked files. 
> Changes not staged for commit:
>   (use "git add/rm ..." to update what will be committed)
>   (use "git checkout -- ..." to discard changes in working directory)
> deleted:gp-xerces/git_keep_empty_directory.readme
> deleted:gporca/git_keep_empty_directory.readme
> deleted:gpos/git_keep_empty_directory.readme
> deleted:postgres/git_keep_empty_directory.readme
> deleted:../../src/pl/plr/git_keep_empty_directory.readme
> Those files are just to remind developers to not write the directory (git 
> does not save empty directories). This is really annoying. .gitignore does 
> not resolve this issue.
> A simple and elegant solution is:
> git update-index --assume-unchanged 
> however followering error is seen after parallel building, 
> fatal: Unable to create '/data2/github/incubator-hawq/.git/index.lock': File 
> exists.
> If no other git process is currently running, this probably means a
> git process crashed in this repository earlier. Make sure no other git
> process is running and remove the file manually to continue.
> I do not want to waste too much time in digging into git internals, instead,
> I'd try another simple solution:
> -   rm -f git_keep_empty_directory.readme; \
> +   mv -f gporca.git_keep_empty_directory.readme ..; \
> [ ! -d .git ] && git clone $(gporca_git) . && git checkout 
> $(gporca_branch); \
> +   mv -f ../gporca.git_keep_empty_directory.readme .; \



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


[GitHub] incubator-hawq issue #768: HAWQ-888. Hack to avoid deleted files being shown...

2016-07-04 Thread xunzhang
Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/768
  
It works correct, but I do not recommend this implementation. I think 
further discussion needs to be done.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Closed] (HAWQ-868) README.md needs to update

2016-07-04 Thread Paul Guo (JIRA)

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

Paul Guo closed HAWQ-868.
-
Resolution: Fixed
  Assignee: Paul Guo  (was: Lei Chang)

> README.md needs to update
> -
>
> Key: HAWQ-868
> URL: https://issues.apache.org/jira/browse/HAWQ-868
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Paul Guo
>
> 1. Need to reflect some recent changes (e.g. no quicklz support now).
> 2. Need to provide more information so that users could learn it easier.
> (e.g. dev/user maillist, license, wiki, etc).



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


[jira] [Closed] (HAWQ-889) Tweak the error output for quicklz table creation.

2016-07-04 Thread Paul Guo (JIRA)

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

Paul Guo closed HAWQ-889.
-
Resolution: Fixed
  Assignee: Paul Guo  (was: Lei Chang)

> Tweak the error output for quicklz table creation.
> --
>
> Key: HAWQ-889
> URL: https://issues.apache.org/jira/browse/HAWQ-889
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Paul Guo
>
> This is a tiny bug. Previously "compresstype quicklz is not supported 
> anymore" reported this and we thought this is a big confusing, so decided to 
> remove the word "anymore".



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


[jira] [Commented] (HAWQ-868) README.md needs to update

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361930#comment-15361930
 ] 

ASF GitHub Bot commented on HAWQ-868:
-

Github user paul-guo- commented on the issue:

https://github.com/apache/incubator-hawq/pull/767
  
Merged.


> README.md needs to update
> -
>
> Key: HAWQ-868
> URL: https://issues.apache.org/jira/browse/HAWQ-868
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> 1. Need to reflect some recent changes (e.g. no quicklz support now).
> 2. Need to provide more information so that users could learn it easier.
> (e.g. dev/user maillist, license, wiki, etc).



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


[jira] [Commented] (HAWQ-889) Tweak the error output for quicklz table creation.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361932#comment-15361932
 ] 

ASF GitHub Bot commented on HAWQ-889:
-

Github user paul-guo- closed the pull request at:

https://github.com/apache/incubator-hawq/pull/769


> Tweak the error output for quicklz table creation.
> --
>
> Key: HAWQ-889
> URL: https://issues.apache.org/jira/browse/HAWQ-889
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> This is a tiny bug. Previously "compresstype quicklz is not supported 
> anymore" reported this and we thought this is a big confusing, so decided to 
> remove the word "anymore".



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


[jira] [Commented] (HAWQ-868) README.md needs to update

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361931#comment-15361931
 ] 

ASF GitHub Bot commented on HAWQ-868:
-

Github user paul-guo- closed the pull request at:

https://github.com/apache/incubator-hawq/pull/767


> README.md needs to update
> -
>
> Key: HAWQ-868
> URL: https://issues.apache.org/jira/browse/HAWQ-868
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> 1. Need to reflect some recent changes (e.g. no quicklz support now).
> 2. Need to provide more information so that users could learn it easier.
> (e.g. dev/user maillist, license, wiki, etc).



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


[jira] [Commented] (HAWQ-889) Tweak the error output for quicklz table creation.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361933#comment-15361933
 ] 

ASF GitHub Bot commented on HAWQ-889:
-

Github user paul-guo- commented on the issue:

https://github.com/apache/incubator-hawq/pull/769
  
Merged.


> Tweak the error output for quicklz table creation.
> --
>
> Key: HAWQ-889
> URL: https://issues.apache.org/jira/browse/HAWQ-889
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> This is a tiny bug. Previously "compresstype quicklz is not supported 
> anymore" reported this and we thought this is a big confusing, so decided to 
> remove the word "anymore".



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


[GitHub] incubator-hawq pull request #767: HAWQ-868. README.md needs to update

2016-07-04 Thread paul-guo-
Github user paul-guo- closed the pull request at:

https://github.com/apache/incubator-hawq/pull/767


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq issue #769: HAWQ-889. Tweak the error output for quicklz tabl...

2016-07-04 Thread paul-guo-
Github user paul-guo- commented on the issue:

https://github.com/apache/incubator-hawq/pull/769
  
Merged.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq issue #767: HAWQ-868. README.md needs to update

2016-07-04 Thread paul-guo-
Github user paul-guo- commented on the issue:

https://github.com/apache/incubator-hawq/pull/767
  
Merged.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #769: HAWQ-889. Tweak the error output for quick...

2016-07-04 Thread paul-guo-
Github user paul-guo- closed the pull request at:

https://github.com/apache/incubator-hawq/pull/769


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Assigned] (HAWQ-888) Hack to avoid deleted files being shown in "git status" after building.

2016-07-04 Thread Paul Guo (JIRA)

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

Paul Guo reassigned HAWQ-888:
-

Assignee: Paul Guo  (was: Lei Chang)

> Hack to avoid deleted files being shown in "git status" after building.
> ---
>
> Key: HAWQ-888
> URL: https://issues.apache.org/jira/browse/HAWQ-888
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Build
>Reporter: Paul Guo
>Assignee: Paul Guo
>
> After building with pgcrypto, plr, orca, the git repos will have the 
> following tracked files. 
> Changes not staged for commit:
>   (use "git add/rm ..." to update what will be committed)
>   (use "git checkout -- ..." to discard changes in working directory)
> deleted:gp-xerces/git_keep_empty_directory.readme
> deleted:gporca/git_keep_empty_directory.readme
> deleted:gpos/git_keep_empty_directory.readme
> deleted:postgres/git_keep_empty_directory.readme
> deleted:../../src/pl/plr/git_keep_empty_directory.readme
> Those files are just to remind developers to not write the directory (git 
> does not save empty directories). This is really annoying. .gitignore does 
> not resolve this issue.
> A simple and elegant solution is:
> git update-index --assume-unchanged 
> however followering error is seen after parallel building, 
> fatal: Unable to create '/data2/github/incubator-hawq/.git/index.lock': File 
> exists.
> If no other git process is currently running, this probably means a
> git process crashed in this repository earlier. Make sure no other git
> process is running and remove the file manually to continue.
> I do not want to waste too much time in digging into git internals, instead,
> I'd try another simple solution:
> -   rm -f git_keep_empty_directory.readme; \
> +   mv -f gporca.git_keep_empty_directory.readme ..; \
> [ ! -d .git ] && git clone $(gporca_git) . && git checkout 
> $(gporca_branch); \
> +   mv -f ../gporca.git_keep_empty_directory.readme .; \



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


[jira] [Commented] (HAWQ-889) Tweak the error output for quicklz table creation.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361909#comment-15361909
 ] 

ASF GitHub Bot commented on HAWQ-889:
-

Github user ictmalili commented on the issue:

https://github.com/apache/incubator-hawq/pull/769
  
LGTM.


> Tweak the error output for quicklz table creation.
> --
>
> Key: HAWQ-889
> URL: https://issues.apache.org/jira/browse/HAWQ-889
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> This is a tiny bug. Previously "compresstype quicklz is not supported 
> anymore" reported this and we thought this is a big confusing, so decided to 
> remove the word "anymore".



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


[GitHub] incubator-hawq issue #769: HAWQ-889. Tweak the error output for quicklz tabl...

2016-07-04 Thread ztao1987
Github user ztao1987 commented on the issue:

https://github.com/apache/incubator-hawq/pull/769
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-889) Tweak the error output for quicklz table creation.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361911#comment-15361911
 ] 

ASF GitHub Bot commented on HAWQ-889:
-

Github user ztao1987 commented on the issue:

https://github.com/apache/incubator-hawq/pull/769
  
+1


> Tweak the error output for quicklz table creation.
> --
>
> Key: HAWQ-889
> URL: https://issues.apache.org/jira/browse/HAWQ-889
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> This is a tiny bug. Previously "compresstype quicklz is not supported 
> anymore" reported this and we thought this is a big confusing, so decided to 
> remove the word "anymore".



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


[GitHub] incubator-hawq issue #769: HAWQ-889. Tweak the error output for quicklz tabl...

2016-07-04 Thread ictmalili
Github user ictmalili commented on the issue:

https://github.com/apache/incubator-hawq/pull/769
  
LGTM.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-889) Tweak the error output for quicklz table creation.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361907#comment-15361907
 ] 

ASF GitHub Bot commented on HAWQ-889:
-

GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq/pull/769

HAWQ-889. Tweak the error output for quicklz table creation.

A tiny bug.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paul-guo-/incubator-hawq snappy

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/769.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #769


commit 449f58c60c61f2b1f6d33598b1b9e0ca490045b3
Author: Paul Guo 
Date:   2016-07-05T02:18:19Z

HAWQ-889. Tweak the error output for quicklz table creation.




> Tweak the error output for quicklz table creation.
> --
>
> Key: HAWQ-889
> URL: https://issues.apache.org/jira/browse/HAWQ-889
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> This is a tiny bug. Previously "compresstype quicklz is not supported 
> anymore" reported this and we thought this is a big confusing, so decided to 
> remove the word "anymore".



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


[GitHub] incubator-hawq pull request #769: HAWQ-889. Tweak the error output for quick...

2016-07-04 Thread paul-guo-
GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq/pull/769

HAWQ-889. Tweak the error output for quicklz table creation.

A tiny bug.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paul-guo-/incubator-hawq snappy

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/769.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #769


commit 449f58c60c61f2b1f6d33598b1b9e0ca490045b3
Author: Paul Guo 
Date:   2016-07-05T02:18:19Z

HAWQ-889. Tweak the error output for quicklz table creation.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (HAWQ-889) Tweak the error output for quicklz table creation.

2016-07-04 Thread Paul Guo (JIRA)
Paul Guo created HAWQ-889:
-

 Summary: Tweak the error output for quicklz table creation.
 Key: HAWQ-889
 URL: https://issues.apache.org/jira/browse/HAWQ-889
 Project: Apache HAWQ
  Issue Type: Bug
Reporter: Paul Guo
Assignee: Lei Chang


This is a tiny bug. Previously "compresstype quicklz is not supported anymore" 
reported this and we thought this is a big confusing, so decided to remove the 
word "anymore".



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


[jira] [Commented] (HAWQ-868) README.md needs to update

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361901#comment-15361901
 ] 

ASF GitHub Bot commented on HAWQ-868:
-

Github user ztao1987 commented on the issue:

https://github.com/apache/incubator-hawq/pull/767
  
+1


> README.md needs to update
> -
>
> Key: HAWQ-868
> URL: https://issues.apache.org/jira/browse/HAWQ-868
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> 1. Need to reflect some recent changes (e.g. no quicklz support now).
> 2. Need to provide more information so that users could learn it easier.
> (e.g. dev/user maillist, license, wiki, etc).



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


[GitHub] incubator-hawq issue #767: HAWQ-868. README.md needs to update

2016-07-04 Thread ztao1987
Github user ztao1987 commented on the issue:

https://github.com/apache/incubator-hawq/pull/767
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-868) README.md needs to update

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361894#comment-15361894
 ] 

ASF GitHub Bot commented on HAWQ-868:
-

Github user ictmalili commented on the issue:

https://github.com/apache/incubator-hawq/pull/767
  
+1


> README.md needs to update
> -
>
> Key: HAWQ-868
> URL: https://issues.apache.org/jira/browse/HAWQ-868
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> 1. Need to reflect some recent changes (e.g. no quicklz support now).
> 2. Need to provide more information so that users could learn it easier.
> (e.g. dev/user maillist, license, wiki, etc).



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


[GitHub] incubator-hawq issue #767: HAWQ-868. README.md needs to update

2016-07-04 Thread ictmalili
Github user ictmalili commented on the issue:

https://github.com/apache/incubator-hawq/pull/767
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-888) Hack to avoid deleted files being shown in "git status" after building.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361132#comment-15361132
 ] 

ASF GitHub Bot commented on HAWQ-888:
-

GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq/pull/768

HAWQ-888. Hack to avoid deleted files being shown in "git status" aft…

…er building.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paul-guo-/incubator-hawq make

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/768.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #768


commit 0e206f294f39d6882a9af4416ac41252502e8268
Author: Paul Guo 
Date:   2016-07-04T09:59:24Z

HAWQ-888. Hack to avoid deleted files being shown in "git status" after 
building.




> Hack to avoid deleted files being shown in "git status" after building.
> ---
>
> Key: HAWQ-888
> URL: https://issues.apache.org/jira/browse/HAWQ-888
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Build
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> After building with pgcrypto, plr, orca, the git repos will have the 
> following tracked files. 
> Changes not staged for commit:
>   (use "git add/rm ..." to update what will be committed)
>   (use "git checkout -- ..." to discard changes in working directory)
> deleted:gp-xerces/git_keep_empty_directory.readme
> deleted:gporca/git_keep_empty_directory.readme
> deleted:gpos/git_keep_empty_directory.readme
> deleted:postgres/git_keep_empty_directory.readme
> deleted:../../src/pl/plr/git_keep_empty_directory.readme
> Those files are just to remind developers to not write the directory (git 
> does not save empty directories). This is really annoying. .gitignore does 
> not resolve this issue.
> A simple and elegant solution is:
> git update-index --assume-unchanged 
> however followering error is seen after parallel building, 
> fatal: Unable to create '/data2/github/incubator-hawq/.git/index.lock': File 
> exists.
> If no other git process is currently running, this probably means a
> git process crashed in this repository earlier. Make sure no other git
> process is running and remove the file manually to continue.
> I do not want to waste too much time in digging into git internals, instead,
> I'd try another simple solution:
> -   rm -f git_keep_empty_directory.readme; \
> +   mv -f gporca.git_keep_empty_directory.readme ..; \
> [ ! -d .git ] && git clone $(gporca_git) . && git checkout 
> $(gporca_branch); \
> +   mv -f ../gporca.git_keep_empty_directory.readme .; \



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


[GitHub] incubator-hawq pull request #768: HAWQ-888. Hack to avoid deleted files bein...

2016-07-04 Thread paul-guo-
GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq/pull/768

HAWQ-888. Hack to avoid deleted files being shown in "git status" aft…

…er building.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paul-guo-/incubator-hawq make

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/768.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #768


commit 0e206f294f39d6882a9af4416ac41252502e8268
Author: Paul Guo 
Date:   2016-07-04T09:59:24Z

HAWQ-888. Hack to avoid deleted files being shown in "git status" after 
building.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-868) README.md needs to update

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361123#comment-15361123
 ] 

ASF GitHub Bot commented on HAWQ-868:
-

GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq/pull/767

HAWQ-868. README.md needs to update



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paul-guo-/incubator-hawq readme

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/767.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #767


commit 88704bc22e05aee27e101cfcd48bcce5b3ba8a50
Author: Paul Guo 
Date:   2016-07-04T10:03:24Z

HAWQ-868. README.md needs to update




> README.md needs to update
> -
>
> Key: HAWQ-868
> URL: https://issues.apache.org/jira/browse/HAWQ-868
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Lei Chang
>
> 1. Need to reflect some recent changes (e.g. no quicklz support now).
> 2. Need to provide more information so that users could learn it easier.
> (e.g. dev/user maillist, license, wiki, etc).



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


[GitHub] incubator-hawq pull request #767: HAWQ-868. README.md needs to update

2016-07-04 Thread paul-guo-
GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq/pull/767

HAWQ-868. README.md needs to update



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paul-guo-/incubator-hawq readme

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/767.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #767


commit 88704bc22e05aee27e101cfcd48bcce5b3ba8a50
Author: Paul Guo 
Date:   2016-07-04T10:03:24Z

HAWQ-868. README.md needs to update




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (HAWQ-888) Hack to avoid deleted files being shown in "git status" after building.

2016-07-04 Thread Paul Guo (JIRA)
Paul Guo created HAWQ-888:
-

 Summary: Hack to avoid deleted files being shown in "git status" 
after building.
 Key: HAWQ-888
 URL: https://issues.apache.org/jira/browse/HAWQ-888
 Project: Apache HAWQ
  Issue Type: Bug
  Components: Build
Reporter: Paul Guo
Assignee: Lei Chang


After building with pgcrypto, plr, orca, the git repos will have the following 
tracked files. 

Changes not staged for commit:
  (use "git add/rm ..." to update what will be committed)
  (use "git checkout -- ..." to discard changes in working directory)

deleted:gp-xerces/git_keep_empty_directory.readme
deleted:gporca/git_keep_empty_directory.readme
deleted:gpos/git_keep_empty_directory.readme
deleted:postgres/git_keep_empty_directory.readme
deleted:../../src/pl/plr/git_keep_empty_directory.readme

Those files are just to remind developers to not write the directory (git does 
not save empty directories). This is really annoying. .gitignore does not 
resolve this issue.

A simple and elegant solution is:
git update-index --assume-unchanged 
however followering error is seen after parallel building, 
fatal: Unable to create '/data2/github/incubator-hawq/.git/index.lock': File 
exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.

I do not want to waste too much time in digging into git internals, instead,
I'd try another simple solution:

-   rm -f git_keep_empty_directory.readme; \
+   mv -f gporca.git_keep_empty_directory.readme ..; \
[ ! -d .git ] && git clone $(gporca_git) . && git checkout 
$(gporca_branch); \
+   mv -f ../gporca.git_keep_empty_directory.readme .; \



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


[jira] [Updated] (HAWQ-814) Enhance user-defined function by migrating create_function_1 of UDF from installcheck to new feature test framework

2016-07-04 Thread Ruilong Huo (JIRA)

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

Ruilong Huo updated HAWQ-814:
-
Summary: Enhance user-defined function by migrating create_function_1 of 
UDF from installcheck to new feature test framework  (was: Add feature test for 
create_function_1 of user-defined function using new feature test framework)

> Enhance user-defined function by migrating create_function_1 of UDF from 
> installcheck to new feature test framework
> ---
>
> Key: HAWQ-814
> URL: https://issues.apache.org/jira/browse/HAWQ-814
> Project: Apache HAWQ
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 2.0.0
>Reporter: Ruilong Huo
>Assignee: Ruilong Huo
>
> Need to migrate create_function_1 test in installcheck-good to new feature 
> test framework.



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


[GitHub] incubator-hawq pull request #766: HAWQ-887. Query should be continued when b...

2016-07-04 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-hawq/pull/766


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-887) Query should be continued when bucket number of result hash relation is bigger than the on number of command external table.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360949#comment-15360949
 ] 

ASF GitHub Bot commented on HAWQ-887:
-

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-hawq/pull/766


> Query should be continued when bucket number of result hash relation is 
> bigger than the on number of command external table.
> 
>
> Key: HAWQ-887
> URL: https://issues.apache.org/jira/browse/HAWQ-887
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Core
>Reporter: Hubert Zhang
>Assignee: Hubert Zhang
>
> When user create a hash table test with bucket number 6, and a command 
> external table e_test with on number 1, 
> query likes "insert into test select * from e_test" will be refused due to 
> bucket number and on number are not equal.
> This restriction can be relaxed, if bucket number is bigger than on number, 
> the queries should be OK, and no wrong answer will be generated.



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


[jira] [Commented] (HAWQ-887) Query should be continued when bucket number of result hash relation is bigger than the on number of command external table.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360942#comment-15360942
 ] 

ASF GitHub Bot commented on HAWQ-887:
-

Github user yaoj2 commented on the issue:

https://github.com/apache/incubator-hawq/pull/766
  
+1


> Query should be continued when bucket number of result hash relation is 
> bigger than the on number of command external table.
> 
>
> Key: HAWQ-887
> URL: https://issues.apache.org/jira/browse/HAWQ-887
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Core
>Reporter: Hubert Zhang
>Assignee: Hubert Zhang
>
> When user create a hash table test with bucket number 6, and a command 
> external table e_test with on number 1, 
> query likes "insert into test select * from e_test" will be refused due to 
> bucket number and on number are not equal.
> This restriction can be relaxed, if bucket number is bigger than on number, 
> the queries should be OK, and no wrong answer will be generated.



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


[GitHub] incubator-hawq issue #766: HAWQ-887. Query should be continued when bucket n...

2016-07-04 Thread yaoj2
Github user yaoj2 commented on the issue:

https://github.com/apache/incubator-hawq/pull/766
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (HAWQ-887) Query should be continued when bucket number of result hash relation is bigger than the on number of command external table.

2016-07-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360934#comment-15360934
 ] 

ASF GitHub Bot commented on HAWQ-887:
-

Github user ztao1987 commented on the issue:

https://github.com/apache/incubator-hawq/pull/766
  
+1


> Query should be continued when bucket number of result hash relation is 
> bigger than the on number of command external table.
> 
>
> Key: HAWQ-887
> URL: https://issues.apache.org/jira/browse/HAWQ-887
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Core
>Reporter: Hubert Zhang
>Assignee: Hubert Zhang
>
> When user create a hash table test with bucket number 6, and a command 
> external table e_test with on number 1, 
> query likes "insert into test select * from e_test" will be refused due to 
> bucket number and on number are not equal.
> This restriction can be relaxed, if bucket number is bigger than on number, 
> the queries should be OK, and no wrong answer will be generated.



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


[GitHub] incubator-hawq issue #766: HAWQ-887. Query should be continued when bucket n...

2016-07-04 Thread ztao1987
Github user ztao1987 commented on the issue:

https://github.com/apache/incubator-hawq/pull/766
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---