Q

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

pig -x local -4 nolog.

conf

A = LOAD 'app

A = LOAD 'profeco_w_header.csv' USING PigStorage(',')as (producto:chararray,


presentacion:chararray, marca:chararray,
categoria:chararray,catalogo:chararray,precio:int, fechaRegistro:chararray,
cadenaComercial:chararray, giro:chararray, nombreComercial:chararray,
direccion:chararray, estado:chararray, municipio:chararray, latitud:chararray,
longitud:chararray);

ointments.csv' USING PigStorage(',')as ( p_id:long, ap_id:int, gender:chararray,

age:int, neighbourhood:chararray, scholarship:chararray, illness:chararray,


sms:int, scheduled_y:int, scheduled_m:chararray, scheduled_d:int, scheduled_h:int,
scheduled_min:int, appo_y:int, appo_m:chararray, appo_d:int, appo_dow:chararray,
no_show:chararray);

You might also like