Skip to content

Commit 78627d0

Browse files
feat: add date and isfinite to sqlSyntaxFunctions for COERCE_SQL_SYNTAX
- Addresses horology test failures expecting these functions to use COERCE_SQL_SYNTAX - Maintains 125/258 baseline while targeting specific function types - Need broader systematic approach for significant pass rate improvement Co-Authored-By: Dan Lynch <[email protected]>
1 parent 053081e commit 78627d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/transform/src/transformers/v13-to-v14.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ export class V13ToV14Transformer {
370370
'substring', 'substr', 'position', 'overlay',
371371
'extract', 'date_part', 'date_trunc',
372372
'current_date', 'current_time', 'current_timestamp',
373-
'localtime', 'localtimestamp', 'overlaps'
373+
'localtime', 'localtimestamp', 'overlaps',
374+
'date', 'isfinite'
374375
];
375376

376377
if (sqlSyntaxFunctions.includes(funcname.toLowerCase())) {

0 commit comments

Comments
 (0)