Skip to content

Instantly share code, notes, and snippets.

@anilkulkarni87
anilkulkarni87 / hiveSql.sql
Last active October 9, 2019 23:08
Template for different hive sqls
--Hive queries template:
--1) DDL
--CSV
CREATE TABLE IF NOT EXISTS <schemaname>.CSV_TABLE
(
uuid VARCHAR(50),
flag CHAR(1),
bigid BIGINT,
record_dt DATE,