Commit 5310f9e
data analytics tutorial expansion project (GoogleCloudPlatform#8290)
* Kaiyang expansion project 2022 (GoogleCloudPlatform#8224)
* chenged the dag to load ghcn dataset
* data preprocessing done
* modified preprocessing
* dataproc file added
* code runs great
* modifyed code based on Brad, still buggy
* finished modifying, haven't sync wit hDAG
* finished modifying DAG codes
* ready for draft PR
* pass lint
* addressed Brad and Leah's comments
* pass nox lint
* pass nox lint
* Fix: Retry CLI launch if needed (GoogleCloudPlatform#8221)
* Fix: add region tags
* Fix: region tag typos
* Fix: urlpatterns moved to end
* Fix: typo
* Fix: cli retries to fix flakiness
* Fix: remove duplicate tags
* Fix: use backoff for retries
* Fix: lint import order error
* address Leah's comments about typo and comments
Co-authored-by: Charles Engelke <engelke@google.com>
* run blacken on dag and dataproc code
* WIP: not working test for process job
* working test for expansion dataproc script
* move dataproc expansion files to separate directory
* add readme
* update readme
* run black
* ignore data file
* fix import order
* ignore one line of lint because it's being silly
* add check for Notfound for test
* add requirements files
* add noxfile config
* update try/except
* experiment - fully qualify path
* update filepath
* update path
* try different path
* remove the directory that was causing test problems
* fix typo in header checker
* tell folks to skip cleanup of prereq
* clean up hyperlinks for distance weighting and arithmetic mean
* fix math links again
* remove debug statements
* remove commented out variables
* Update composer/2022_airflow_summit/data_analytics_dag_expansion_test.py
Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>
* Apply suggestions from code review
* update apache-beam version (GoogleCloudPlatform#8302)
Bumping the `apache-beam[gcp]` version to (indirectly) bump the `google-cloud-pubsub` version to accept the keyword argument `request` on `create_topic()`
* dataflow: replace job name underscores with hyphens (GoogleCloudPlatform#8303)
* dataflow: replace job name underscores with hyphens
It looks like Dataflow no longer accepts underscores in the job names. Replacing them with hyphens should work.
* fix test checks
* improve error reporting
* fix test name for exception handling
* chore(deps): update dependency datalab to v1.2.1 (GoogleCloudPlatform#8309)
* fix: unsanitized output (GoogleCloudPlatform#8316)
* fix: unsanitized output
* fix: add license to template
* chore(deps): update dependency cryptography to v38 (GoogleCloudPlatform#8317)
* chore(deps): update dependency cryptography to v38
* lint
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* Remove region tags to be consistent with other languages (GoogleCloudPlatform#8322)
* fix lint in conftest (GoogleCloudPlatform#8324)
* Pin perl version to 5.34.0 as latest doesn't work with the example. (GoogleCloudPlatform#8319)
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
* refactor fixtures
* revert last change
* revert last change
* chore(deps): update dependency tensorflow to v2.7.2 [security] (GoogleCloudPlatform#8329)
* remove backoff, add manual retry (GoogleCloudPlatform#8328)
* remove backoff, add manual retry
* fix lint
* remove unused import
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* refactor test to match GoogleCloudPlatform#8328
* update most write methods, fix test issue with comparing to exception
* Bmiro kaiyang edit (GoogleCloudPlatform#8350)
* modified code to more closely adhere to Spark best practices
* remove unnecessary import
* improved explanation of Inverse Distance Weighting
* Apply suggestions from code review
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
* run black on process files
* fix relative import issue
* fixed jvm error (GoogleCloudPlatform#8360)
* Add UDF type hinting (GoogleCloudPlatform#8361)
* fixed jvm error
* add type hinting to UDF
* Update composer/2022_airflow_summit/data_analytics_process_expansion.py
* fix comment alignment
* change dataproc region to northamerica-northeast1
* refactor import
* switch other test to also use northamerica-northeast1
Co-authored-by: kaiyang-code <57576013+kaiyang-code@users.noreply.github.com>
Co-authored-by: Charles Engelke <engelke@google.com>
Co-authored-by: Maciej Strzelczyk <strzelczyk@google.com>
Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>
Co-authored-by: David Cavazos <dcavazos@google.com>
Co-authored-by: WhiteSource Renovate <bot@renovateapp.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Averi Kitsch <akitsch@google.com>
Co-authored-by: mhenc <mhenc@google.com>
Co-authored-by: Brad Miro <bmiro@google.com>1 parent a18c139 commit 5310f9e
13 files changed
Lines changed: 249882 additions & 10 deletions
File tree
- .github
- composer/2022_airflow_summit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
Lines changed: 140 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments