AnsweredAssumed Answered

Hadoop Hcatalog -How to pass key value pair

Question asked by wahi80 on Oct 31, 2014
Latest reply on Nov 4, 2014 by wahi80
I have a create table script where the table name will be decided at runtime. How do I pass the value to sql script?

I'm trying something like this

<code>hcat -e "create table ${D:TAB_NAME} (name string)" -DTAB_NAME=person

But I keep getting errors. Can I get the correct syntax?