Skip to content
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

Change the way to use predictor #6

Open
ea-rus opened this issue Jul 19, 2022 · 1 comment
Open

Change the way to use predictor #6

ea-rus opened this issue Jul 19, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ea-rus
Copy link
Contributor

ea-rus commented Jul 19, 2022

Change the way of using predictor from dbt

From:

{{ config(materialized='table', predictor_name='TEST_PREDICTOR_NAME', integration='int1') }}
  select a, bc from ddd where name > latest

To:

{{ config(materialized='table') }} 
 select p.a, t.bc from int1.table1 t
 join TEST_PREDICTOR_NAME p
 where name > latest

It would be more agile way to select and name projection fileds for store into table

@ea-rus
Copy link
Contributor Author

ea-rus commented Jul 22, 2022

It has to be changed before this merge
mindsdb/mindsdb#2525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants