Skip to content

Commit

Permalink
#14: Enabled REGEX_* functions. (#18)
Browse files Browse the repository at this point in the history
* #14: Enabled REGEX_* functions.
  • Loading branch information
AnastasiiaSergienko authored Jun 10, 2021
1 parent 10f92c2 commit 2196245
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/changes/changes_0.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Version 0.1.0 of the Tableau Connector brings the connector embedded into Exasol

Note that this version is not considered production-ready, since it has only been tested using Tableau's TDVT test suite. Tests on Tableau server have not yet been conducted.

## Features

* #14: Enabled REGEX_* functions.

## Refactorings

* #6: Optimized metadata fetching.
Expand Down
22 changes: 22 additions & 0 deletions src/exasol_odbc/dialect.tdd
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,28 @@
<argument type='bool' />
<argument type='bool' />
</function>
<function group='string' name='REGEXP_REPLACE' return-type='str'>
<formula>REGEXP_REPLACE(%1, %2, %3)</formula>
<argument type='str' />
<argument type='str' />
<argument type='str' />
</function>
<function group='string' name='REGEXP_MATCH' return-type='bool'>
<formula>(%1 REGEXP_LIKE %2)</formula>
<argument type='str' />
<argument type='str' />
</function>
<function group='string' name='REGEXP_EXTRACT' return-type='str'>
<formula>REGEXP_SUBSTR(%1, %2)</formula>
<argument type='str' />
<argument type='str' />
</function>
<function group='string' name='REGEXP_EXTRACT_NTH' return-type='str'>
<formula>REGEXP_SUBSTR(%1, %2, %3)</formula>
<argument type='str' />
<argument type='str' />
<argument type='localint' />
</function>
<date-function name='DATEADD' return-type='datetime'>
<formula>(%3 + %2 * INTERVAL &apos;1&apos; %1)</formula>
<formula part='quarter'>ADD_MONTHS(%3, (3 * %2))</formula>
Expand Down
2 changes: 1 addition & 1 deletion tdvt/config/tdvt/tdvt_override.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Add paths to tabquery executable.
[DEFAULT]
TAB_CLI_EXE_X64 = C:\Program Files\Tableau\Tableau 2020.4\bin\tabquerytool.exe
TAB_CLI_EXE_X64 = C:\Program Files\Tableau\Tableau 2021.1\bin\tabquerytool.exe
TAB_CLI_EXE_MAC = Full Or Relataive/Path/to/tabquerytool.exe

0 comments on commit 2196245

Please sign in to comment.