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

Support I/O schema v4.3 #474

Merged
merged 24 commits into from
Nov 9, 2023
Merged

Support I/O schema v4.3 #474

merged 24 commits into from
Nov 9, 2023

Conversation

spbnick
Copy link
Collaborator

@spbnick spbnick commented Nov 1, 2023

No description provided.

@spbnick spbnick force-pushed the support_io_schema_v4.3 branch 2 times, most recently from 9993279 to bf159d8 Compare November 2, 2023 09:09
@spbnick spbnick temporarily deployed to staging November 2, 2023 09:22 — with GitHub Actions Inactive
@spbnick spbnick force-pushed the support_io_schema_v4.3 branch 2 times, most recently from 537d25d to 1462ebe Compare November 2, 2023 11:40
@spbnick spbnick force-pushed the support_io_schema_v4.3 branch from 1462ebe to 7b2797c Compare November 2, 2023 13:04
@spbnick spbnick force-pushed the support_io_schema_v4.3 branch from 7b2797c to cd37bd5 Compare November 2, 2023 16:00
Upgrade the Python requirement to v3.9.
Upgrade the Cloud Function runtime as well, exporting the GCP_PROJECT
variable explicitly, as the new runtime doesn't have it.
Switch from the deprecated Container Registry, used by default for Cloud
Functions 1st gen, to the new Artifact Registry.

See https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr
@spbnick spbnick force-pushed the support_io_schema_v4.3 branch from dd81d3a to 34301be Compare November 3, 2023 11:42
@spbnick spbnick force-pushed the support_io_schema_v4.3 branch from 34301be to 3c195c3 Compare November 3, 2023 14:55
@spbnick spbnick marked this pull request as ready for review November 3, 2023 18:22
@spbnick spbnick force-pushed the support_io_schema_v4.3 branch from 3c195c3 to c181ff0 Compare November 6, 2023 17:01
@spbnick spbnick force-pushed the support_io_schema_v4.3 branch 2 times, most recently from d9ee60b to 4b36551 Compare November 7, 2023 11:58
The mux driver lists the schemas starting from the current one if the
databases are initialized, and all schemas, if not, but it wasn't
resetting the schema list after cleaning up the databases. Fix that.
Rename the bigquery schema's `KEY_MAP` field to `KEYS_MAP` as each value
in the dictionary can contain multiple keys.
Stop pre-generating a column list for SQL statements in
kcidb.db.sql.schema, and generate it on demand instead, to prepare for
adding column filtering.
Simplify the primary key list handling in kcidb.db.sql.schema.
Also stop comparing original and database column names when generating
the array, as that would break if the names needed to be quoted or
contained a dot.
Instead of storing maps of table names and schema objects, store the
maps of table names and schema constructor args, so they could be
modified when inheriting, in both kcidb.db.sql-based drivers -
PostgreSQL and SQLite. This prepares for addition of fields in derived
schemas.
Support retrieving the current time from the database server, so it's
easier to test the purging functionality coming later.
@spbnick spbnick force-pushed the support_io_schema_v4.3 branch from 43917c8 to fe539ff Compare November 9, 2023 11:49
@spbnick spbnick merged commit b6251a5 into main Nov 9, 2023
@spbnick spbnick deleted the support_io_schema_v4.3 branch November 9, 2023 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant