I have a table created like this successfully:
CREATE TABLE IF NOT EXISTS employees (name STRING,salary FLOAT,subordinates ARRAY<STRING>,deductions MAP<STRING,FLOAT>,address STRUCT<street:STRING, city:STRING, state:STRING, zip:INT, country:STRING>)
I would like to access/display country column from my address struct.
I have tried this:
select address["country"] from employees;
I get an error.
Bennie Schut 2013-03-08, 08:09
bejoy_ks@... 2013-03-08, 12:35
Dean Wampler 2013-03-08, 13:19