Transform Saved Wrong
I have a "create table" transfrom in a dataflow, with "Generate Output Table" unchecked. It runs fine & applies fine. But once the dataflow is saved, "Generate Output Table" becomes checked, and "Create Table" is cut off from the SQL.
See image attached. This is something newly noticed.
Comments
-
I'm not sure what is gained by trying to uncheck the generate output table when the function you are writing the code for is to create a table.
______________________________________________________________________________________________
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman
______________________________________________________________________________________________0 -
Hi,
Great question @ST_-Superman-_. I do think that "generate output table" only applies in DQL (Data Query Language) commands. Being "CREATE" a DDL (Data Defenition Language) command it does not result in a table, it creates a schema for a new table, different thing in terms of results.
Anyhow, in my view DOMO should not reactivate the "generate output table", but I have a theory for this:
All Transforms with "generate output table" checked are in fact "Create Tables", and somehow DOMO is parsing the text and converting it to a normal transform as it drops the "Create Table" and names the table "IF"... just my two cents here!
A workaround could be to create the table via a normal query and filter it with the same condition that controls the creation of the table in the first place, the difference would be that the table would exist but empty of rows.
Hope this helps.
Ricardo Granada
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.1
Categories
- 11K All Categories
- 5 Private Company Board
- 2 APAC User Group
- 12 Welcome
- 43 Domo News
- 9.9K Using Domo
- 2K Dataflows
- 2.5K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 349 Workbench
- 267 Domo Best Practices
- 12 Domo Certification
- 474 Domo Developer
- 51 Domo Everywhere
- 111 Apps
- 728 New to Domo
- 85 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 31 お知らせ
- 65 Kowaza
- 303 仲間に相談
- 664 ひらめき共有