You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by be...@apache.org on 2022/03/03 16:37:23 UTC

[incubator-wayang] branch delete-paranamer created (now 4e03d21)

This is an automated email from the ASF dual-hosted git repository.

bertty pushed a change to branch delete-paranamer
in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git.


      at 4e03d21  [BUG] delete paranamer-2.3 from dependecies to just work with paranamer-2.8

This branch includes the following new commits:

     new 4e03d21  [BUG] delete paranamer-2.3 from dependecies to just work with paranamer-2.8

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[incubator-wayang] 01/01: [BUG] delete paranamer-2.3 from dependecies to just work with paranamer-2.8

Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bertty pushed a commit to branch delete-paranamer
in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git

commit 4e03d211170e8e00159996a0fd19b791e929ea2c
Author: Bertty Contreras-Rojas <be...@databloom.ai>
AuthorDate: Thu Mar 3 17:37:00 2022 +0100

    [BUG] delete paranamer-2.3 from dependecies to just work with paranamer-2.8
    
    Signed-off-by: bertty <be...@apache.org>
---
 .../code/main/scala/org/apache/wayang/apps/tpch/TpcH.scala   |  2 +-
 wayang-commons/pom.xml                                       |  8 ++++++++
 wayang-tests-integration/pom.xml                             | 12 ++++++++++++
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/wayang-benchmark/code/main/scala/org/apache/wayang/apps/tpch/TpcH.scala b/wayang-benchmark/code/main/scala/org/apache/wayang/apps/tpch/TpcH.scala
index 60e35a7..8d124ca 100644
--- a/wayang-benchmark/code/main/scala/org/apache/wayang/apps/tpch/TpcH.scala
+++ b/wayang-benchmark/code/main/scala/org/apache/wayang/apps/tpch/TpcH.scala
@@ -64,7 +64,7 @@ object TpcH {
       } else if (jdbcPlatform.equals(Sqlite3.platform)) {
         (table: String, columns: Seq[String]) => new Sqlite3TableSource(table, columns: _*)
       } else if (jdbcPlatform.equals(Postgres.platform)) {
-        (table: String, columns: Seq[String]) => new PostgresTableSource(table, columns: _*)
+        (table: String, columns: Seq[String]) => new PostgresTableSource(table, columns: _*).getOutput
       } else {
         throw new IllegalArgumentException(s"Unsupported database: $jdbcPlatform.")
       }
diff --git a/wayang-commons/pom.xml b/wayang-commons/pom.xml
index bb5cf3d..edd2b3c 100644
--- a/wayang-commons/pom.xml
+++ b/wayang-commons/pom.xml
@@ -77,6 +77,10 @@
                         <groupId>tomcat</groupId>
                         <artifactId>jasper-runtime</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>com.thoughtworks.paranamer</groupId>
+                        <artifactId>paranamer</artifactId>
+                    </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
@@ -157,6 +161,10 @@
                         <groupId>commons-el</groupId>
                         <artifactId>commons-el</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>com.thoughtworks.paranamer</groupId>
+                        <artifactId>paranamer</artifactId>
+                    </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
diff --git a/wayang-tests-integration/pom.xml b/wayang-tests-integration/pom.xml
index e963299..a2f1f01 100644
--- a/wayang-tests-integration/pom.xml
+++ b/wayang-tests-integration/pom.xml
@@ -93,12 +93,24 @@
             <artifactId>hadoop-common</artifactId>
             <version>${hadoop.version}</version>
             <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.thoughtworks.paranamer</groupId>
+                    <artifactId>paranamer</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.apache.hadoop</groupId>
             <artifactId>hadoop-hdfs</artifactId>
             <version>${hadoop.version}</version>
             <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.thoughtworks.paranamer</groupId>
+                    <artifactId>paranamer</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.apache.hadoop</groupId>