Reply
Highlighted
Explorer
Posts: 31
Registered: ‎09-29-2016

Flume spoolDir taking part of filename as partition in hive table

Hello,

 

I have a file MyFile_20170314_MySystem_20170315023116.csv which comes to spoolDir, which i want to load to hive external table with partition. partition name should come from the filename and partition will be   tablename/20170314/MySystem/20170315023116.

 

 

 

How can i do it ?

Announcements