Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

type of the expression must be an array but resolved to string

Using tELTHiveMap component I am trying to join between 2 tables.  The join condition is a bit complex:

table1.col1 = trim(substring(regexp_replace(upper(table2.col2), ""," ")), 0, instr(trim(regexp_replace(upper(table2.col2), ""," "),' ')))

It is basically get the first word in uppercase from table2.col2.
The TOS gives the error "type of the expression must be an array but it resolved to string"
How do I resolve this?
The generated Select statement runs through Hive command line successfully. 
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi
Where do you input this expression? Can you please upload a screenshot of component settings? It will be helpful for us to find the problem.