-
Notifications
You must be signed in to change notification settings - Fork 238
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
[CT-502] [Bug] dbt seed returning '0 parameter markers' error #334
Comments
I have the internal ZD ticket number and some customer logs, if needed. Please let me know. |
@crystalro0 Thanks for opening! I'm going to transfer this issue to the In v1.0, we added another spot where we'll return a different parameter marker depending on the connection method: dbt-spark/dbt/include/spark/macros/materializations/seed.sql Lines 1 to 3 in fbf9abe
That means dbt's own debug-level logs should include I'll reach out to you for details about the ZD ticket and logs. |
Quick updates:
|
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days. |
Is there an existing issue for this?
Current Behavior
User is running dbt seed as a step in a job run in their deployment environment and getting the following error:
The SQL contains 0 parameter markers, but x parameters were supplied
Possibly related to this code snippet: https://github.com/dbt-labs/dbt-spark/blob/main/dbt/adapters/spark/connections.py#L284
Expected Behavior
Should be processing seed by converting the
%s
to?
before query execution.Steps To Reproduce
dbt seed
step.Relevant log output
Environment
- dbt: 1.0.4
What database are you using dbt with?
other (mention it in "Additional Context")
Additional Context
Databricks on AWS with SQL endpoint connection.
I believe this issue is related to this.
The text was updated successfully, but these errors were encountered: