Skip to content

Conversation

@Alex-Bair
Copy link
Member

@Alex-Bair Alex-Bair commented Aug 28, 2025

Commit 1b7eff0e5ecf774ee84f773caa6bda213afa21f8 in estuary/flow changed where properties live within the JSON schema. source-google-sheets needs to look in the new location for properties, otherwise the connector will crash with a KeyError.

For reference, this is what stream.json_schema looks like in parse_sheet_and_column_names_from_catalog:

{
  "$defs": {
    "flow://connector-schema": {
      "$id": "flow://connector-schema",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "properties": {
        "my_field": {
          "type": "string"
        },
        "another_field": {
          "type": "string"
        },
        "row_id": {
          "type": "integer"
        }
      },
      "required": [
        "row_id"
      ],
      "type": "object"
    }
  },
  "$ref": "flow://connector-schema"
}

Commit 1b7eff0e5ecf774ee84f773caa6bda213afa21f8 in estuary/flow changed where properties live within the JSON schema. `source-google-sheets` needs to look in the new location for properties, otherwise the connector will crash with a `KeyError`.
Copy link
Member

@williamhbaker williamhbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Alex-Bair Alex-Bair merged commit fdbb95d into master Aug 28, 2025
45 of 57 checks passed
@Alex-Bair Alex-Bair deleted the bair/source-google-sheets-update-properties-location-in-json-schema branch August 28, 2025 21:54
Alex-Bair added a commit that referenced this pull request Aug 28, 2025
Alex-Bair added a commit that referenced this pull request Aug 28, 2025
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.

3 participants