carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anubhav tarar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-1958) CarbonSqlCliDriver not show result in case of select query
Date Tue, 02 Jan 2018 06:41:00 GMT
anubhav tarar created CARBONDATA-1958:
-----------------------------------------

             Summary: CarbonSqlCliDriver not show result in case of select query
                 Key: CARBONDATA-1958
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1958
             Project: CarbonData
          Issue Type: Bug
          Components: data-query
    Affects Versions: 1.3.0
         Environment: sparksqlclidriver,hadoop2.7
            Reporter: anubhav tarar


1.start the carbonsparksqlcli driver
go to bin folder of carbon project and execute command
./carbon-spark-sql

2.create carbon data table
spark-sql> create table sparktable(id int)stored by 'carbondata';

3.load data in carbontable
spark-sql> insert into sparktable values(1);

4.query the data

18/01/02 12:06:45 INFO TableInfo: main Table block size not specified for default_sparktable.
Therefore considering the default value 1024 MB
18/01/02 12:06:45 INFO BlockletDataMap: main Time taken to load blocklet datamap from file
: /home/anubhav/Documents/carbondata/carbondata/bin/carbonsqlclistore/default/sparktable/Fact/Part0/Segment_0/0_batchno0-0-1514874975013.carbonindexis
19
18/01/02 12:06:45 INFO CarbonScanRDD: 
 Identified no.of.blocks: 0,
 no.of.tasks: 0,
 no.of.nodes: 0,
 parallelism: 4
       
18/01/02 12:06:45 INFO SparkContext: Starting job: processCmd at CliDriver.java:376
18/01/02 12:06:45 INFO DAGScheduler: Job 4 finished: processCmd at CliDriver.java:376, took
0.000073 s
Time taken: 0.378 seconds
18/01/02 12:06:45 INFO CliDriver: Time taken: 0.378 seconds

here no records get displayed




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message