You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by tiany <ti...@broadtech.com.cn> on 2019/03/01 01:14:39 UTC

Hive cannot query carbondata

  
Dear user:
       Version:
        CDH version 5.10.0 ,hive version 1.2.1(Manual upgrade version,Original version 1.1.0),spark-2.3.2-bin-2.6.0-cdh5.15.0 ,carbondata:apache-carbondata-1.5.2-bin-spark2.3.2-hadoop2.6.0-cdh5.15.0.jar 
       See Annex:spark-defaults.conf carbon.properties 
  Wrong description:
             Through the hive client login,
  table:select * from  ty_test.origin2,
  error: org.apache.hadoop.hive.ql.parse.SemanticException: 1:15 Input format must implement InputFormat. Error encountered near token 'origin2'
       Operation steps:
                1.Through the Spark thrif login.
                2.Execute SQL "CREATE TABLE origin2(name String, PhoneNumber String) STORED AS carbondata;" Prompt success  
                3.Through the hive client login,
                 4..Execute SQL "select * from ty_test.origin2",This error occurred : error: org.apache.hadoop.hive.ql.parse.SemanticException: 1:15 Input format must implement InputFormat. Error encountered near token 'origin2'
          Error Details files error.txt

2019-02-28



田游
电话:0755-26037910 
传真:0755-26037912 邮编:518057 
手机:13896099076  Email:tiany@broadtech.com.cn
. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it !