Member since
09-09-2018
5
Posts
1
Kudos Received
0
Solutions
01-20-2019
01:13 PM
Hi,
I created this:
CREATE TABLE schoolparquet ( tipo STRING, paese STRING, per_paese ARRAY<STRUCT<sesso:STRING,anni:MAP<STRING,STRING>>> ) STORED AS PARQUET;
>>describe schoolparquet.per_paese.item | name | type | sesso | string | anni | map<string,string>
I'm trying to write a query (Impala) that extract key/values from map too, starting from this:
select tipo, paese, per_paese.item.sesso from schoolparquet, schoolparquet.per_paese;
This works fine.
I want to do something like this:
select tipo, paese, per_paese.item.sesso, per_paese.item.anni.key, per_paese.item.anni.value from schoolparquet, schoolparquet.per_paese, schoolparquet.per_paese.anni
But I have this error :
ERROR: AnalysisException: Illegal column/field reference 'per_paese.item.anni.value' with intermediate collection 'per_paese' of type 'ARRAY<STRUCT<sesso:STRING,anni:MAP<STRING,STRING>>>'
Help please!
Thank you
Maria
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Impala
01-02-2019
04:00 AM
1 Kudo
Hi, I save some documents like pig scripts or hive scripts in the Document section of Hue. The question is: which is the path? Where I can find them in order to execute them in the command line?
... View more
Labels:
- Labels:
-
Apache Pig
-
Cloudera Hue
-
HDFS
09-10-2018
06:54 AM
Hi, Flume is in the required skills but its documentation is available during the exam? Why the documentation is available if it is useless? Mary
... View more
09-09-2018
08:08 AM
Good moorning, For the CCA Data Analyst Exam (CCA159) is required the knowledge of Flume? The are questions or problems to solve with Flume? Thanks a lot, Mary
... View more
Labels:
- Labels:
-
Apache Flume
-
Certification