MySQL field varchar also in the analytical Storage as string not as CLOB

Answered

Comments

4 comments

  • 1
    Comment actions Permalink
    Avatar
    Matthias Korn

    Hi Florijn,

    in order for strings to be created, the parameter createStringsAsClobs should be set to false.

    Best,
    Matthias

  • 0
    Comment actions Permalink
    Avatar
    Florijn Terstal

    Hallo ,

    I need to change something about this.... the problem is... TEXT field in MySQL.. that becomes CLOB.. that's a field that cannot work with Tableau

  • 0
    Comment actions Permalink
    Avatar
    Matthias Korn

    Hi Florijn,

    I have good news for you, I wasn't aware of it, but you can easily change the behaviour on the data source connection. By default, our MySQL connection will create strings as clobs, but when you add the following translator parameter by right clicking/edit on the datasource:

    createStringsAsClobs=true

    Since you are using native queries, the final translator parameters should look like this:

    supportsNativeQueries=true,createStringsAsClobs=true

    Best,
    Matthias

  • 0
    Comment actions Permalink
    Avatar
    Florijn Terstal

    oke great that works... maybe should standard when adding MySQL connection string..

Please sign in to leave a comment.

Powered by Zendesk