hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esp...@apache.org
Subject incubator-hawq git commit: HAWQ-1351. Remove tweets.tar.gz & generate it dynamically.
Date Fri, 24 Feb 2017 19:43:28 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 6508ebb84 -> 80ea89d2c


HAWQ-1351. Remove tweets.tar.gz & generate it dynamically.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/80ea89d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/80ea89d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/80ea89d2

Branch: refs/heads/master
Commit: 80ea89d2cc3ac192549510674983c52c40c2ee38
Parents: 6508ebb
Author: Ed Espino <eespino@pivotal.io>
Authored: Wed Feb 22 23:42:38 2017 -0800
Committer: Ed Espino <eespino@pivotal.io>
Committed: Fri Feb 24 11:41:08 2017 -0800

----------------------------------------------------------------------
 pom.xml                                       |   4 ----
 pxf/build.gradle                              |   6 ++++++
 pxf/pxf-json/.gitignore                       |   1 +
 pxf/pxf-json/src/test/resources/tweets.tar.gz | Bin 796 -> 0 bytes
 4 files changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/80ea89d2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6410958..1ccaeee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -242,10 +242,6 @@
               <exclude>tools/demo/gpfdist_transform/*.yaml</exclude>
               <exclude>tools/bin/gppylib/operations/madlib_depcheck/changelist.yaml</exclude>
 
-              <!-- PXF test file -->
-
-              <exclude>pxf/pxf-json/src/test/resources/tweets.tar.gz</exclude>
-              
               <!-- Finally we exclude a few file types (based on
                    extension) for which comments are tough to
                    maintain. Note that this is a combination of files

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/80ea89d2/pxf/build.gradle
----------------------------------------------------------------------
diff --git a/pxf/build.gradle b/pxf/build.gradle
index f273469..d604b96 100644
--- a/pxf/build.gradle
+++ b/pxf/build.gradle
@@ -403,6 +403,12 @@ project('pxf-json') {
 
       link("/usr/lib/pxf-${project.version}/${project.name}.jar", "${project.name}-${project.version}.jar")
     }
+
+    task create_tweets_tgz(type: Exec){
+      commandLine 'tar', '-zcf', 'src/test/resources/tweets.tar.gz', '-C', 'src/test/resources',
'tweets-pp.json'
+    }
+    
+    tasks['test'].dependsOn('create_tweets_tgz')
 }
 
 project('pxf-hbase') {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/80ea89d2/pxf/pxf-json/.gitignore
----------------------------------------------------------------------
diff --git a/pxf/pxf-json/.gitignore b/pxf/pxf-json/.gitignore
index ae3c172..e932aa7 100644
--- a/pxf/pxf-json/.gitignore
+++ b/pxf/pxf-json/.gitignore
@@ -1 +1,2 @@
 /bin/
+src/test/resources/tweets.tar.gz

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/80ea89d2/pxf/pxf-json/src/test/resources/tweets.tar.gz
----------------------------------------------------------------------
diff --git a/pxf/pxf-json/src/test/resources/tweets.tar.gz b/pxf/pxf-json/src/test/resources/tweets.tar.gz
deleted file mode 100644
index fd5c9a6..0000000
Binary files a/pxf/pxf-json/src/test/resources/tweets.tar.gz and /dev/null differ


Mime
View raw message