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 SQL by registered user vvillacorta ( 4 years ago )
DROP TABLE IF EXISTS d_mdl_vpc_disc.MM_PRINCIPALIDAD_BPE_RCC_PRICING
CREATE EXTERNAL TABLE d_mdl_vpc_disc.MM_PRINCIPALIDAD_BPE_RCC_PRICING
(
`codmes` string,
`tip_doc` string,
`num_doc` string,
`num_ruc` string,
`cant_ef` int,
`mto_saldo_ajustado_1` float,
`entidad_financiera_1` string,
`tipo_ef_1` string,
`mto_saldo_ajustado_2` float,
`entidad_financiera_2` string,
`tipo_ef_2` string,
`mto_saldo_ajustado_3` float,
`entidad_financiera_3` string,
`tipo_ef_3` string,
`mto_saldo_ajustado_4` float,
`entidad_financiera_4` string,
`tipo_ef_4` string,
`mto_saldo_ajustado_5` float,
`entidad_financiera_5` string,
`tipo_ef_5` string,
`periodo` string
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '|'
STORED AS TEXTFILE
LOCATION 's3://sagemaker-us-east-1-058528764918/vpc/princingbpe/DATA/NUEVO_MES/PRINCIPALIDAD/'
TBLPROPERTIES (
'skip.header.line.count'='1',
'has_encrypted_data'='false'
);
Revise this Paste