Github user anubhav100 commented on the issue:
https://github.com/apache/carbondata/pull/963
@chenliang613 i tested t manualy as well can you merged it now here are
logs
INSIDE SPARK SHELL
scala> carbon.sql("create table counttest(name string,nickname string)
stored by 'carbondata'")
scala> carbon.sql("""load data inpath
'hdfs://localhost:54310/chartypetest.csv' into table counttest""").show
INSIDE HIVE SHELL
hive> CREATE TABLE CounttestHIVE (name string,nickname string);
OK
Time taken: 1.202 seconds
hive> ALTER TABLE COUNTTESTHIVE SET FILEFORMAT
> INPUTFORMAT "org.apache.carbondata.hive.MapredCarbonInputFormat"
> OUTPUTFORMAT "org.apache.carbondata.hive.MapredCarbonOutputFormat"
> SERDE "org.apache.carbondata.hive.CarbonHiveSerDe";
OK
Time taken: 0.445 seconds
hive> ALTER TABLE COUNTTESTHIVE SET LOCATION
'hdfs://localhost:54310/opt/carbonStore/default/counttest' ;
OK
Time taken: 0.502 seconds
hive> set hive.mapred.supports.subdirectories=true;
hive> set mapreduce.input.fileinputformat.input.dir.recursive=true;
hive> select * from counttest;
OK
Time taken: 0.089 seconds
hive> select * from counttesthive;
OK
ANUBHAV 'ANU'
Time taken: 0.101 seconds, Fetched: 1 row(s)
hive> select count(*) from counttesthive;
MapReduce Jobs Launched:
Stage-Stage-1: HDFS Read: 15760 HDFS Write: 0 SUCCESS
Total MapReduce CPU Time Spent: 0 msec
OK
1
Time taken: 1.463 seconds, Fetched: 1 row(s)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---