...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: bigquery.cnrm.cloud.google.com/v1beta1
16kind: BigQueryTable
17metadata:
18 name: bigqueryjobdep1copy
19spec:
20 friendlyName: bigqueryjob-dep1-copy
21 description: "Source BigQueryTable 1"
22 datasetRef:
23 name: bigqueryjobdep1copy
24 schema: |
25 [
26 {
27 "name": "name",
28 "type": "STRING",
29 "mode": "NULLABLE"
30 },
31 {
32 "name": "post_abbr",
33 "type": "STRING",
34 "mode": "NULLABLE"
35 },
36 {
37 "name": "date",
38 "type": "DATE",
39 "mode": "NULLABLE"
40 }
41 ]
42---
43apiVersion: bigquery.cnrm.cloud.google.com/v1beta1
44kind: BigQueryTable
45metadata:
46 name: bigqueryjobdep2copy
47spec:
48 friendlyName: bigqueryjob-dep2-copy
49 description: "Source BigQueryTable 2"
50 datasetRef:
51 name: bigqueryjobdep2copy
52 schema: |
53 [
54 {
55 "name": "name",
56 "type": "STRING",
57 "mode": "NULLABLE"
58 },
59 {
60 "name": "post_abbr",
61 "type": "STRING",
62 "mode": "NULLABLE"
63 },
64 {
65 "name": "date",
66 "type": "DATE",
67 "mode": "NULLABLE"
68 }
69 ]
70---
71apiVersion: bigquery.cnrm.cloud.google.com/v1beta1
72kind: BigQueryTable
73metadata:
74 name: bigqueryjobdep3copy
75spec:
76 friendlyName: bigqueryjob-dep3-copy
77 description: "Destination BigQueryTable"
78 datasetRef:
79 name: bigqueryjobdep3copy
80 schema: |
81 [
82 {
83 "name": "name",
84 "type": "STRING",
85 "mode": "NULLABLE"
86 },
87 {
88 "name": "post_abbr",
89 "type": "STRING",
90 "mode": "NULLABLE"
91 },
92 {
93 "name": "date",
94 "type": "DATE",
95 "mode": "NULLABLE"
96 }
97 ]
98 encryptionConfiguration:
99 kmsKeyRef:
100 name: bigqueryjob-dep-copy
View as plain text