Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Bit-Quill/opensearch-project-sql in…
Browse files Browse the repository at this point in the history
…to main
  • Loading branch information
Guian Gumpac committed Nov 22, 2021
2 parents 0df001a + 2355abf commit 8596513
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions sql-jdbc/src/TableauConnector/opensearch_sql_jdbc/dialect.tdd
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,30 @@
<formula>TO_DAYS(%1) - 693961.0</formula>
<argument type='datetime' />
</function>
<function group='cast' name='STR' return-type='str'>
<formula>CAST(%1 as string)</formula>
<argument type='real' />
</function>
<function group='cast' name='STR' return-type='str'>
<formula>CAST(%1 as string)</formula>
<argument type='int' />
</function>
<function group='cast' name='STR' return-type='str'>
<formula>CAST(%1 as string)</formula>
<argument type='date' />
</function>
<function group='cast' name='STR' return-type='str'>
<formula>CAST(%1 as string)</formula>
<argument type='bool' />
</function>
<function group='cast' name='INT' return-type='int'>
<formula>CAST(%1 as int)</formula>
<argument type='real' />
</function>
<function group='cast' name='INT' return-type='int'>
<formula>CAST(%1 as int)</formula>
<argument type='bool' />
</function>

<function group='operator' name='!=' return-type='bool'>
<formula>(%1 AND NOT %2 OR NOT %1 AND %2)</formula>
Expand Down

0 comments on commit 8596513

Please sign in to comment.