@Parth
Karkhanis
Your PutHDFS file should add an attribute to the flow file called ${hive.ddl}. You should be able to use this DDL statement to create the hive table. Work with it manually until you get the syntax correct.
In my working example, I send PutHdfs to ReplaceText where I append ${hive.ddl} with
${hive.ddl} LOCATION '/user/nifi/${folderName}/${tableName}/' tblproperties ("orc.compress" = "SNAPPY")
Then I send that to PutHiveQL Processor.
If this answer helps, please choose ACCEPT.