Hive - Transform

Table of Contents

Example

MovieLensUserRatings

  • Python
INSERT OVERWRITE TABLE u_data_new
SELECT
  TRANSFORM (userid, movieid, rating, unixtime)
  USING 'python weekday_mapper.py'
  AS (userid, movieid, rating, weekday)
FROM u_data;

Powered by ComboStrap