5
5
}}
6
6
7
7
select 1 as id
8
- -- from {{ ref('stg_model_3') }}
9
8
10
- -- union all
11
- -- select
12
- -- 3 as id
13
- -- from my_db.my_schema.my_table
14
- -- union all
15
- -- select
16
- -- 3 as id
17
- -- from 'my_db'.'my_schema'.'my_table'
18
- -- union all
19
- -- select
20
- -- 3 as id
21
- -- from "my_db"."my_schema"."my_table"
22
- -- union all
23
- -- select
24
- -- 3 as id
25
- -- from `my_db`.`my_schema`.`my_table`
26
- -- union all
27
- -- select
28
- -- 3 as id
29
- -- from [my_db].[my_schema].[my_table]
9
+ -- depends on {{ ref('stg_model_3') }}
30
10
31
- -- union all
32
- -- select
33
- -- 4 as id
34
- -- from my_schema.raw_relation_5
35
- -- union all
36
- -- select
37
- -- 4 as id
38
- -- from 'my_schema'.'raw_relation_5'
39
- -- union all
40
- -- select
41
- -- 4 as id
42
- -- from "my_schema"."raw_relation_5"
43
- -- union all
44
- -- select
45
- -- 4 as id
46
- -- from `my_schema`.`raw_relation_5`
47
- -- union all
48
- -- select
49
- -- 4 as id
50
- -- from [my_schema].[raw_relation_5]
11
+ {#
12
+ from {{ ref(' stg_model_3' ) }}
13
+ union all
14
+ select
15
+ 3 as id
16
+ from my_db .my_schema .my_table
17
+ union all
18
+ select
19
+ 3 as id
20
+ from ' my_db' .' my_schema' .' my_table'
21
+ union all
22
+ select
23
+ 3 as id
24
+ from " my_db" ." my_schema" ." my_table"
25
+ union all
26
+ select
27
+ 3 as id
28
+ from ` my_db` .` my_schema` .` my_table`
29
+ union all
30
+ select
31
+ 3 as id
32
+ from [my_db].[my_schema].[my_table]
33
+ union all
34
+ select
35
+ 4 as id
36
+ from my_schema .raw_relation_5
37
+ union all
38
+ select
39
+ 4 as id
40
+ from ' my_schema' .' raw_relation_5'
41
+ union all
42
+ select
43
+ 4 as id
44
+ from " my_schema" ." raw_relation_5"
45
+ union all
46
+ select
47
+ 4 as id
48
+ from ` my_schema` .` raw_relation_5`
49
+ union all
50
+ select
51
+ 4 as id
52
+ from [my_schema].[raw_relation_5]
53
+ union all
54
+ select
55
+ 4 as id
56
+ from ` raw_relation_1`
57
+ union all
58
+ select
59
+ 4 as id
60
+ from " raw_relation_2"
61
+ union all
62
+ select
63
+ 4 as id
64
+ from [raw_relation_3]
65
+ union all
66
+ select
67
+ 4 as id
68
+ from ' raw_relation_4'
69
+ union all
70
+ select
71
+ 4 as id
72
+ from {{ var(" my_table_reference" ) }}
73
+ union all
74
+ select
75
+ 4 as id
76
+ from {{ var(' my_table_reference' ) }}
77
+ union all
78
+
79
+ -- the following is SQL commented so it should not be found as a hard coded reference
80
+ -- select
81
+ -- 6 as id
82
+ -- from my_db.my_schema.my_table222
83
+
84
+ select
85
+ 5 as id
86
+ from {{ var(" my_table_reference" , " table_d" ) }}
87
+ union all
88
+ select
89
+ 5 as id
90
+ from {{ var(' my_table_reference' , ' table_d' ) }}
51
91
52
92
53
- -- union all
54
- -- select
55
- -- 4 as id
56
- -- from `raw_relation_1`
57
- -- union all
58
- -- select
59
- -- 4 as id
60
- -- from "raw_relation_2"
61
- -- union all
62
- -- select
63
- -- 4 as id
64
- -- from [raw_relation_3]
65
- -- union all
66
- -- select
67
- -- 4 as id
68
- -- from 'raw_relation_4'
69
-
70
- -- union all
71
- -- select
72
- -- 4 as id
73
- -- from {{ var("my_table_reference") }}
74
- -- union all
75
- -- select
76
- -- 4 as id
77
- -- from {{ var('my_table_reference') }}
78
-
79
-
80
- -- union all
81
- -- select
82
- -- 5 as id
83
- -- from {{ var("my_table_reference", "table_d") }}
84
- -- union all
85
- -- select
86
- -- 5 as id
87
- -- from {{ var('my_table_reference', 'table_d') }}
88
- -- select
89
- -- 7 as id
90
- -- from {{ var('my_table_reference', 'table_d') }}
93
+ # }
0 commit comments