-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #384 from basedosdados/staging/br-datahackers-stat…
…e-data [dbt] `br_datahackers_state_data`
- Loading branch information
Showing
3 changed files
with
2,200 additions
and
0 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
357 changes: 357 additions & 0 deletions
357
models/br_datahackers_state_data/br_datahackers_state_data__microdados.sql
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,357 @@ | ||
{{ config(alias='microdados',schema='br_datahackers_state_data') }} | ||
SELECT | ||
SAFE_CAST(p0 AS STRING) p0, | ||
SAFE_CAST(p1_a AS INT64) p1_a, | ||
SAFE_CAST(p1_a_1 AS STRING) p1_a_1, | ||
SAFE_CAST(p1_b AS STRING) p1_b, | ||
SAFE_CAST(p1_c AS STRING) p1_c, | ||
SAFE_CAST(p1_d AS STRING) p1_d, | ||
SAFE_CAST(p1_e AS STRING) p1_e, | ||
SAFE_CAST(p1_f AS STRING) p1_f, | ||
SAFE_CAST(p1_g AS BOOLEAN) p1_g, | ||
SAFE_CAST(p1_i AS STRING) p1_i, | ||
SAFE_CAST(p1_i_1 AS STRING) p1_i_1, | ||
SAFE_CAST(p1_i_2 AS STRING) p1_i_2, | ||
SAFE_CAST(p1_j AS BOOLEAN) p1_j, | ||
SAFE_CAST(p1_k AS STRING) p1_k, | ||
SAFE_CAST(p1_l AS STRING) p1_l, | ||
SAFE_CAST(p1_m AS STRING) p1_m, | ||
SAFE_CAST(p2_a AS STRING) p2_a, | ||
SAFE_CAST(p2_b AS STRING) p2_b, | ||
SAFE_CAST(p2_c AS STRING) p2_c, | ||
SAFE_CAST(p2_d AS BOOLEAN) p2_d, | ||
SAFE_CAST(p2_e AS STRING) p2_e, | ||
SAFE_CAST(p2_f AS STRING) p2_f, | ||
SAFE_CAST(p2_g AS STRING) p2_g, | ||
SAFE_CAST(p2_h AS STRING) p2_h, | ||
SAFE_CAST(p2_i AS STRING) p2_i, | ||
SAFE_CAST(p2_j AS STRING) p2_j, | ||
SAFE_CAST(p2_k AS BOOLEAN) p2_k, | ||
SAFE_CAST(p2_l AS STRING) p2_l, | ||
SAFE_CAST(p2_l_1 AS INT64) p2_l_1, | ||
SAFE_CAST(p2_l_2 AS INT64) p2_l_2, | ||
SAFE_CAST(p2_l_3 AS INT64) p2_l_3, | ||
SAFE_CAST(p2_l_4 AS INT64) p2_l_4, | ||
SAFE_CAST(p2_l_5 AS INT64) p2_l_5, | ||
SAFE_CAST(p2_l_6 AS INT64) p2_l_6, | ||
SAFE_CAST(p2_l_7 AS INT64) p2_l_7, | ||
SAFE_CAST(p2_m AS STRING) p2_m, | ||
SAFE_CAST(p2_n AS STRING) p2_n, | ||
SAFE_CAST(p2_o AS STRING) p2_o, | ||
SAFE_CAST(p2_o_1 AS INT64) p2_o_1, | ||
SAFE_CAST(p2_o_2 AS INT64) p2_o_2, | ||
SAFE_CAST(p2_o_3 AS INT64) p2_o_3, | ||
SAFE_CAST(p2_o_4 AS INT64) p2_o_4, | ||
SAFE_CAST(p2_o_5 AS INT64) p2_o_5, | ||
SAFE_CAST(p2_o_6 AS INT64) p2_o_6, | ||
SAFE_CAST(p2_o_7 AS INT64) p2_o_7, | ||
SAFE_CAST(p2_o_8 AS INT64) p2_o_8, | ||
SAFE_CAST(p2_o_9 AS INT64) p2_o_9, | ||
SAFE_CAST(p2_o_10 AS INT64) p2_o_10, | ||
SAFE_CAST(p2_p AS STRING) p2_p, | ||
SAFE_CAST(p2_q AS STRING) p2_q, | ||
SAFE_CAST(p2_r AS STRING) p2_r, | ||
SAFE_CAST(p2_s AS STRING) p2_s, | ||
SAFE_CAST(p3_a AS STRING) p3_a, | ||
SAFE_CAST(p3_b AS STRING) p3_b, | ||
SAFE_CAST(p3_b_1 AS INT64) p3_b_1, | ||
SAFE_CAST(p3_b_2 AS INT64) p3_b_2, | ||
SAFE_CAST(p3_b_3 AS INT64) p3_b_3, | ||
SAFE_CAST(p3_b_4 AS INT64) p3_b_4, | ||
SAFE_CAST(p3_b_5 AS INT64) p3_b_5, | ||
SAFE_CAST(p3_b_6 AS INT64) p3_b_6, | ||
SAFE_CAST(p3_b_7 AS INT64) p3_b_7, | ||
SAFE_CAST(p3_b_8 AS INT64) p3_b_8, | ||
SAFE_CAST(p3_b_9 AS INT64) p3_b_9, | ||
SAFE_CAST(p3_c AS STRING) p3_c, | ||
SAFE_CAST(p3_c_1 AS INT64) p3_c_1, | ||
SAFE_CAST(p3_c_2 AS INT64) p3_c_2, | ||
SAFE_CAST(p3_c_3 AS INT64) p3_c_3, | ||
SAFE_CAST(p3_c_4 AS INT64) p3_c_4, | ||
SAFE_CAST(p3_c_5 AS INT64) p3_c_5, | ||
SAFE_CAST(p3_c_6 AS INT64) p3_c_6, | ||
SAFE_CAST(p3_c_7 AS INT64) p3_c_7, | ||
SAFE_CAST(p3_c_8 AS INT64) p3_c_8, | ||
SAFE_CAST(p3_c_9 AS INT64) p3_c_9, | ||
SAFE_CAST(p3_c_10 AS INT64) p3_c_10, | ||
SAFE_CAST(p3_c_11 AS INT64) p3_c_11, | ||
SAFE_CAST(p3_d AS STRING) p3_d, | ||
SAFE_CAST(p3_d_1 AS INT64) p3_d_1, | ||
SAFE_CAST(p3_d_2 AS INT64) p3_d_2, | ||
SAFE_CAST(p3_d_3 AS INT64) p3_d_3, | ||
SAFE_CAST(p3_d_4 AS INT64) p3_d_4, | ||
SAFE_CAST(p3_d_5 AS INT64) p3_d_5, | ||
SAFE_CAST(p3_d_6 AS INT64) p3_d_6, | ||
SAFE_CAST(p3_d_7 AS INT64) p3_d_7, | ||
SAFE_CAST(p3_d_8 AS INT64) p3_d_8, | ||
SAFE_CAST(p3_d_9 AS INT64) p3_d_9, | ||
SAFE_CAST(p3_d_10 AS INT64) p3_d_10, | ||
SAFE_CAST(p3_d_11 AS INT64) p3_d_11, | ||
SAFE_CAST(p3_d_12 AS INT64) p3_d_12, | ||
SAFE_CAST(p3_d_13 AS INT64) p3_d_13, | ||
SAFE_CAST(p3_d_14 AS INT64) p3_d_14, | ||
SAFE_CAST(p4_a AS STRING) p4_a, | ||
SAFE_CAST(p4_a_1 AS STRING) p4_a_1, | ||
SAFE_CAST(p4_b AS STRING) p4_b, | ||
SAFE_CAST(p4_b_1 AS INT64) p4_b_1, | ||
SAFE_CAST(p4_b_2 AS INT64) p4_b_2, | ||
SAFE_CAST(p4_b_3 AS INT64) p4_b_3, | ||
SAFE_CAST(p4_b_4 AS INT64) p4_b_4, | ||
SAFE_CAST(p4_b_5 AS INT64) p4_b_5, | ||
SAFE_CAST(p4_b_6 AS INT64) p4_b_6, | ||
SAFE_CAST(p4_b_7 AS INT64) p4_b_7, | ||
SAFE_CAST(p4_b_8 AS INT64) p4_b_8, | ||
SAFE_CAST(p4_c AS STRING) p4_c, | ||
SAFE_CAST(p4_c_1 AS INT64) p4_c_1, | ||
SAFE_CAST(p4_c_2 AS INT64) p4_c_2, | ||
SAFE_CAST(p4_c_3 AS INT64) p4_c_3, | ||
SAFE_CAST(p4_c_4 AS INT64) p4_c_4, | ||
SAFE_CAST(p4_c_5 AS INT64) p4_c_5, | ||
SAFE_CAST(p4_c_6 AS INT64) p4_c_6, | ||
SAFE_CAST(p4_c_7 AS INT64) p4_c_7, | ||
SAFE_CAST(p4_c_8 AS INT64) p4_c_8, | ||
SAFE_CAST(p4_d AS STRING) p4_d, | ||
SAFE_CAST(p4_d_1 AS INT64) p4_d_1, | ||
SAFE_CAST(p4_d_2 AS INT64) p4_d_2, | ||
SAFE_CAST(p4_d_3 AS INT64) p4_d_3, | ||
SAFE_CAST(p4_d_4 AS INT64) p4_d_4, | ||
SAFE_CAST(p4_d_5 AS INT64) p4_d_5, | ||
SAFE_CAST(p4_d_6 AS INT64) p4_d_6, | ||
SAFE_CAST(p4_d_7 AS INT64) p4_d_7, | ||
SAFE_CAST(p4_d_8 AS INT64) p4_d_8, | ||
SAFE_CAST(p4_d_9 AS INT64) p4_d_9, | ||
SAFE_CAST(p4_d_10 AS INT64) p4_d_10, | ||
SAFE_CAST(p4_d_11 AS INT64) p4_d_11, | ||
SAFE_CAST(p4_d_12 AS INT64) p4_d_12, | ||
SAFE_CAST(p4_d_13 AS INT64) p4_d_13, | ||
SAFE_CAST(p4_d_14 AS INT64) p4_d_14, | ||
SAFE_CAST(p4_e AS STRING) p4_e, | ||
SAFE_CAST(p4_f AS STRING) p4_f, | ||
SAFE_CAST(p4_g AS STRING) p4_g, | ||
SAFE_CAST(p4_g_1 AS INT64) p4_g_1, | ||
SAFE_CAST(p4_g_2 AS INT64) p4_g_2, | ||
SAFE_CAST(p4_g_3 AS INT64) p4_g_3, | ||
SAFE_CAST(p4_f_4 AS INT64) p4_f_4, | ||
SAFE_CAST(p4_f_5 AS INT64) p4_f_5, | ||
SAFE_CAST(p4_f_6 AS INT64) p4_f_6, | ||
SAFE_CAST(p4_f_7 AS INT64) p4_f_7, | ||
SAFE_CAST(p4_f_8 AS INT64) p4_f_8, | ||
SAFE_CAST(p4_f_9 AS INT64) p4_f_9, | ||
SAFE_CAST(p4_f_10 AS INT64) p4_f_10, | ||
SAFE_CAST(p4_f_11 AS INT64) p4_f_11, | ||
SAFE_CAST(p4_f_12 AS INT64) p4_f_12, | ||
SAFE_CAST(p4_f_13 AS INT64) p4_f_13, | ||
SAFE_CAST(p4_f_14 AS INT64) p4_f_14, | ||
SAFE_CAST(p4_f_15 AS INT64) p4_f_15, | ||
SAFE_CAST(p4_f_16 AS INT64) p4_f_16, | ||
SAFE_CAST(p4_f_17 AS INT64) p4_f_17, | ||
SAFE_CAST(p4_f_18 AS INT64) p4_f_18, | ||
SAFE_CAST(p4_f_19 AS INT64) p4_f_19, | ||
SAFE_CAST(p4_f_20 AS INT64) p4_f_20, | ||
SAFE_CAST(p4_f_21 AS INT64) p4_f_21, | ||
SAFE_CAST(p4_f_22 AS INT64) p4_f_22, | ||
SAFE_CAST(p4_f_23 AS INT64) p4_f_23, | ||
SAFE_CAST(p4_f_24 AS INT64) p4_f_24, | ||
SAFE_CAST(p4_f_25 AS INT64) p4_f_25, | ||
SAFE_CAST(p4_f_26 AS INT64) p4_f_26, | ||
SAFE_CAST(p4_f_27 AS INT64) p4_f_27, | ||
SAFE_CAST(p4_f_28 AS INT64) p4_f_28, | ||
SAFE_CAST(p4_f_29 AS INT64) p4_f_29, | ||
SAFE_CAST(p4_f_30 AS INT64) p4_f_30, | ||
SAFE_CAST(p4_f_31 AS INT64) p4_f_31, | ||
SAFE_CAST(p4_f_32 AS INT64) p4_f_32, | ||
SAFE_CAST(p4_f_33 AS INT64) p4_f_33, | ||
SAFE_CAST(p4_g__1 AS STRING) p4_g__1, | ||
SAFE_CAST(p4_h AS STRING) p4_h, | ||
SAFE_CAST(p4_h_1 AS INT64) p4_h_1, | ||
SAFE_CAST(p4_h_2 AS INT64) p4_h_2, | ||
SAFE_CAST(p4_h_3 AS INT64) p4_h_3, | ||
SAFE_CAST(p4_i AS STRING) p4_i, | ||
SAFE_CAST(p4_i_1 AS INT64) p4_i_1, | ||
SAFE_CAST(p4_i_2 AS INT64) p4_i_2, | ||
SAFE_CAST(p4_i_3 AS INT64) p4_i_3, | ||
SAFE_CAST(p4_i_4 AS INT64) p4_i_4, | ||
SAFE_CAST(p4_i_5 AS INT64) p4_i_5, | ||
SAFE_CAST(p4_i_6 AS INT64) p4_i_6, | ||
SAFE_CAST(p4_i_7 AS INT64) p4_i_7, | ||
SAFE_CAST(p4_i_8 AS INT64) p4_i_8, | ||
SAFE_CAST(p4_i_9 AS INT64) p4_i_9, | ||
SAFE_CAST(p4_i_10 AS INT64) p4_i_10, | ||
SAFE_CAST(p4_i_11 AS INT64) p4_i_11, | ||
SAFE_CAST(p4_i_12 AS INT64) p4_i_12, | ||
SAFE_CAST(p4_i_13 AS INT64) p4_i_13, | ||
SAFE_CAST(p4_i_14 AS INT64) p4_i_14, | ||
SAFE_CAST(p4_i_15 AS INT64) p4_i_15, | ||
SAFE_CAST(p4_i_16 AS INT64) p4_i_16, | ||
SAFE_CAST(p4_i_17 AS INT64) p4_i_17, | ||
SAFE_CAST(p4_i_18 AS INT64) p4_i_18, | ||
SAFE_CAST(p4_i_19 AS INT64) p4_i_19, | ||
SAFE_CAST(p4_i_20 AS INT64) p4_i_20, | ||
SAFE_CAST(p4_i_21 AS INT64) p4_i_21, | ||
SAFE_CAST(p4_i_22 AS INT64) p4_i_22, | ||
SAFE_CAST(p4_i_23 AS INT64) p4_i_23, | ||
SAFE_CAST(p5_a AS STRING) p5_a, | ||
SAFE_CAST(p5_b AS STRING) p5_b, | ||
SAFE_CAST(p5_c AS STRING) p5_c, | ||
SAFE_CAST(p5_d AS STRING) p5_d, | ||
SAFE_CAST(p6_a AS STRING) p6_a, | ||
SAFE_CAST(p6_a_1 AS INT64) p6_a_1, | ||
SAFE_CAST(p6_a_2 AS INT64) p6_a_2, | ||
SAFE_CAST(p6_a_3 AS INT64) p6_a_3, | ||
SAFE_CAST(p6_a_4 AS INT64) p6_a_4, | ||
SAFE_CAST(p6_a_5 AS INT64) p6_a_5, | ||
SAFE_CAST(p6_a_6 AS INT64) p6_a_6, | ||
SAFE_CAST(p6_a_7 AS INT64) p6_a_7, | ||
SAFE_CAST(p6_a_8 AS INT64) p6_a_8, | ||
SAFE_CAST(p6_a_9 AS INT64) p6_a_9, | ||
SAFE_CAST(p6_b AS STRING) p6_b, | ||
SAFE_CAST(p6_b_1 AS INT64) p6_b_1, | ||
SAFE_CAST(p6_b_2 AS INT64) p6_b_2, | ||
SAFE_CAST(p6_b_3 AS INT64) p6_b_3, | ||
SAFE_CAST(p6_b_4 AS INT64) p6_b_4, | ||
SAFE_CAST(p6_b_5 AS INT64) p6_b_5, | ||
SAFE_CAST(p6_b_6 AS INT64) p6_b_6, | ||
SAFE_CAST(p6_b_7 AS INT64) p6_b_7, | ||
SAFE_CAST(p6_b_8 AS INT64) p6_b_8, | ||
SAFE_CAST(p6_b_9 AS INT64) p6_b_9, | ||
SAFE_CAST(p6_b_10 AS INT64) p6_b_10, | ||
SAFE_CAST(p6_b_11 AS INT64) p6_b_11, | ||
SAFE_CAST(p6_b_12 AS INT64) p6_b_12, | ||
SAFE_CAST(p6_b_13 AS INT64) p6_b_13, | ||
SAFE_CAST(p6_b_14 AS INT64) p6_b_14, | ||
SAFE_CAST(p6_b_15 AS INT64) p6_b_15, | ||
SAFE_CAST(p6_b_16 AS INT64) p6_b_16, | ||
SAFE_CAST(p6_b_17 AS INT64) p6_b_17, | ||
SAFE_CAST(p6_b_18 AS INT64) p6_b_18, | ||
SAFE_CAST(p6_b_19 AS INT64) p6_b_19, | ||
SAFE_CAST(p6_b_19__1 AS INT64) p6_b_19__1, | ||
SAFE_CAST(p6_c AS BOOLEAN) p6_c, | ||
SAFE_CAST(p6_d AS STRING) p6_d, | ||
SAFE_CAST(p6_e AS BOOLEAN) p6_e, | ||
SAFE_CAST(p6_f AS STRING) p6_f, | ||
SAFE_CAST(p6_g AS STRING) p6_g, | ||
SAFE_CAST(p6_g_1 AS INT64) p6_g_1, | ||
SAFE_CAST(p6_g_2 AS INT64) p6_g_2, | ||
SAFE_CAST(p6_g_3 AS INT64) p6_g_3, | ||
SAFE_CAST(p6_g_4 AS INT64) p6_g_4, | ||
SAFE_CAST(p6_g_5 AS INT64) p6_g_5, | ||
SAFE_CAST(p6_g_6 AS INT64) p6_g_6, | ||
SAFE_CAST(p6_g_7 AS INT64) p6_g_7, | ||
SAFE_CAST(p6_g_8 AS INT64) p6_g_8, | ||
SAFE_CAST(p6_g_9 AS INT64) p6_g_9, | ||
SAFE_CAST(p6_g_10 AS INT64) p6_g_10, | ||
SAFE_CAST(p6_g_11 AS INT64) p6_g_11, | ||
SAFE_CAST(p6_g_l AS INT64) p6_g_l, | ||
SAFE_CAST(p6_g_m AS INT64) p6_g_m, | ||
SAFE_CAST(p6_h AS STRING) p6_h, | ||
SAFE_CAST(p6_h_1 AS INT64) p6_h_1, | ||
SAFE_CAST(p6_h_2 AS INT64) p6_h_2, | ||
SAFE_CAST(p6_h_3 AS INT64) p6_h_3, | ||
SAFE_CAST(p6_h_4 AS INT64) p6_h_4, | ||
SAFE_CAST(p6_h_5 AS INT64) p6_h_5, | ||
SAFE_CAST(p6_h_6 AS INT64) p6_h_6, | ||
SAFE_CAST(p6_h_7 AS INT64) p6_h_7, | ||
SAFE_CAST(p6_h_8 AS INT64) p6_h_8, | ||
SAFE_CAST(p6_h_9 AS INT64) p6_h_9, | ||
SAFE_CAST(p7_1 AS STRING) p7_1, | ||
SAFE_CAST(p7_a_1 AS INT64) p7_a_1, | ||
SAFE_CAST(p7_a_2 AS INT64) p7_a_2, | ||
SAFE_CAST(p7_a_3 AS INT64) p7_a_3, | ||
SAFE_CAST(p7_a_4 AS INT64) p7_a_4, | ||
SAFE_CAST(p7_a_5 AS INT64) p7_a_5, | ||
SAFE_CAST(p7_a_6 AS INT64) p7_a_6, | ||
SAFE_CAST(p7_a_7 AS INT64) p7_a_7, | ||
SAFE_CAST(p7_a_8 AS INT64) p7_a_8, | ||
SAFE_CAST(p7_a_9 AS INT64) p7_a_9, | ||
SAFE_CAST(p7_a_10 AS INT64) p7_a_10, | ||
SAFE_CAST(p7_b AS STRING) p7_b, | ||
SAFE_CAST(p7_b_1 AS INT64) p7_b_1, | ||
SAFE_CAST(p7_b_2 AS INT64) p7_b_2, | ||
SAFE_CAST(p7_b_3 AS INT64) p7_b_3, | ||
SAFE_CAST(p7_b_4 AS INT64) p7_b_4, | ||
SAFE_CAST(p7_b_5 AS INT64) p7_b_5, | ||
SAFE_CAST(p7_b_6 AS INT64) p7_b_6, | ||
SAFE_CAST(p7_b_7 AS INT64) p7_b_7, | ||
SAFE_CAST(p7_b_8 AS INT64) p7_b_8, | ||
SAFE_CAST(p7_b_9 AS INT64) p7_b_9, | ||
SAFE_CAST(p7_b_10 AS INT64) p7_b_10, | ||
SAFE_CAST(p7_b_11 AS INT64) p7_b_11, | ||
SAFE_CAST(p7_b_12 AS INT64) p7_b_12, | ||
SAFE_CAST(p7_b_13 AS INT64) p7_b_13, | ||
SAFE_CAST(p7_b_14 AS INT64) p7_b_14, | ||
SAFE_CAST(p7_b_15 AS INT64) p7_b_15, | ||
SAFE_CAST(p7_b_16 AS INT64) p7_b_16, | ||
SAFE_CAST(p7_b_17 AS INT64) p7_b_17, | ||
SAFE_CAST(p7_b_18 AS INT64) p7_b_18, | ||
SAFE_CAST(p7_b_19 AS INT64) p7_b_19, | ||
SAFE_CAST(p7_b_20 AS INT64) p7_b_20, | ||
SAFE_CAST(p7_c AS STRING) p7_c, | ||
SAFE_CAST(p7_c_1 AS INT64) p7_c_1, | ||
SAFE_CAST(p7_c_2 AS INT64) p7_c_2, | ||
SAFE_CAST(p7_c_3 AS INT64) p7_c_3, | ||
SAFE_CAST(p7_c_4 AS INT64) p7_c_4, | ||
SAFE_CAST(p7_c_5 AS INT64) p7_c_5, | ||
SAFE_CAST(p7_c_6 AS INT64) p7_c_6, | ||
SAFE_CAST(p7_d AS STRING) p7_d, | ||
SAFE_CAST(p7_d_1 AS INT64) p7_d_1, | ||
SAFE_CAST(p7_d_2 AS INT64) p7_d_2, | ||
SAFE_CAST(p7_d_3 AS INT64) p7_d_3, | ||
SAFE_CAST(p7_d_4 AS INT64) p7_d_4, | ||
SAFE_CAST(p7_d_5 AS INT64) p7_d_5, | ||
SAFE_CAST(p7_d_6 AS INT64) p7_d_6, | ||
SAFE_CAST(p7_d_7 AS INT64) p7_d_7, | ||
SAFE_CAST(p7_d_8 AS INT64) p7_d_8, | ||
SAFE_CAST(p7_d_9 AS INT64) p7_d_9, | ||
SAFE_CAST(p7_d_10 AS INT64) p7_d_10, | ||
SAFE_CAST(p8_a AS STRING) p8_a, | ||
SAFE_CAST(p8_a_1 AS INT64) p8_a_1, | ||
SAFE_CAST(p8_a_2 AS INT64) p8_a_2, | ||
SAFE_CAST(p8_a_3 AS INT64) p8_a_3, | ||
SAFE_CAST(p8_a_4 AS INT64) p8_a_4, | ||
SAFE_CAST(p8_a_5 AS INT64) p8_a_5, | ||
SAFE_CAST(p8_a_6 AS INT64) p8_a_6, | ||
SAFE_CAST(p8_a_7 AS INT64) p8_a_7, | ||
SAFE_CAST(p8_a_8 AS INT64) p8_a_8, | ||
SAFE_CAST(p8_a_9 AS INT64) p8_a_9, | ||
SAFE_CAST(p8_a_10 AS INT64) p8_a_10, | ||
SAFE_CAST(p8_a_11 AS INT64) p8_a_11, | ||
SAFE_CAST(p8_b AS STRING) p8_b, | ||
SAFE_CAST(p8_b_1 AS INT64) p8_b_1, | ||
SAFE_CAST(p8_b_2 AS INT64) p8_b_2, | ||
SAFE_CAST(p8_b_3 AS INT64) p8_b_3, | ||
SAFE_CAST(p8_b_4 AS INT64) p8_b_4, | ||
SAFE_CAST(p8_b_5 AS INT64) p8_b_5, | ||
SAFE_CAST(p8_b_6 AS INT64) p8_b_6, | ||
SAFE_CAST(p8_b_7 AS INT64) p8_b_7, | ||
SAFE_CAST(p8_b_8 AS INT64) p8_b_8, | ||
SAFE_CAST(p8_b_9 AS INT64) p8_b_9, | ||
SAFE_CAST(p8_b_10 AS INT64) p8_b_10, | ||
SAFE_CAST(p8_b_11 AS INT64) p8_b_11, | ||
SAFE_CAST(p8_b_l AS INT64) p8_b_l, | ||
SAFE_CAST(p8_b_m AS INT64) p8_b_m, | ||
SAFE_CAST(p8_3 AS STRING) p8_3, | ||
SAFE_CAST(p8_c_1 AS INT64) p8_c_1, | ||
SAFE_CAST(p8_c_2 AS INT64) p8_c_2, | ||
SAFE_CAST(p8_c_3 AS INT64) p8_c_3, | ||
SAFE_CAST(p8_c_4 AS INT64) p8_c_4, | ||
SAFE_CAST(p8_c_5 AS INT64) p8_c_5, | ||
SAFE_CAST(p8_c_6 AS INT64) p8_c_6, | ||
SAFE_CAST(p8_c_7 AS INT64) p8_c_7, | ||
SAFE_CAST(p8_c_8 AS INT64) p8_c_8, | ||
SAFE_CAST(p8_c_9 AS INT64) p8_c_9, | ||
SAFE_CAST(p8_c_10 AS INT64) p8_c_10, | ||
SAFE_CAST(p8_c_11 AS INT64) p8_c_11, | ||
SAFE_CAST(p8_d AS STRING) p8_d, | ||
SAFE_CAST(p8_d_1 AS INT64) p8_d_1, | ||
SAFE_CAST(p8_d_2 AS INT64) p8_d_2, | ||
SAFE_CAST(p8_d_3 AS INT64) p8_d_3, | ||
SAFE_CAST(p8_d_4 AS INT64) p8_d_4, | ||
SAFE_CAST(p8_d_5 AS INT64) p8_d_5, | ||
SAFE_CAST(p8_d_6 AS INT64) p8_d_6, | ||
SAFE_CAST(p8_d_7 AS INT64) p8_d_7, | ||
SAFE_CAST(p8_d_8 AS INT64) p8_d_8, | ||
SAFE_CAST(p8_d_9 AS INT64) p8_d_9, | ||
SAFE_CAST(p8_d_10 AS INT64) p8_d_10, | ||
SAFE_CAST(p8_d_11 AS INT64) p8_d_11, | ||
FROM basedosdados-staging.br_datahackers_state_data_staging.microdados AS t | ||
|
Oops, something went wrong.