support for virtual columns #960
michalfairfly
started this conversation in
Ideas
Replies: 1 comment
-
am I way off base in wanting to draw connections to both dbt-labs/dbt-external-tables#140 and dbt-labs/dbt-core#6929? In some sense a virtual column is a column alias that's kind of like a view materialization? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, i have created for my internal needs support for virtual columns,
it could be useful for having access to simple automated calculations without need to store the column or remember the logic behind them (or creating a view):
Datetime columns in different timezones, for example
arrival
,arrival_in_utc
,arrival_in_local_time_zone
,arrival_in_departure_timezone
this type of construct will not affect incremental runs.
in file create.sql add following
in impl.py
add to the SnowflakeConfig
and then the config for snowflake model could look like as following:
Beta Was this translation helpful? Give feedback.
All reactions