-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e424573
commit 2f62254
Showing
17 changed files
with
1,143 additions
and
36 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
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
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
107 changes: 107 additions & 0 deletions
107
notebooks/scenarios/bigquery/upgradability/0.9.1_notebooks/emails_k8s.json
Large diffs are not rendered by default.
Oops, something went wrong.
180 changes: 180 additions & 0 deletions
180
notebooks/scenarios/bigquery/upgradability/0.9.1_notebooks/jobs_k8s.json
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,180 @@ | ||
{ | ||
"[email protected]": [ | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "simple_query_61dd0e", | ||
"query": "SELECT table_id, AVG(colname) AS average_score\n FROM data_10gb.subreddits\n GROUP BY table_id\n LIMIT 713078", | ||
"job_type": "simple_query", | ||
"settings": { | ||
"dataset": "data_10gb", | ||
"table": "subreddits", | ||
"groupby_col": "table_id", | ||
"score_col": "colname", | ||
"limit": 713078 | ||
}, | ||
"should_succeed": true, | ||
"should_submit": true, | ||
"code_path": "simple_query_61dd0e", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
}, | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "simple_query_7e0b14", | ||
"query": "SELECT subreddit_id, AVG(score) AS average_score\n FROM data_10gb.comments\n GROUP BY subreddit_id\n LIMIT 770329", | ||
"job_type": "simple_query", | ||
"settings": { | ||
"dataset": "data_10gb", | ||
"table": "comments", | ||
"groupby_col": "subreddit_id", | ||
"score_col": "score", | ||
"limit": 770329 | ||
}, | ||
"should_succeed": true, | ||
"should_submit": true, | ||
"code_path": "simple_query_7e0b14", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
} | ||
], | ||
"[email protected]": [ | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "simple_query_6e409e", | ||
"query": "SELECT table_id, AVG(colname) AS average_score\n FROM test_1gb.subreddits\n GROUP BY table_id\n LIMIT 969621", | ||
"job_type": "simple_query", | ||
"settings": { | ||
"dataset": "test_1gb", | ||
"table": "subreddits", | ||
"groupby_col": "table_id", | ||
"score_col": "colname", | ||
"limit": 969621 | ||
}, | ||
"should_succeed": true, | ||
"should_submit": true, | ||
"code_path": "simple_query_6e409e", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
}, | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "wrong_syntax_query_201be7", | ||
"query": "SELECT * FROM table INCORRECT SYNTAX", | ||
"job_type": "wrong_syntax_query", | ||
"settings": {}, | ||
"should_succeed": false, | ||
"should_submit": true, | ||
"code_path": "wrong_syntax_query_201be7", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
} | ||
], | ||
"[email protected]": [ | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "simple_query_cac747", | ||
"query": "SELECT table_id, AVG(colname) AS average_score\n FROM data_10gb.subreddits\n GROUP BY table_id\n LIMIT 865657", | ||
"job_type": "simple_query", | ||
"settings": { | ||
"dataset": "data_10gb", | ||
"table": "subreddits", | ||
"groupby_col": "table_id", | ||
"score_col": "colname", | ||
"limit": 865657 | ||
}, | ||
"should_succeed": true, | ||
"should_submit": true, | ||
"code_path": "simple_query_cac747", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
}, | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "job_too_much_text_7d0b7e", | ||
"query": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", | ||
"job_type": "job_too_much_text", | ||
"settings": {}, | ||
"should_succeed": false, | ||
"should_submit": true, | ||
"code_path": "job_too_much_text_7d0b7e", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
} | ||
], | ||
"[email protected]": [ | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "simple_query_9ab2f5", | ||
"query": "SELECT table_id, AVG(colname) AS average_score\n FROM test_1gb.subreddits\n GROUP BY table_id\n LIMIT 897138", | ||
"job_type": "simple_query", | ||
"settings": { | ||
"dataset": "test_1gb", | ||
"table": "subreddits", | ||
"groupby_col": "table_id", | ||
"score_col": "colname", | ||
"limit": 897138 | ||
}, | ||
"should_succeed": true, | ||
"should_submit": true, | ||
"code_path": "simple_query_9ab2f5", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
}, | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "job_long_name_d6277aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", | ||
"query": "SELECT subreddit_id, AVG(score) AS average_score\n FROM data_10gb.comments\n GROUP BY subreddit_id\n LIMIT 591345", | ||
"job_type": "job_long_name", | ||
"settings": { | ||
"dataset": "data_10gb", | ||
"table": "comments", | ||
"groupby_col": "subreddit_id", | ||
"score_col": "score", | ||
"limit": 591345 | ||
}, | ||
"should_succeed": true, | ||
"should_submit": true, | ||
"code_path": "job_long_name_d6277aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
} | ||
], | ||
"[email protected]": [ | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "simple_query_edeb0b", | ||
"query": "SELECT subreddit_id, AVG(score) AS average_score\n FROM data_10gb.comments\n GROUP BY subreddit_id\n LIMIT 133654", | ||
"job_type": "simple_query", | ||
"settings": { | ||
"dataset": "data_10gb", | ||
"table": "comments", | ||
"groupby_col": "subreddit_id", | ||
"score_col": "score", | ||
"limit": 133654 | ||
}, | ||
"should_succeed": true, | ||
"should_submit": true, | ||
"code_path": "simple_query_edeb0b", | ||
"admin_reviewed": true, | ||
"result_as_expected": true | ||
}, | ||
{ | ||
"user_email": "[email protected]", | ||
"func_name": "job_funcname_xss_338b43<script>alert('XSS in funcname')</script>", | ||
"query": "SELECT table_id, AVG(colname) AS average_score\n FROM test_1gb.subreddits\n GROUP BY table_id\n LIMIT 64464", | ||
"job_type": "job_funcname_xss", | ||
"settings": { | ||
"dataset": "test_1gb", | ||
"table": "subreddits", | ||
"groupby_col": "table_id", | ||
"score_col": "colname", | ||
"limit": 64464 | ||
}, | ||
"should_succeed": true, | ||
"should_submit": false, | ||
"code_path": null, | ||
"admin_reviewed": false, | ||
"result_as_expected": null | ||
} | ||
] | ||
} |
52 changes: 52 additions & 0 deletions
52
notebooks/scenarios/bigquery/upgradability/0.9.1_notebooks/users_k8s.json
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,52 @@ | ||
[ | ||
{ | ||
"name": "Richard Porter", | ||
"email": "[email protected]", | ||
"password": "Fmo4!MxcZ(", | ||
"role": "ServiceRole.DATA_SCIENTIST", | ||
"new_password": null, | ||
"email_disabled": true, | ||
"reset_password": false, | ||
"reset_token": null | ||
}, | ||
{ | ||
"name": "Christine Peterson", | ||
"email": "[email protected]", | ||
"password": "4J13O(x&!G", | ||
"role": "ServiceRole.DATA_SCIENTIST", | ||
"new_password": null, | ||
"email_disabled": false, | ||
"reset_password": true, | ||
"reset_token": "DgSgUZ2gOpvm" | ||
}, | ||
{ | ||
"name": "Jon Wilson", | ||
"email": "[email protected]", | ||
"password": "h5TEQw#t%4", | ||
"role": "ServiceRole.DATA_SCIENTIST", | ||
"new_password": null, | ||
"email_disabled": false, | ||
"reset_password": false, | ||
"reset_token": null | ||
}, | ||
{ | ||
"name": "Tyrone Flores", | ||
"email": "[email protected]", | ||
"password": "&#CJFvxb3_", | ||
"role": "ServiceRole.DATA_SCIENTIST", | ||
"new_password": null, | ||
"email_disabled": false, | ||
"reset_password": false, | ||
"reset_token": null | ||
}, | ||
{ | ||
"name": "Brian Bradford", | ||
"email": "[email protected]", | ||
"password": "crZ#4Heh6e", | ||
"role": "ServiceRole.DATA_SCIENTIST", | ||
"new_password": null, | ||
"email_disabled": false, | ||
"reset_password": false, | ||
"reset_token": null | ||
} | ||
] |
Oops, something went wrong.