You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ramakrishna S (JIRA)" <ji...@apache.org> on 2017/12/20 13:58:00 UTC

[jira] [Closed] (CARBONDATA-1711) Carbon1.3.0-DataMap - Show datamap on table does not work

     [ https://issues.apache.org/jira/browse/CARBONDATA-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramakrishna S closed CARBONDATA-1711.
-------------------------------------
    Resolution: Fixed

The issue is closed as its not reproducible in the latest build

> Carbon1.3.0-DataMap - 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
>            Assignee: anubhav tarar
>            Priority: Minor
>              Labels: Functional
>             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)