You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by jihoonson <gi...@git.apache.org> on 2016/05/31 23:35:12 UTC

[GitHub] tajo pull request: TAJO-2148: Implement an example HTTP tablespace.

GitHub user jihoonson opened a pull request:

    https://github.com/apache/tajo/pull/1034

    TAJO-2148: Implement an example HTTP tablespace.

    You can test like below.
    
    ```
    default> create table github (*) tablespace http_example using ex_http_json with ('path'='2015-01-01-15.json.gz');
    OK
    default> \d github
    
    table name: default.github
    table uri: http://data.githubarchive.org/2015-01-01-15.json.gz
    store type: ex_http_json
    Options:
    	'path'='2015-01-01-15.json.gz'
    	'timezone'='Asia/Seoul'
    
    schema: 
    
    
    default> select type, repo.name, count(*) from github group by type, repo.name;
    [=========================================>] 100%  5.98 sec
    type,  repo/name,  ?count
    -------------------------------
    IssuesEvent,  vispy/vispy,  1
    PushEvent,  haraldsk/puppet-module-nfs,  2
    DeleteEvent,  peterzd/buddy-pix,  1
    PushEvent,  jgsme/dev,  3
    ...
    ```

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

    $ git pull https://github.com/jihoonson/tajo-2 TAJO-2148

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

    https://github.com/apache/tajo/pull/1034.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 #1034
    
----
commit 3d48fbb7b31472c8374b2658eb8ecec603d57f7f
Author: Jihoon Son <ji...@apache.org>
Date:   2016-05-31T23:33:38Z

    TAJO-2148: Implement an example HTTP tablespace.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo issue #1034: TAJO-2148: Implement an example HTTP tablespace

Posted by jinossy <gi...@git.apache.org>.
Github user jinossy commented on the issue:

    https://github.com/apache/tajo/pull/1034
  
    +1 Looks great to me
    Would you add a document to wiki for a developer?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo pull request #1034: TAJO-2148: Implement an example HTTP tablespace

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/tajo/pull/1034


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo issue #1034: TAJO-2148: Implement an example HTTP tablespace

Posted by jihoonson <gi...@git.apache.org>.
Github user jihoonson commented on the issue:

    https://github.com/apache/tajo/pull/1034
  
    I disabled the example http tablespace for http scheme by default because it is not proper for real appliactions, and thus users need to implement their own tablespace for the real applications.
    To use this example tablespace, just add the following lines to ```storage-site.json```.
    
    ```
    "http": {
          "handler": "org.apache.tajo.storage.http.ExampleHttpFileTablespace",
          "default-format": "json"
        }
    ```


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tajo issue #1034: TAJO-2148: Implement an example HTTP tablespace

Posted by jihoonson <gi...@git.apache.org>.
Github user jihoonson commented on the issue:

    https://github.com/apache/tajo/pull/1034
  
    @jinossy, thank you for your review. I'll add a document to wiki.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---