diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-sybase/legend-engine-xt-relationalStore-sybase-pure/src/main/resources/core_relational_sybase/relational/sqlQueryToString/tests/testSybaseToSQLString.pure b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-sybase/legend-engine-xt-relationalStore-sybase-pure/src/main/resources/core_relational_sybase/relational/sqlQueryToString/tests/testSybaseToSQLString.pure index 60a32eb3091..973f55cfebb 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-sybase/legend-engine-xt-relationalStore-sybase-pure/src/main/resources/core_relational_sybase/relational/sqlQueryToString/tests/testSybaseToSQLString.pure +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-sybase/legend-engine-xt-relationalStore-sybase-pure/src/main/resources/core_relational_sybase/relational/sqlQueryToString/tests/testSybaseToSQLString.pure @@ -135,7 +135,7 @@ function <> meta::relational::tests::functions::sqlstring::sybase::te function <> meta::relational::tests::functions::sqlstring::sybase::testToSqlGenerationFirstDayOfThisYear():Boolean[1] { let expected = [ - pair(DatabaseType.Sybase, 'select dateadd(DAY, -(datepart(dayofyear, today()) - 1), today()) as "date" from tradeTable as "root"') + pair(DatabaseType.Sybase, 'select dateadd(DAY, -(datepart(dayofyear, current_date()) - 1), current_date()) as "date" from tradeTable as "root"') ]; $expected->map(p| @@ -154,5 +154,5 @@ function <> meta::relational::tests::functions::sqlstring::sybase::te function <> meta::relational::tests::functions::sqlstring::sybase::testToSqlGenerationFirstDayOfQuarter_Sybase():Boolean[1] { - testToSqlGenerationFirstDayOfQuarter(DatabaseType.Sybase, 'select dateadd(QUARTER, quarter("root".tradeDate) - 1, dateadd(DAY, -(datepart(dayofyear, "root".tradeDate) - 1), "root".tradeDate)) as "date" from tradeTable as "root"'); + testToSqlGenerationFirstDayOfQuarter(DatabaseType.Sybase, 'select dateadd(QUARTER, datepart(QQ, "root".tradeDate) - 1, dateadd(DAY, -(datepart(dayofyear, "root".tradeDate) - 1), "root".tradeDate)) as "date" from tradeTable as "root"'); }