forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore lost csvupload snowplow schema (metabase#40277)
- Loading branch information
1 parent
efffd58
commit b4949f7
Showing
5 changed files
with
123 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
snowplow/iglu-client-embedded/schemas/com.metabase/csvupload/jsonschema/1-0-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"self": { | ||
"vendor": "com.metabase", | ||
"name": "csvupload", | ||
"format": "jsonschema", | ||
"version": "1-0-2" | ||
}, | ||
"description": "CSV upload events", | ||
"properties": { | ||
"event": { | ||
"description": "Event name", | ||
"type": "string", | ||
"enum": [ | ||
"csv_upload_successful", | ||
"csv_upload_failed", | ||
"csv_append_successful", | ||
"csv_append_failed"], | ||
"maxLength": 128 | ||
}, | ||
"model_id": { | ||
"description": "Unique identifier for the newly created model", | ||
"type": [ | ||
"integer", | ||
"null" | ||
], | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"upload_seconds": { | ||
"description": "Number of seconds the csv took to upload", | ||
"type": [ | ||
"number", | ||
"null" | ||
], | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"size_mb": { | ||
"description": "File size of the CSV in megabytes", | ||
"type": "number", | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"num_columns": { | ||
"description": "Number of columns in the CSV file (does not include generated columns)", | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"num_rows": { | ||
"description": "Number of rows in the CSV", | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"generated_columns": { | ||
"description": "Number of new columns we added to the CSV (e.g., a PK)", | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"required": [ | ||
"event", | ||
"size_mb", | ||
"num_columns", | ||
"num_rows", | ||
"generated_columns" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters