GitHub user paul-rogers opened a pull request:

    https://github.com/apache/drill/pull/708

    DRILL-5152: Enhance the mock data source: better data, SQL access

    Provides an enhanced version of the mock data source. See the JIRA entry 
for motivation, package-info.java for details of operation.
    
    Allows tests to write queries of the form:
    ```
    select id_i, name_s50 from `mock`.`employee_1K` ...
    ```
    Where id_i is a field of random, uniformly distributed integers and 
name_s50 is a VARCHAR column of width 50 of randomly generated strings. The _1K 
suffix says to generate 1000 rows. The names are just for convenience, the 
suffixes tell the mock data source what to generate.
    
    Examples of use will appear in a later commit that includes a revised test 
framework. Existing tests that use the physical plan version of the mock data 
source work as before.

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

    $ git pull https://github.com/paul-rogers/drill DRILL-5152

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

    https://github.com/apache/drill/pull/708.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 #708
    
----
commit e9741ce59621209e18cf405c8fe4a614d955ed2a
Author: Paul Rogers <[email protected]>
Date:   2016-12-22T05:47:20Z

    DRILL-5152: Enhance the mock data source: better data, SQL access
    
    Provides an enhanced version of the mock data source. See the JIRA
    entry for motivation, package-info.java for details of operation.

----


---
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