Skip to content

Commit

Permalink
Merge pull request #2 from Bit-Quill/dialect-ceilfloor-AOS220
Browse files Browse the repository at this point in the history
Added CEILING and FLOOR functions
  • Loading branch information
guiangumpac authored Nov 18, 2021
2 parents c8ddfb9 + 952ff01 commit dd357bc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sql-jdbc/src/TableauConnector/opensearch_sql_jdbc/dialect.tdd
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@
<argument type='datetime' />
<argument type='datetime' />
</function>
<function group='numeric' name='CEILING' return-type='int'>
<formula>CEIL(%1)</formula>
<argument type='real' />
</function>
<function group='numeric' name='FLOOR' return-type='int'>
<formula>FLOOR(%1)</formula>
<argument type='real' />
</function>

<function group='date' name='DAYOFYEAR' return-type='int'>
<formula>DAY_OF_YEAR(%1)</formula>
Expand Down

0 comments on commit dd357bc

Please sign in to comment.