-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/example models #220
Fix/example models #220
Conversation
7870da0
amora/models.py
Outdated
if cls.__model_config__.materialized == MaterializationTypes.ephemeral: | ||
cte = cls.source() | ||
return cte.columns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Como o resultado de cls.source()
não é cacheado, chamadas diferentes vão resultar instancias de Selectables diferentes, fico na dúvida se essa implementação não pode gerar problemas.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vou fazer o merge e seguir em frente. Qualquer coisa, podemos voltar nesse ponto antes de gerar uma release
step_count_by_source.py
group by clausesummarize
testssummarize
for sourceless ephemeral modelscte_from_dataframe
functionAmoraModel.columns
classmethodFixes #165