Skip to content

Commit

Permalink
Convert negative SQRT operands to NULL in dialect.tdd
Browse files Browse the repository at this point in the history
  • Loading branch information
tanclary committed Mar 11, 2024
1 parent dee1399 commit 975c484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector/tableau/looker-jdbc/dialect.tdd
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
<argument type='real' />
</function>
<function group='numeric' name='SQRT' return-type='real'>
<formula>SQRT(%1)</formula>
<formula>SQRT(IF(%1 < 0, null, %1))</formula>
<argument type='real' />
</function>
<function group='numeric' name='SQUARE' return-type='real'>
Expand Down

0 comments on commit 975c484

Please sign in to comment.