TDI-30778 fix bug: retrieve schema query issued for Teradata from studio
needs Optimization
https://jira.talendforge.org/browse/TDI-30778
TUP-2332: add a junit testcase for the changeset.
https://jira.talendforge.org/browse/TUP-2332