[ 
https://issues.apache.org/jira/browse/KYLIN-3731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728621#comment-16728621
 ] 

HongBo  Dai commented on KYLIN-3731:
------------------------------------

The data structure looks like this:
The data structure of the fact table is as follows, with one field as follows:
 !screenshot-1.png! 
The view is as follows:
 !screenshot-2.png! 
Firstly, the cube is created by associating the two, and the following SQL is 
used:
 !screenshot-3.png! 
Create a view to do the following:
 !screenshot-4.png! 
after the above processing, it is possible to establish the relationship 
between dimension table and fact table for cube building query. It is perfectly 
ok to build the cube query in kylin2.3.x version, but the reason for the 
exception before kylin2.5.x report is that this data type is not supported, 
which is the lack of data type processing logic.



> java.lang.IllegalArgumentException: Unsupported data type array<string> at 
> ---------------------------------------------------------------------------
>
>                 Key: KYLIN-3731
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3731
>             Project: Kylin
>          Issue Type: Bug
>          Components: Job Engine
>    Affects Versions: v2.5.1
>            Reporter: HongBo  Dai
>            Assignee: Chao Long
>            Priority: Critical
>              Labels: build
>             Fix For: v2.5.1
>
>         Attachments: error of kylin.txt, image-2018-12-20-10-59-04-060.png, 
> screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png
>
>
> As kylin was recently upgraded from 2.3 to 2.5.1, its data type of array 
> metadata was found to be unsupported and the following exception occurred
> "java. lang. IllegalArgumentException: Unsupported data type array", are in 
> kylin2.3 hive data storage array before running this type is no problem, 
> there is the lead in building a cube when the third step is as follows
> "org. apache. kylin. engine. mr. Exception. MapReduceException: no counters 
> for the job", could you tell me how to solve the problem without changing 
> data structure situation now? please  look up  attachment. 
> !image-2018-12-20-10-59-04-060.png! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to