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
Copy file name to clipboardExpand all lines: website/docs/components/data-connectors/github/index.md
+22-15Lines changed: 22 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The GitHub Data Connector enables federated SQL queries on various GitHub resour
13
13
14
14
### `from`
15
15
16
-
The `from` field specifies the GitHub resource to query. It supports the following formats:
16
+
The `from` field specifies the GitHub resource to query. The owner and repository name are extracted from the path (e.g., `github:github.com/spiceai/spiceai/issues` targets the `spiceai/spiceai` repository). It supports the following formats:
|`github_query_mode`| Optional. Specifies whether the connector should use the GitHub [search API](https://docs.github.com/en/graphql/reference/queries#search) for improved filter performance. Defaults to `auto`, possible values of `auto` or `search`. |
75
-
|`owner`| Required. Specifies the owner of the GitHub repository. |
76
-
|`repo`| Required. Specifies the name of the GitHub repository. |
77
75
78
76
## Advanced Configuration
79
77
@@ -174,6 +172,7 @@ datasets:
174
172
| ------------ | --------- | ----------- |
175
173
| name | Utf8 | YES |
176
174
| path | Utf8 | YES |
175
+
| ref | Utf8 | NO |
177
176
| size | Int64 | YES |
178
177
| sha | Utf8 | YES |
179
178
| mode | Utf8 | YES |
@@ -315,6 +314,7 @@ datasets:
315
314
| reviews_count | Int64 | YES |
316
315
| state | Utf8 | YES |
317
316
| title | Utf8 | YES |
317
+
| updated_at | Timestamp | YES |
318
318
| url | Utf8 | YES |
319
319
320
320
**Note**: The `discussion` and `review_comments` columns are only included in the schema when the `github_include_comments` parameter is set accordingly.
0 commit comments