You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.
MySQL-specific syntax and settings are used in loadcalaccesscampaignfilings and flushcalaccesscampaignbrowser management commands. The following settings variables are specific to MySQL and so throw a syntax error on other database systems.
SQL_NOTES
FOREIGN_KEY_CHECKS
The SQL queries should only be executed on MySQL.
Additionally, the TRUNCATE command in PostgreSQL would require the CASCADE option and double quotes rather than backticks.
So there are some MySQL dependency issues…
The text was updated successfully, but these errors were encountered:
You've put your finger on the bleeding edge of our project. While the raw-data app has been massaged to support both MySQL and PostgreSQL, this app currently only works with the former.
The SQL queries you were inspecting are all incomplete. They are only beginnings of our effort to transform, clean and filter the source data into bulk data files the average hacker can grip and rip. It's all alpha and needs exactly the kind of work you're pointing out.
I completely understand! I wanted to make note of this since I ran across it and it seemed like a group of issues around SQL copy commands could indicate some tooling for SQL operations might be in order.
I'm spending some time looking into how the various database drives (mysqlclient, psycopg2) might be used to ameliorate the situations where you want to perform interactions closer to the database than the ORM level.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
MySQL-specific syntax and settings are used in
loadcalaccesscampaignfilings
andflushcalaccesscampaignbrowser
management commands. The following settings variables are specific to MySQL and so throw a syntax error on other database systems.SQL_NOTES
FOREIGN_KEY_CHECKS
The SQL queries should only be executed on MySQL.
Additionally, the
TRUNCATE
command in PostgreSQL would require theCASCADE
option and double quotes rather than backticks.So there are some MySQL dependency issues…
The text was updated successfully, but these errors were encountered: