Import Hive table from hql script

I am having trouble importing Partitioning,Bucketing etc information while importing a table via hql script. The column used for partitioning is not imported at all. Also these other properties like bucketing,storage,pre/post sql etc were not imported. Am I missing any step here ? I have used Import ->From ExternalMetadata->Hortonworks Hadoop HiveQL DDL.