Fix date truncation for HANA

This commit is contained in:
Marco Belladelli 2023-03-06 09:37:56 +01:00 committed by Christian Beikov
parent aead5fe92a
commit 058f31a769
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ public class CommonFunctionFactory {
* SAP HANA
*/
public void trunc_roundMode() {
trunc( "round(?1,0,round_down)", "round(?1,?2,round_down)", TruncFunction.DatetimeTrunc.FORMAT, "to_date" );
trunc( "round(?1,0,round_down)", "round(?1,?2,round_down)", TruncFunction.DatetimeTrunc.FORMAT, "to_timestamp" );
}
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~