Github user anubhav100 commented on the issue:
https://github.com/apache/carbondata/pull/1234
@linqer
in carbon
create table nation5 ( n_nationkey int, n_name string, n_regionkey int,
n_comment string ) stored by 'carbondata';
LOAD DATA INPATH '/nation.csv' INTO TABLE nation5 OPTIONS('DELIMITER'='|' ,
'QUOTECHAR'='\"','FILEHEADER'='N_NATIONKEY,N_NAME,N_REGIONKEY,N_COMMENT');
0: jdbc:hive2://localhost:10000> select * from nation5 where n_name='INDIA';
+--------------+---------+--------------+--------------------------------------------------------------------+--+
| n_nationkey | n_name | n_regionkey |
n_comment |
+--------------+---------+--------------+--------------------------------------------------------------------+--+
| 8 | INDIA | 2 | ss excuses cajole slyly across
the packages. deposits print aroun |
+--------------+---------+--------------+--------------------------------------------------------------------+--+
in presto
presto:default> select * from nation5 where n_name='INDIA';
n_nationkey | n_name | n_regionkey | n_comment
-------------+--------+-------------+-------------------------------------------------------------------
8 | INDIA | 2 | ss excuses cajole slyly across the
packages. deposits print aroun
(1 row)
Query 20170818_092022_00001_7u72x, FINISHED, 1 node
Splits: 17 total, 17 done (100.00%)
0:16 [1 rows, 4B] [0 rows/s, 0B/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.
---