Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as SQL by registered user vvillacorta ( 2 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

Your Name: Code Language: