Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Datasource Connection to another database #167

Open
ismailsimsek opened this issue Oct 17, 2019 · 2 comments
Open

Changing Datasource Connection to another database #167

ismailsimsek opened this issue Oct 17, 2019 · 2 comments
Labels

Comments

@ismailsimsek
Copy link

ismailsimsek commented Oct 17, 2019

is it possible to change Data-source Connection to another database which has same table structure. would that break anything?

for example changing from PostgreSQL to Redshift
or Redshift to snowflake

@suryapsm
Copy link

Hi,
@ismailsimsek
Did anyone found any solution for this?
Is it possible to change connection type using any API?
(I have to migrate from Teradata to Snowflake which have same table structures)

@ismailsimsek
Copy link
Author

hi @suryapsm this is not official solution also not proven, but by looking at Connection it shuld be possible to change database by changing its class. again its not proven! even getting connection working datasource might get datatype issues/mismatches.
IMO this is one of the most important feature tableau missing.

a sample PostgreSQL connection from datasource xml file

<named-connections>
  <named-connection caption='localhost' name='postgres.029sthq05ouun816ulker0cmf5s7'>
    <connection authentication='username-password' class='postgres' dbname='testdb' odbc-native-protocol='' one-time-sql='' port='5432' server='localhost' sslmode='require' username='testuser' />
  </named-connection>
</named-connections>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants