[
https://issues.apache.org/jira/browse/TAJO-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375593#comment-14375593
]
ASF GitHub Bot commented on TAJO-1410:
--------------------------------------
GitHub user babokim opened a pull request:
https://github.com/apache/tajo/pull/455
TAJO-1410: TPC-DS TestCase
The TPC-DS data set which is generated scale factor 1 is almost 1.2GB. It
is too big to run test case on the single machine. In this patch, I added
'tpcds-test' profile to run TPC-DS test case. TPC-DS test case doesn't run with
default build option.
Use -Dtpcds-test to run TPC-DS test case with teh following additional
options:
-Dtpcds.gen.data=<true or false> : required
-Dtpcds.data.dir=<TPC-DS DATA DIRECTORY>: required
-Dtpcds.generator=<TPC-DS DATA GENERATOR>: if tpcds.gen.data=true,
required
I used the following command on my laptop.
mvn test -Ptpcds-test -Dtpcds.gen.data=yes
-Dtpcds.data.dir=/Users/babokim/tmp/tpcds1
-Dtpcds.generator=/Users/babokim/Downloads/tpcds-kit-master/tools/dsdgen
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/babokim/tajo TAJO-1410
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/455.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 #455
----
commit b8ec027deb12cd2eeffc5615586a4a6da7204c51
Author: babokim <[email protected]>
Date: 2015-03-23T07:44:31Z
TAJO-1410: TPC-DS TestCase
commit 2b8a93605a605820aec2769ad7fe37aa54f00a1e
Author: babokim <[email protected]>
Date: 2015-03-23T07:47:36Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit 1afe329ecca9bfeb946aeba0977e8fb46dd57333
Author: babokim <[email protected]>
Date: 2015-03-23T08:34:45Z
TAJO-1410: TPC-DS TestCase
Excludes 'src/test/resources/tpcds/**' from rat-plugin.
commit 2787c9467ae19a1c0ce6f953a4581a25c6ca4e45
Author: babokim <[email protected]>
Date: 2015-03-23T08:38:11Z
TAJO-1410: TPC-DS TestCase
Remove unused comment.
commit 461440bb46476b54220925c1869f82e3d891e2de
Author: babokim <[email protected]>
Date: 2015-03-23T08:53:24Z
TAJO-1410: TPC-DS TestCase
Add comment in BUILDING file.
----
> TPC-DS TestCase
> ---------------
>
> Key: TAJO-1410
> URL: https://issues.apache.org/jira/browse/TAJO-1410
> Project: Tajo
> Issue Type: Test
> Reporter: Hyoungjun Kim
> Assignee: Hyoungjun Kim
> Priority: Minor
> Attachments: Tajo TPC-DS.pdf
>
>
> There is no TPC-DS TestCase in the current source code. It is difficult to
> make small TPC-DS dataset because TPC-DS is more complex than TPC-H. I
> propose TPC-DS TestCase as the followings:
> - The default build doesn't execute TPC-DS test case.
> - Add new maven profile 'tpcds-test' for TPC-DS test. If someone want to run
> TPC-DS test, run the next command.
> {noformat}
> mvn -Ptpcds-test -Dtpcds.gen.data=true
> -Dtpcds.generator=/tmp/tpcds-kit-master/tools/dsdgen
> -Dtpcds.data.dir=/tmp/tpcds install
> {noformat}
> - If tpcds.gen.data is true, The build script calls TPC-DS tool to generate
> test set with scale factor 1. TPC-DS tool should be installed in the test
> machine. Test data is located at tpcds.data.dir.
> - If test data is already exists in the test machine, set 'tpcds.gen.data'
> property false and set 'tpcds.data.dir' property with data directory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)