Closed hab6 closed 4 months ago
Thanks, I'll take a look.
Internal tracking: W-14959403
@lukewrites I'm curious if you were able to reproduce the problem with the given test case.
Hi @hab6 sorry for the delay I was out of office, planning to push a change to master today for this
Hi @hab6 will have a PR out in a bit with our quarterly release that fixes this, but I put the code change from the release that should make it work on this branch: https://github.com/tableau/connector-plugin-sdk/tree/tds-regex
We appreciate the updates @lukewrites
Describe the bug When executing
tdvt action --add_ds
, the attributes of theconnection
element in the tds files are getting corrupted. In our case, the connection attributeclass='actian_odbc'
is being removed from theconnection
element as the attributetdvtconnection=dsn123
is added. The tdvtconnection value (shown here asdsn123
) doesn't seem to matter.Research To isolate the problem, I extracted the functions
mangle_tds
andupdated_tds_as_str
from setup_env.py into a simple test program parse2.py.txt. There were changes to this area of code in PR 1208.Console Output of Test Program
Desktop
2023.2.4 (20232.23.21215.0350)
and2023.3.1 (20233.23.1227.1336)
both testedPython & package versions
About you: Name: Michael Habiger Company: Actian Corporation