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 <[email protected]>
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to