Skip to content

Commit 7b4d9a7

Browse files
authored
Add default 'system' group functions (#897)
1 parent 616986c commit 7b4d9a7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

samples/components/dialects/SQLDialect.tdd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@
4848
<argument type='real' />
4949
<argument type='real' />
5050
</function>
51+
<function group='system' name='TIME1899' return-type='datetime'>
52+
<formula>(CAST('1899-12-30' AS DATE) + %1)</formula>
53+
<argument type='datetime' />
54+
</function>
55+
<function group='system' name='SYS_NUMBIN' return-type='int'>
56+
<formula>FLOOR(%1 / %2)</formula>
57+
<argument type='real' />
58+
<argument type='real' />
59+
</function>
5160
</function-map>
5261

5362
<!--

0 commit comments

Comments
 (0)