MySQL ETL: Temp Table Functionality

Options

Good morning,

  

I have a MySQL ETL that currently has 15 transforms that are used to create a scorecard in Domo. I would like to reduce the number of transforms as much as possible. Can a transform support the temp table function in MySQL?

 

@zcameron We discussed this a little bit at the Charlotte meet, but I really need something similar to temp table functionality within a transform that can be called in the same transform. Any ideas? 

Comments

  • zcameron
    zcameron Domo Employee
    Options

    Casey,

     

    MySQL transforms only process a single command. If you want to get around this, you can use a stored procedure to include multiple statements in the same transform (including the creating and updating of tables). In one transform, you create the stored procedure, which is technically only one CREATE statement. In another you can call that procedure to run the code it contains.

     

     

    I hope that helps!