Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exgFu-0007Bn-Po for pgsql-general@arkaria.postgresql.org; Sun, 18 Mar 2018 21:54:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exgFs-0006iG-SD for pgsql-general@arkaria.postgresql.org; Sun, 18 Mar 2018 21:54:16 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exgFs-0006i5-3m for pgsql-general@lists.postgresql.org; Sun, 18 Mar 2018 21:54:16 +0000 Received: from mail-io0-x230.google.com ([2607:f8b0:4001:c06::230]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1exgFk-0002Mo-UB for pgsql-general@postgresql.org; Sun, 18 Mar 2018 21:54:14 +0000 Received: by mail-io0-x230.google.com with SMTP id h23so18442219iob.11 for ; Sun, 18 Mar 2018 14:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=propaas-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=n9SKWb32Jqr1svZxh6v78/alaaR+TpjtmqnLgh8R6Ko=; b=HX0DfqAT/auLZPKATWNakbu7SrvEOXDfoyK3cDI485XplSoy2y/cfCuwfrPyYNzmNi VPph3lGEn/RdSJiq7iejoU8kfbxkRp15iCRPhxRYSzFpRHteIBvVWGPEaX4L6/N2514K c44bPHavo5eM4KXY0tmNevflo/ErUHG8yfrqsI2M+LDskvHc7zdR/CtiHqmNMRVODTxs vD0aIFsxVg+qGfJ+GDU+w5cqy/Rdx6/ZCpmblofzixlmucG3qTeRkS6BpMtOIm5DLADZ CDIoSaBY6HOTjuaSZTt82zM7t2JRsDh1ar5TZTV8YUlOzl6udDzM3C5L7jqPR4kAbzFL t9kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=n9SKWb32Jqr1svZxh6v78/alaaR+TpjtmqnLgh8R6Ko=; b=DfYlgScf2Pk4phrAG3dKUjAEvKfZy0YLQZVgGBlpAC2ktLzD3eoPufeTjv9qSiuhK9 YmCOrzGPCAE+PPHrVfD7UZRaT0v2Moz6SGt/fT5c4WaBH1mnHlJYYvjW6LsI0jHQ+JPd K4xh4ush2FvJsZnt/xBCqo4LdEICgJZpp8rTfJVoGuG5/S7CdKuEzNa1ReDu+FmVx9QP czIhUybpYd24eDd+1pDnb6+Na9nQYPmdso5jbdlV1SPja2iD9Afb3QR4Yb+UnalGtqjI BUfSvU4NrMgdBKZo8oQJ7j83YBbxmV0M+fpBDH3R4Cm4Ui5upulqFcbzuHx5dmNACvto Hhiw== X-Gm-Message-State: AElRT7H5aLYguxANmQG3oGY5n78k5m/VzZnUhL+Kw7CL7zdwESTZIhSw fRCUxu+GUuSpmSb6PIkdsjPDag== X-Google-Smtp-Source: AG47ELvWGfyMBYpAGKS08tMaY7odhSZn6rTHVJ0RmthOkajDrABtbEk4USV0x7LDfK0vxTMPCUk4nw== X-Received: by 10.107.56.87 with SMTP id f84mr10022693ioa.151.1521410045785; Sun, 18 Mar 2018 14:54:05 -0700 (PDT) Received: from [10.1.0.106] (50-243-150-81-static.hfc.comcastbusiness.net. [50.243.150.81]) by smtp.gmail.com with ESMTPSA id n21sm7360192ioc.70.2018.03.18.14.54.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 14:54:05 -0700 (PDT) To: pgsql-general@postgresql.org From: PropAAS DBA Subject: pentaho timestamp issue Message-ID: <426393cf-6ffe-e779-60be-66d74c68c415@propaas.com> Date: Sun, 18 Mar 2018 15:54:04 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------27B7EB249BDDB4EDE1D6287C" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------27B7EB249BDDB4EDE1D6287C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Pinging the list on the off chance someone has dealt with this and knows of a workaroud. We have pentaho pointing to a PostgreSQL v10.3 database, getting this error: 2018/03/18 15:06:37 - INPUT STEP - Fact.0 - Timestamp : Unable to get timestamp from resultset at index 55 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - Bad value for type timestamp : 0001-02-04 17:00:04-06:59:56 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at org.pentaho.di.core.database.Database.getRow(Database.java:2302) 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at org.pentaho.di.core.database.Database.getRow(Database.java:2270) 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at org.pentaho.di.trans.steps.tableinput.TableInput.processRow(TableInput.java:153) 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at java.lang.Thread.run(Unknown Source) 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - Caused by: org.pentaho.di.core.exception.KettleDatabaseException: 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - Timestamp : Unable to get timestamp from resultset at index 55 2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - Bad value for type timestamp : 0001-02-04 17:00:04-06:59:56 I've done some looking and this is clearly not a PostgreSQL issue, but maybe there is an easy workaround? Anyone have any thoughts... Thanks in advance --------------27B7EB249BDDB4EDE1D6287C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Pinging the list on the off chance someone has dealt with this and knows of a workaroud. We have pentaho pointing to a PostgreSQL v10.3 database, getting this error:


2018/03/18 15:06:37 - INPUT STEP - Fact.0 - Timestamp : Unable to get timestamp from resultset at index 55

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - Bad value for type timestamp : 0001-02-04 17:00:04-06:59:56

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at org.pentaho.di.core.database.Database.getRow(Database.java:2302)

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at org.pentaho.di.core.database.Database.getRow(Database.java:2270)

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at org.pentaho.di.trans.steps.tableinput.TableInput.processRow(TableInput.java:153)

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 -           at java.lang.Thread.run(Unknown Source)

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - Caused by: org.pentaho.di.core.exception.KettleDatabaseException:

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - Timestamp : Unable to get timestamp from resultset at index 55

2018/03/18 15:06:37 - INPUT STEP -  Fact.0 - Bad value for type timestamp : 0001-02-04 17:00:04-06:59:56



I've done some looking and this is clearly not a PostgreSQL issue, but maybe there is an easy workaround?    Anyone have any thoughts...


Thanks in advance




--------------27B7EB249BDDB4EDE1D6287C--