Closed abelsiqueira closed 1 month ago
Some notes on behaviour, for a given source:
source is a file:
return show ? DataFrame(...) | table_name
name | tmp | remarks |
---|---|---|
non-empty | as provided | |
empty | true | table name: t_<safe_filename> |
empty | false | table name: <safe_filename> |
The above behaviour reduces the coupled possibilities to only 2. When name is empty, the generated table name differs based on tmp
.
source is another table: TBD since now the scope of TIO also includes use as a library by TEM.
There are $2^3 = 8$ possibilities. Refactor so these are clear. Possibly create a function to assist.
A possible implementation is using
Val
. E.g.,