You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by mi...@apache.org on 2020/06/08 10:33:50 UTC

[incubator-streampipes-extensions] 02/04: change PG double to numeric type

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

micklich pushed a commit to branch feature/jdbc_rewrite
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git

commit 2ed4ced76ba11b6b50918526236b7b0fef801ddd
Author: micklich <fl...@disy.net>
AuthorDate: Sun Jun 7 16:27:12 2020 +0200

    change PG double to numeric type
---
 .../apache/streampipes/sinks/databases/jvm/jdbcclient/SqlAttribute.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/streampipes-sinks-databases-jvm/src/main/java/org/apache/streampipes/sinks/databases/jvm/jdbcclient/SqlAttribute.java b/streampipes-sinks-databases-jvm/src/main/java/org/apache/streampipes/sinks/databases/jvm/jdbcclient/SqlAttribute.java
index 6d62146..4e8c3b9 100644
--- a/streampipes-sinks-databases-jvm/src/main/java/org/apache/streampipes/sinks/databases/jvm/jdbcclient/SqlAttribute.java
+++ b/streampipes-sinks-databases-jvm/src/main/java/org/apache/streampipes/sinks/databases/jvm/jdbcclient/SqlAttribute.java
@@ -40,7 +40,7 @@ public enum SqlAttribute {
   //MYSQL
   MYSQL_DATETIME("DATETIME"),
   //POSTGRES / POSTGIS
-  PG_DOUBLE("DOUBLE PRECISION");
+  PG_DOUBLE("NUMERIC");
   private final String sqlName;
 
   SqlAttribute(String s) {