FULL OUTER join not available with MySQL datasets

william
william Registered Posts: 3 ✭✭✭✭

Hello,

I'm trying to use a FULL OUTER join in a recipe between 2 MySQL datasets. The option is not available while it appears that it should: "Not available in this mode, use a SQL or Hive database to use FULL OUTER joins."

Keep up,

William

Answers

  • jrouquie
    jrouquie Dataiker Alumni Posts: 87 ✭✭✭✭✭✭✭
    Hi William,

    MySQL does not support FULL OUTER JOIN, apparently since some time:

    http://bugs.mysql.com/bug.php?id=18003

    So DSS had no choice but to disable it in the case of MySQL, to avoid errors. Maybe it's an option for you to use another DB engine, like PostgreSQL?

    Best regards,

    Jean-Baptiste Rouquier
  • jereze
    jereze Alpha Tester, Dataiker Alumni Posts: 190 ✭✭✭✭✭✭✭✭

    Hi William,

    MySQL does not officially support FULL OUTER joins.

    There is common hack to emulate a FULL OUTER join with a left and a right join (as suggested in the comments of the documentation). But this hack is not implemented in the join (visual) recipe. I'm not sure it will be.

    However, you could do it manually with the SQL (code) recipe.

    I hope that helps,

    Jeremy

  • william
    william Registered Posts: 3 ✭✭✭✭
    Yes i can do that.

    Thank you
    William
  • william
    william Registered Posts: 3 ✭✭✭✭
    Thank you for your help.

    William
Setup Info
    Tags
      Help me…