Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to Create Hive tables from a dynamic schema

I have a schema which changes frequently and based on that I have to create HIVE tables. For example I am getting a file with a schema today. Tomorrow the schema changed inside the file. My process should automatically create a new Hive table based on the new schema. How can I implement it?
Today --> 
FileA
DeptId  Integer
Name  String             ----> Create Hive Table1
Tomorrow  -->
FileA
DeptId  Integer
Name  String
PhoneNumber   Integer    ---> Create Hive Table1 with this new schema
Labels (2)
5 Replies
Anonymous
Not applicable
Author

Hi  satyatalend,

So far, we don't support for  creating  HIVE tables from a dynamic schema.
Feel free to create a new feature jira issue of DI project on Talend Bug Tracker.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Xdshi, is there any alternative way to create the hive table dynamically as no component at this stage support to achive the same.
Am having the similar situation, where i will get more than 50 different json file and i need to create the hive table dynamically. At this stage i am thinking i ll extract the schema from the json and store it in the temp file and using shell script append the (columnname + datatype) "create table tblxxx( cat myshell script content") row formatted delimited ........ Is my approach is correct what are all the component should i use to achieve the same. Else provide some other idea as we need to achieve it in the production environment.
kindly support me on the same.
Anonymous
Not applicable
Author

Hi Talend team,
Is there any update on this one? We are also having the same issue over on our end. It seems the ability to create hive tables automatically from a source RDBMS is also an important feature that we'd like to implement on our end. 
Thanks
Locke
djugal
Contributor III
Contributor III

Is there any update on this one
Anonymous
Not applicable
Author

Hello Talend team,
Please give an update for this issue !
Regards