carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramakrishna S (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-1711) Carbon1.3.0-Pre-AggregateTable - Show datamap on table <par_table> does not work
Date Tue, 14 Nov 2017 13:44:00 GMT
Ramakrishna S created CARBONDATA-1711:
-----------------------------------------

             Summary: Carbon1.3.0-Pre-AggregateTable - Show datamap  on table <par_table>
does not work
                 Key: CARBONDATA-1711
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1711
             Project: CarbonData
          Issue Type: Bug
          Components: core
    Affects Versions: 1.3.0
         Environment: Test
            Reporter: Ramakrishna S
            Priority: Minor
             Fix For: 1.3.0




0: jdbc:hive2://10.18.98.34:23040> create datamap agr_lineitem ON TABLE lineitem USING
"org.apache.carbondata.datamap.AggregateDataMapHandler" as select L_RETURNFLAG,L_LINESTATUS,sum(L_QUANTITY),sum(L_EXTENDEDPRICE)
from lineitem group by  L_RETURNFLAG, L_LINESTATUS;
Error: java.lang.RuntimeException: Table [lineitem_agr_lineitem] already exists under database
[default] (state=,code=0)
0: jdbc:hive2://10.18.98.34:23040> show tables;
+-----------+-----------------------------------+--------------+--+
| database  |             tableName             | isTemporary  |
+-----------+-----------------------------------+--------------+--+
| default   | flow_carbon_test4                 | false        |
| default   | jl_r3                             | false        |
| default   | lineitem                          | false        |
| default   | lineitem_agr_lineitem             | false        |
| default   | sensor_reading_blockblank_false   | false        |
| default   | sensor_reading_blockblank_false1  | false        |
| default   | sensor_reading_blockblank_false2  | false        |
| default   | sensor_reading_false              | false        |
| default   | sensor_reading_true               | false        |
| default   | t1                                | false        |
| default   | t1_agg_t1                         | false        |
| default   | tc4                               | false        |
| default   | uniqdata                          | false        |
+-----------+-----------------------------------+--------------+--+
13 rows selected (0.04 seconds)
0: jdbc:hive2://10.18.98.34:23040> show datamap on table lineitem;
Error: java.lang.RuntimeException:
BaseSqlParser>>>>
missing 'FUNCTIONS' at 'on'(line 1, pos 13)

== SQL ==
show datamap on table lineitem
-------------^^^

CarbonSqlParser>>>> [1.6] failure: identifier matching regex (?i)SEGMENTS expected

show datamap on table lineitem




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

Mime
View raw message