Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)
Paste
Pasted as Python by registered user vvillacorta ( 3 years ago )
DROP TABLE IF EXISTS d_mdl_vpc_disc.SEGUIMIENTO_BASES_TELEFONOS
-- No correr si ya se lee bien la data
CREATE EXTERNAL TABLE d_mdl_vpc_disc.SEGUIMIENTO_BASES_TELEFONOS
(
`gestion` string,
`tipo_ruc` string,
`conteo` int,
`conteo_ruc_unico` int,
`tlf_total_posible_mes` int,
`tlf_flg_activo_mes` int,
`ruc_flg_activo_mes` int,
`tlf_ya_llamado_u18m` int,
`ruc_tlf_ya_llamado_u18m` int,
`tlf_fresco_u18m` int,
`ruc_tlf_fresco_u18m` int,
`tlf_desaparecido` int,
`ruc_tlf_desaparecido` int,
`tlf_fue_ce` int,
`ruc_fue_ce` int,
`tlf_fue_nc` int,
`ruc_fue_nc` int,
`fecproceso` string
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ','
STORED AS TEXTFILE
LOCATION 's3://sagemaker-us-east-1-058528764918/vpc/contactabilidad/sagemaker/base_telefonos_ructelf/'
TBLPROPERTIES (
'skip.header.line.count'='1',
'has_encrypted_data'='false'
);
SELECT * FROM d_mdl_vpc_disc.SEGUIMIENTO_BASES_TELEFONOS LIMIT 100
Revise this Paste