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

Procedure not found auto_audience_segmentation_dataset_preparation when invoking stored procedures #266

Open
julianandersennoa opened this issue Dec 12, 2024 · 3 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@julianandersennoa
Copy link

During last step of post-deployment, when I run:
CALL 'auto_audience_segmentation.invoke_auto_audience_segmentation_training_preparation'();

I receive the following error:
Procedure is not found: .auto_audience_segmentation.auto_audience_segmentation_dataset_preparation at [.auto_audience_segmentation.auto_audience_segmentation_training_preparation:41:6].

auto_audience_segmentation_training_preparation seems to try to run a procedure which does not exist. We also cannot find any reference to this in the procedures under the 'scripts'-folder.

Is there a way for us to create this procedure manually? This is the only procedure which fails in this step.

@chmstimoteo chmstimoteo self-assigned this Dec 12, 2024
@chmstimoteo
Copy link
Collaborator

chmstimoteo commented Dec 12, 2024

Hi @julianandersennoa thanks for reaching out.

It seems to be you're missing the project_id in one of your configurations.

On your deployment environment, using your favourite Code Editor, find the sql/query/ folder.
Next, open the following generated file invoke_auto_audience_segmentation_training_preparation.sql.

You should have your project id in line 38, like in this example:
image

@chmstimoteo chmstimoteo added the invalid This doesn't seem right label Dec 12, 2024
@julianandersennoa
Copy link
Author

Hi there.
That's not the case, I just removed it before posting this issue to keep the project ID discrete. :)

@blimmox
Copy link

blimmox commented Dec 18, 2024

I am currently facing this issue as well.

Line 41 in auto_audience_segmentation_training_preperation.sqlx found in the sql/procedure/ folder attempts to call
{{project_id}}.{{dataset}}.auto_audience_segmentation_dataset_preparation, but I cannot find any procedure with that name.

Does this mean that a step has failed somewhere in the process?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants