From: Tom Lane <tgl@sss.pgh.pa.us>
To: PropAAS DBA <dba@propaas.com>
Cc: pgsql-general@postgresql.org
Subject: Re: pentaho timestamp issue
Date: Sun, 18 Mar 2018 19:13:03 -0400
Message-ID: <15125.1521414783@sss.pgh.pa.us> (raw)
In-Reply-To: <426393cf-6ffe-e779-60be-66d74c68c415@propaas.com>
References: <426393cf-6ffe-e779-60be-66d74c68c415@propaas.com>
PropAAS DBA <dba@propaas.com> writes:
> 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 - Bad value for type
> timestamp : 0001-02-04 17:00:04-06:59:56
Hmm. Presumably, this is coming from something that thinks that 1 AD
is outside the reasonable range of timestamps. Assuming you agree that
such a value shouldn't appear in your application, I'd look for timestamps
getting put into the database using to_timestamp() with a format string
that doesn't really match the data, causing the year field to be truncated
or misinterpreted.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, dba@propaas.com
Subject: Re: pentaho timestamp issue
In-Reply-To: <15125.1521414783@sss.pgh.pa.us>
References: <426393cf-6ffe-e779-60be-66d74c68c415@propaas.com> <15125.1521414783@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox