You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Udit Mehta <um...@groupon.com> on 2015/03/25 07:37:26 UTC

hyphen in hive struct field

Hi,

I have a hive table query:

create external table test (field1 struct< `inner-table` : string>);

I believe hyphens are disallowed  but to overcome that i read that we can
use ``(ticks) around them. But even this seems to fail.

Is there a way around this or hypens are not allowed in nested hive tables?

Thanks,
Udit