select * from
prevention and auto-resolution based on upstream raw schema and/or model definition
#3139
Labels
Feature
Adds new functionality
Everyone understands that it's best practice to avoid
select * from
by default, but it's the easiest way for users to keep moving fast. In plain terms, people will bias towards this whether we like it or not. This will also mess with impact analysis as non-breaking changes won't be taken advantage of in sql models. The goal of this is to make the developer experience enjoyable for the boring and tedious bits.It'd be nice to have a config in
config.yaml
that inserts a behavior before runningsqlmesh plan <dev env>
that prompts the user to write out the columns by hand OR if possible, ask for permission to overwrite*
with all the columns and then simply overwrites it using the@STAR
macro behind the scenes: https://sqlmesh.readthedocs.io/en/stable/concepts/macros/sqlmesh_macros/?h=@star#starThe text was updated successfully, but these errors were encountered: