[GitHub] carbondata issue #970: [CARBONDATA-1104] Query failure while using unsafe fo...

2017-05-29 Thread kumarvishal09
Github user kumarvishal09 commented on the issue:

https://github.com/apache/carbondata/pull/970
  
LGTM


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #927: [CARBONDATA-1066] ArrayIndexOutBoundException for Dic...

2017-05-29 Thread kumarvishal09
Github user kumarvishal09 commented on the issue:

https://github.com/apache/carbondata/pull/927
  
LGTM


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #927: [CARBONDATA-1066] ArrayIndexOutBoundException for Dic...

2017-05-29 Thread kumarvishal09
Github user kumarvishal09 commented on the issue:

https://github.com/apache/carbondata/pull/927
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (CARBONDATA-1105) ClassNotFoundException: org.apache.spark.sql.catalyst.CatalystConf

2017-05-29 Thread cen yuhai (JIRA)
cen yuhai created CARBONDATA-1105:
-

 Summary: ClassNotFoundException: 
org.apache.spark.sql.catalyst.CatalystConf
 Key: CARBONDATA-1105
 URL: https://issues.apache.org/jira/browse/CARBONDATA-1105
 Project: CarbonData
  Issue Type: Bug
  Components: core
Affects Versions: 1.2.0
 Environment: spark 2.1.1
Reporter: cen yuhai


I think it is related to SPARK-19944
https://github.com/apache/spark/pull/17301
{code}
scala> carbon.sql("create table temp.test_carbon(id int, name string, scale 
decimal, country string, salary double) STORED BY 'carbondata'")
java.lang.NoClassDefFoundError: org/apache/spark/sql/catalyst/CatalystConf
  at 
org.apache.spark.sql.hive.CarbonSessionState.analyzer$lzycompute(CarbonSessionState.scala:127)
  at 
org.apache.spark.sql.hive.CarbonSessionState.analyzer(CarbonSessionState.scala:126)
  at 
org.apache.spark.sql.execution.QueryExecution.analyzed$lzycompute(QueryExecution.scala:69)
  at 
org.apache.spark.sql.execution.QueryExecution.analyzed(QueryExecution.scala:67)
  at 
org.apache.spark.sql.execution.QueryExecution.assertAnalyzed(QueryExecution.scala:50)
  at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:63)
  at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:593)
  ... 52 elided
Caused by: java.lang.ClassNotFoundException: 
org.apache.spark.sql.catalyst.CatalystConf
  at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  ... 59 more
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] carbondata issue #950: [CARBONDATA-1092] alter table should support no_inver...

2017-05-29 Thread rahulforallp
Github user rahulforallp commented on the issue:

https://github.com/apache/carbondata/pull/950
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #940: [CARBONDATA-1081] Use binarySearch to replace for cla...

2017-05-29 Thread kumarvishal09
Github user kumarvishal09 commented on the issue:

https://github.com/apache/carbondata/pull/940
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #970: [CARBONDATA-1104] Query failure while using un...

2017-05-29 Thread kumarvishal09
Github user kumarvishal09 commented on a diff in the pull request:

https://github.com/apache/carbondata/pull/970#discussion_r119011516
  
--- Diff: 
core/src/main/java/org/apache/carbondata/core/datastore/chunk/store/impl/unsafe/UnsafeVariableLengthDimesionDataChunkStore.java
 ---
@@ -164,7 +175,26 @@ public UnsafeVariableLengthDimesionDataChunkStore(long 
totalSize, boolean isInve
 .equals(CarbonCommonConstants.MEMBER_DEFAULT_VAL_ARRAY, value)) {
   vector.putNull(vectorRow);
 } else {
-  vector.putBytes(vectorRow, value);
+  DataType dt = vector.getType();
--- End diff --

Add switch case instead of instanceof check , please handle in other places


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #961: [CARBONDATA-1098] change PageStatistics to use exact ...

2017-05-29 Thread jackylk
Github user jackylk commented on the issue:

https://github.com/apache/carbondata/pull/961
  
Retest this please 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #971: [WIP] Refactor writer to use ColumnPage/TableS...

2017-05-29 Thread jackylk
GitHub user jackylk opened a pull request:

https://github.com/apache/carbondata/pull/971

[WIP] Refactor writer to use ColumnPage/TableStatistics/TableSpec

This PR extracts interface that used for:
- make ColumnPage unsafe
- Encoding override

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jackylk/incubator-carbondata write

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/971.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #971


commit 9523b1796abd560fe8fcec1d869d4044cf7e7449
Author: jackylk 
Date:   2017-05-27T18:14:48Z

use ColumnPage in writer

commit 4df3861cf7e3eb124ad45106185bf70f68c0c319
Author: jackylk 
Date:   2017-05-27T18:22:31Z

remove WriterCompressModel

commit 7ffd5098008847bf7fb7c7651ea8693efed65bfd
Author: jackylk 
Date:   2017-05-28T14:55:29Z

add PrimitiveColumnPage

commit ce81299766e449f02f00420c26ce16bcbd915ac9
Author: jackylk 
Date:   2017-05-30T00:36:20Z

add TableSpec




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #970: [CARBONDATA-1104] Query failure while using un...

2017-05-29 Thread manishgupta88
GitHub user manishgupta88 opened a pull request:

https://github.com/apache/carbondata/pull/970

[CARBONDATA-1104] Query failure while using unsafe for query execution 
numeric data type column specified as sort column

Problem: Query failure while using unsafe for query execution numeric data 
type column specified as sort column

Analysis: When unsafe for query is enabled, while filling the data in 
column vector data is filled as bytes and not based on data type of the column 
because of which null pointer exception is thrown during result preparation in 
the query flow.

Fix: Convert the data based on its data type and then fill in the vector

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/manishgupta88/incubator-carbondata 
sort_column_unsafe_fix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/970.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #970


commit 714d507582919672d353221e6b2d8c4ae103527a
Author: manishgupta88 
Date:   2017-05-29T15:36:23Z

Problem: Query failure while using unsafe for query execution numeric data 
type column specified as sort column

Analysis: When unsafe for query is enabled, while filling the data in 
column vector data is filled as bytes and not based on data type of the column 
because of which null pointer exception is thrown during result preparation in 
the query flow.

Fix: Convert the data based on its data type and then fill in the vector




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (CARBONDATA-1104) Query failure while using unsafe for query execution numeric data type column specified as sort column

2017-05-29 Thread Manish Gupta (JIRA)
Manish Gupta created CARBONDATA-1104:


 Summary: Query failure while using unsafe for query execution 
numeric data type column specified as sort column
 Key: CARBONDATA-1104
 URL: https://issues.apache.org/jira/browse/CARBONDATA-1104
 Project: CarbonData
  Issue Type: Bug
Reporter: Manish Gupta
Assignee: Manish Gupta
 Fix For: 1.2.0


Steps to reproduce
-
1. Set the parameter enable.unsafe.in.query.processing = true

2. CREATE TABLE sorttable1 (empno int, empname String, designation String, doj 
Timestamp, workgroupcategory int, workgroupcategoryname String, deptno int, 
deptname String, projectcode int, projectjoindate Timestamp, projectenddate 
Timestamp,attendance int,utilization int,salary int) STORED BY 
'org.apache.carbondata.format' tblproperties('sort_columns'='empno')

3. LOAD DATA local inpath '' INTO TABLE sorttable1 
OPTIONS('DELIMITER'= ',', 'QUOTECHAR'= '"')

4. select empno from sorttable1

Exception thrown

17/05/29 08:43:20 ERROR Executor: Exception in task 0.0 in stage 6.0 (TID 12)
java.lang.NullPointerException
at 
org.apache.spark.sql.execution.vectorized.ColumnVector.arrayData(ColumnVector.java:858)
at 
org.apache.spark.sql.execution.vectorized.OffHeapColumnVector.putByteArray(OffHeapColumnVector.java:421)
at 
org.apache.spark.sql.execution.vectorized.ColumnVector.putByteArray(ColumnVector.java:569)
at 
org.apache.carbondata.spark.vectorreader.ColumnarVectorWrapper.putBytes(ColumnarVectorWrapper.java:85)
at 
org.apache.carbondata.core.datastore.chunk.store.impl.unsafe.UnsafeVariableLengthDimesionDataChunkStore.fillRow(UnsafeVariableLengthDimesionDataChunkStore.java:167)
at 
org.apache.carbondata.core.datastore.chunk.impl.VariableLengthDimensionDataChunk.fillConvertedChunkData(VariableLengthDimensionDataChunk.java:112)
at 
org.apache.carbondata.core.scan.result.AbstractScannedResult.fillColumnarNoDictionaryBatch(AbstractScannedResult.java:228)
at 
org.apache.carbondata.core.scan.collector.impl.DictionaryBasedVectorResultCollector.scanAndFillResult(DictionaryBasedVectorResultCollector.java:154)
at 
org.apache.carbondata.core.scan.collector.impl.DictionaryBasedVectorResultCollector.collectVectorBatch(DictionaryBasedVectorResultCollector.java:147)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] carbondata issue #948: [CARBONDATA-1093] During single pass load user data i...

2017-05-29 Thread kunal642
Github user kunal642 commented on the issue:

https://github.com/apache/carbondata/pull/948
  
retest this please



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #966: [CARBONDATA-1101] Avoid widening between wrapper clas...

2017-05-29 Thread kumarvishal09
Github user kumarvishal09 commented on the issue:

https://github.com/apache/carbondata/pull/966
  
LGTM


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #935: [CARBONDATA-1077] ColumnDict and ALL_DICTIONARY_PATH ...

2017-05-29 Thread mohammadshahidkhan
Github user mohammadshahidkhan commented on the issue:

https://github.com/apache/carbondata/pull/935
  
raised duplicate pr#969


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #935: [CARBONDATA-1077] ColumnDict and ALL_DICTIONAR...

2017-05-29 Thread mohammadshahidkhan
Github user mohammadshahidkhan closed the pull request at:

https://github.com/apache/carbondata/pull/935


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (CARBONDATA-1103) Integer datatype as a long datatype in carbondata on cluster

2017-05-29 Thread Vandana Yadav (JIRA)
Vandana Yadav created CARBONDATA-1103:
-

 Summary: Integer datatype as a long datatype in carbondata on 
cluster
 Key: CARBONDATA-1103
 URL: https://issues.apache.org/jira/browse/CARBONDATA-1103
 Project: CarbonData
  Issue Type: Bug
  Components: sql
Affects Versions: 1.2.0
 Environment: spark 1.6
Reporter: Vandana Yadav
Priority: Minor


Integer datatype as a long datatype in carbondata on cluster

Steps to reproduce Bug:

In CarbonData:

Create Table:

create table myvmall (imei String,uuid String,MAC String,device_color 
String,device_shell_color String,device_name String,product_name String,ram 
String,rom String,cpu_clock String,series String,check_date String,check_year 
int,check_month int ,check_day int,check_hour int,bom String,inside_name 
String,packing_date String,packing_year String,packing_month String,packing_day 
String,packing_hour String,customer_name String,deliveryAreaId 
String,deliveryCountry String,deliveryProvince String,deliveryCity 
String,deliveryDistrict String,packing_list_no String,order_no 
String,Active_check_time String,Active_check_year int,Active_check_month 
int,Active_check_day int,Active_check_hour int,ActiveAreaId 
String,ActiveCountry String,ActiveProvince String,Activecity 
String,ActiveDistrict String,Active_network String,Active_firmware_version 
String,Active_emui_version String,Active_os_version String,Latest_check_time 
String,Latest_check_year int,Latest_check_month int,Latest_check_day 
int,Latest_check_hour int,Latest_areaId String,Latest_country 
String,Latest_province String,Latest_city String,Latest_district 
String,Latest_firmware_version String,Latest_emui_version 
String,Latest_os_version String,Latest_network String,site String,site_desc 
String,product String,product_desc String) STORED BY 
'org.apache.carbondata.format' TBLPROPERTIES 
('DICTIONARY_INCLUDE'='check_year,check_month,check_day,check_hour,Active_check_year,Active_check_month,Active_check_day,Active_check_hour,Latest_check_year,Latest_check_month,Latest_check_day')

 Load Data:

LOAD DATA INPATH 'HDFS_URL/BabuStore/Data/100_VMALL_1_Day_DATA_2015-09-15.csv' 
INTO table myvmall options('DELIMITER'=',', 
'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='imei,uuid,MAC,device_color,device_shell_color,device_name,product_name,ram,rom,cpu_clock,series,check_date,check_year,check_month,check_day,check_hour,bom,inside_name,packing_date,packing_year,packing_month,packing_day,packing_hour,customer_name,deliveryAreaId,deliveryCountry,deliveryProvince,deliveryCity,deliveryDistrict,packing_list_no,order_no,Active_check_time,Active_check_year,Active_check_month,Active_check_day,Active_check_hour,ActiveAreaId,ActiveCountry,ActiveProvince,Activecity,ActiveDistrict,Active_network,Active_firmware_version,Active_emui_version,Active_os_version,Latest_check_time,Latest_check_year,Latest_check_month,Latest_check_day,Latest_check_hour,Latest_areaId,Latest_country,Latest_province,Latest_city,Latest_district,Latest_firmware_version,Latest_emui_version,Latest_os_version,Latest_network,site,site_desc,product,product_desc')

description in carbondata:

+--++--+--+
| col_name | data_type  | comment  |
+--++--+--+
| imei | string |  |
| uuid | string |  |
| mac  | string |  |
| device_color | string |  |
| device_shell_color   | string |  |
| device_name  | string |  |
| product_name | string |  |
| ram  | string |  |
| rom  | string |  |
| cpu_clock| string |  |
| series   | string |  |
| check_date   | string |  |
| check_year   | int|  |
| check_month  | int|  |
| check_day| int|  |
| check_hour   | int|  |
| bom  | string |  |
| inside_name  | string |  |
| packing_date | string |  |
| packing_year | string |  |
| packing_month| string |  |
| packing_day  | string |  |
| packing_hour | string |  |
| customer_name| string |  |
| deliveryareaid   | string |  |
| deliverycountry  | string |  |
| deliveryprovince | string |  |
| deliverycity | string |  |
| deliverydistrict | string |  |
| packing_list_no  | string 

[GitHub] carbondata pull request #969: [CARBONDATA-1077] ColumnDict and ALL_DICTIONAR...

2017-05-29 Thread mohammadshahidkhan
GitHub user mohammadshahidkhan opened a pull request:

https://github.com/apache/carbondata/pull/969

[CARBONDATA-1077] ColumnDict  and ALL_DICTIONARY_PATH must be used wi…

…th SINGLE_PASS='true'


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
predictionary_single_pass2

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/969.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #969


commit f00f796c9c396d850f8ef88a3a305bfea277508d
Author: mohammadshahidkhan 
Date:   2017-05-22T13:04:14Z

[CARBONDATA-1077] ColumnDict  and ALL_DICTIONARY_PATH must be used with 
SINGLE_PASS='true'




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #935: [CARBONDATA-1077] ColumnDict and ALL_DICTIONAR...

2017-05-29 Thread mohammadshahidkhan
GitHub user mohammadshahidkhan reopened a pull request:

https://github.com/apache/carbondata/pull/935

[CARBONDATA-1077] ColumnDict  and ALL_DICTIONARY_PATH must be used wi…

…th SINGLE_PASS='true'

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
predictionary_single_pass

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/935.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #935


commit 2a068869dbd3da86f0b9c0853483a46d54fc13c0
Author: mohammadshahidkhan 
Date:   2017-05-22T13:04:14Z

[CARBONDATA-1077] ColumnDict  and ALL_DICTIONARY_PATH must be used with 
SINGLE_PASS='true'




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #935: [CARBONDATA-1077] ColumnDict and ALL_DICTIONAR...

2017-05-29 Thread mohammadshahidkhan
Github user mohammadshahidkhan closed the pull request at:

https://github.com/apache/carbondata/pull/935


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (CARBONDATA-1102) Selecting Int type in hive from carbon table is showing class cast exception

2017-05-29 Thread anubhav tarar (JIRA)
anubhav tarar created CARBONDATA-1102:
-

 Summary: Selecting Int type in hive from carbon table is showing 
class cast exception
 Key: CARBONDATA-1102
 URL: https://issues.apache.org/jira/browse/CARBONDATA-1102
 Project: CarbonData
  Issue Type: Bug
  Components: hive-integration
Affects Versions: 1.2.0
 Environment: hive,spark 2.1
Reporter: anubhav tarar
Assignee: anubhav tarar
Priority: Trivial


in carbon

0: jdbc:hive2://localhost:1> CREATE TABLE ALLDATATYPETEST(ID INT,NAME 
STRING,SALARY DECIMAL,MARKS DOUBLE,JOININGDATE DATE,LEAVINGDATE TIMESTAMP) 
STORED BY 'CARBONDATA' ;
+-+--+
| Result  |
+-+--+
+-+--+
No rows selected (3.702 seconds)
0: jdbc:hive2://localhost:1> LOAD DATA INPATH 
'hdfs://localhost:54310/alldatatypetest.csv' into table alldatatypetest;
+-+--+
| Result  |
+-+--+
+-+--+
No rows selected (7.16 seconds)
0: jdbc:hive2://localhost:1> SELECT * FROM ALLDATATYPETEST;
+-++-++--++--+
| ID  |NAME| SALARY  | MARKS  | JOININGDATE  |  LEAVINGDATE   |
+-++-++--++--+
| 1   | 'ANUBHAV'  | 20  | 100.0  | 2016-04-14   | 2016-04-14 15:00:09.0  |
| 2   | 'LIANG'| 20  | 100.0  | 2016-04-14   | 2016-04-14 15:00:09.0  |
+-++-++--++--+
2 rows selected (1.978 seconds)


in hive

hive> CREATE TABLE ALLDATATYPETEST(ID INT,NAME STRING,SALARY DECIMAL,MARKS 
DOUBLE,JOININGDATE DATE,LEAVINGDATE TIMESTAMP) ROW FORMAT SERDE 
'org.apache.carbondata.hive.CarbonHiveSerDe' STORED AS INPUTFORMAT 
'org.apache.carbondata.hive.MapredCarbonInputFormat' OUTPUTFORMAT 
'org.apache.carbondata.hive.MapredCarbonOutputFormat' TBLPROPERTIES 
('spark.sql.sources.provider'='org.apache.spark.sql.CarbonSource');
OK
Time taken: 1.934 seconds


hive> ALTER TABLE ALLDATATYPETEST SET LOCATION 
'hdfs://localhost:54310/opt/carbonStore/default/alldatatypetest';
OK
Time taken: 1.192 seconds
hive> SELECT * FROM ALLDATATYPETEST;
OK
Failed with exception java.io.IOException:java.lang.ClassCastException: 
java.lang.Integer cannot be cast to java.lang.Long
Time taken: 0.174 seconds






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] carbondata pull request #940: [CARBONDATA-1081] Use binarySearch to replace ...

2017-05-29 Thread mayunSaicmotor
GitHub user mayunSaicmotor reopened a pull request:

https://github.com/apache/carbondata/pull/940

[CARBONDATA-1081] Use binarySearch to replace for clause to improve 
performance

use binarySearch to replace for clause in  method setFilterdIndexToBitSet 
of ExcludeFilterExecuterImpl.java

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mayunSaicmotor/incubator-carbondata 
CARBONDATA-1081

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/940.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #940


commit d050de9f9acfdaebf3353cfc3a94e2f8b3381c04
Author: mayun 
Date:   2017-05-24T06:04:43Z

use binarySearch to replace for clause to improve performance

commit eea2f039772de8340660c0b142241d79635eeb8e
Author: mayun 
Date:   2017-05-26T10:13:25Z

add comments

commit 0f281f0f5e28953cc87a9f74cd39072aca20137d
Author: mayun 
Date:   2017-05-26T14:46:18Z

remove comment

commit b632d9d4067e243c821d98f2497c61cff3160316
Author: mayun 
Date:   2017-05-27T05:18:59Z

Revert "fix issue of rebase"

This reverts commit bf44c9f6ee4b059c384703ab12aebea4f4fed5e2.

commit a8f0e0a03a7027da8021c2f409e3729849a7
Author: mayun 
Date:   2017-05-27T05:19:31Z

Revert "Revert "fix issue of rebase""

This reverts commit b632d9d4067e243c821d98f2497c61cff3160316.

commit e3be8c0ef8725a4e185f15261d4c8caca3c95601
Author: mayun 
Date:   2017-05-29T12:35:11Z

add comment




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #968: [CARBONDATA-1081] Use binarySearch to replace ...

2017-05-29 Thread mayunSaicmotor
Github user mayunSaicmotor closed the pull request at:

https://github.com/apache/carbondata/pull/968


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #968: [CARBONDATA-1081] Use binarySearch to replace ...

2017-05-29 Thread mayunSaicmotor
GitHub user mayunSaicmotor opened a pull request:

https://github.com/apache/carbondata/pull/968

[CARBONDATA-1081] Use binarySearch to replace for clause to improve 
performance

Use binarySearch to replace for clause to improve performance in 
ExcludeFilterExecuterImpl.java

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mayunSaicmotor/incubator-carbondata 
CARBONDATA-1081

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/968.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #968


commit d050de9f9acfdaebf3353cfc3a94e2f8b3381c04
Author: mayun 
Date:   2017-05-24T06:04:43Z

use binarySearch to replace for clause to improve performance

commit eea2f039772de8340660c0b142241d79635eeb8e
Author: mayun 
Date:   2017-05-26T10:13:25Z

add comments

commit 0f281f0f5e28953cc87a9f74cd39072aca20137d
Author: mayun 
Date:   2017-05-26T14:46:18Z

remove comment

commit b632d9d4067e243c821d98f2497c61cff3160316
Author: mayun 
Date:   2017-05-27T05:18:59Z

Revert "fix issue of rebase"

This reverts commit bf44c9f6ee4b059c384703ab12aebea4f4fed5e2.

commit a8f0e0a03a7027da8021c2f409e3729849a7
Author: mayun 
Date:   2017-05-27T05:19:31Z

Revert "Revert "fix issue of rebase""

This reverts commit b632d9d4067e243c821d98f2497c61cff3160316.

commit e3be8c0ef8725a4e185f15261d4c8caca3c95601
Author: mayun 
Date:   2017-05-29T12:35:11Z

add comment




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #940: [CARBONDATA-1081] Use binarySearch to replace ...

2017-05-29 Thread mayunSaicmotor
Github user mayunSaicmotor closed the pull request at:

https://github.com/apache/carbondata/pull/940


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #940: [CARBONDATA-1081] Use binarySearch to replace ...

2017-05-29 Thread mayunSaicmotor
GitHub user mayunSaicmotor reopened a pull request:

https://github.com/apache/carbondata/pull/940

[CARBONDATA-1081] Use binarySearch to replace for clause to improve 
performance

use binarySearch to replace for clause in  method setFilterdIndexToBitSet 
of ExcludeFilterExecuterImpl.java

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mayunSaicmotor/incubator-carbondata 
CARBONDATA-1081

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/940.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #940


commit d050de9f9acfdaebf3353cfc3a94e2f8b3381c04
Author: mayun 
Date:   2017-05-24T06:04:43Z

use binarySearch to replace for clause to improve performance

commit eea2f039772de8340660c0b142241d79635eeb8e
Author: mayun 
Date:   2017-05-26T10:13:25Z

add comments

commit 0f281f0f5e28953cc87a9f74cd39072aca20137d
Author: mayun 
Date:   2017-05-26T14:46:18Z

remove comment

commit b632d9d4067e243c821d98f2497c61cff3160316
Author: mayun 
Date:   2017-05-27T05:18:59Z

Revert "fix issue of rebase"

This reverts commit bf44c9f6ee4b059c384703ab12aebea4f4fed5e2.

commit a8f0e0a03a7027da8021c2f409e3729849a7
Author: mayun 
Date:   2017-05-27T05:19:31Z

Revert "Revert "fix issue of rebase""

This reverts commit b632d9d4067e243c821d98f2497c61cff3160316.

commit e3be8c0ef8725a4e185f15261d4c8caca3c95601
Author: mayun 
Date:   2017-05-29T12:35:11Z

add comment




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #940: [CARBONDATA-1081] Use binarySearch to replace ...

2017-05-29 Thread mayunSaicmotor
Github user mayunSaicmotor closed the pull request at:

https://github.com/apache/carbondata/pull/940


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #967: [CARBONDATA-1096] resolved bug for timetstamp ...

2017-05-29 Thread anubhav100
GitHub user anubhav100 opened a pull request:

https://github.com/apache/carbondata/pull/967

[CARBONDATA-1096] resolved bug for timetstamp type shows incorrect result 
in hive



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/anubhav100/incubator-carbondata 
CARBONDATA-1096

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/967.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #967


commit c1f62a0093d69e630ec9925109b3d54691ca2799
Author: anubhav100 
Date:   2017-05-29T06:01:12Z

resolved bug for timetamp type shows incorrect result in hive




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #892: [CARBONDATA - 1036] - Added Implementation for Flink ...

2017-05-29 Thread SangeetaGulia
Github user SangeetaGulia commented on the issue:

https://github.com/apache/carbondata/pull/892
  
@chenliang613 Please have a look, I have made updations as suggested.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #909: [CARBONDATA-1049] avoid logging raw data into ...

2017-05-29 Thread mohammadshahidkhan
GitHub user mohammadshahidkhan reopened a pull request:

https://github.com/apache/carbondata/pull/909

[CARBONDATA-1049] avoid logging raw data into driver and executor log



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
logger_optimaztion

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/909.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #909


commit 130ab740e22c9f3c57db1312d4a6bc7692eb1e62
Author: mohammadshahidkhan 
Date:   2017-05-12T07:06:42Z

[CARBONDATA-1049] Avoid logging raw data into driver and executor log.

commit 561abbc306c2698df61879434dffa7dde88ef512
Author: mohammadshahidkhan 
Date:   2017-05-24T06:53:22Z

[CARBONDATA-1049] Avoid logging raw data into driver and executor log.// 
added isDebuggEnabled check




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #909: [CARBONDATA-1049] avoid logging raw data into ...

2017-05-29 Thread mohammadshahidkhan
Github user mohammadshahidkhan closed the pull request at:

https://github.com/apache/carbondata/pull/909


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #935: [CARBONDATA-1077] ColumnDict and ALL_DICTIONAR...

2017-05-29 Thread mohammadshahidkhan
GitHub user mohammadshahidkhan reopened a pull request:

https://github.com/apache/carbondata/pull/935

[CARBONDATA-1077] ColumnDict  and ALL_DICTIONARY_PATH must be used wi…

…th SINGLE_PASS='true'

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
predictionary_single_pass

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/935.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #935


commit 2a068869dbd3da86f0b9c0853483a46d54fc13c0
Author: mohammadshahidkhan 
Date:   2017-05-22T13:04:14Z

[CARBONDATA-1077] ColumnDict  and ALL_DICTIONARY_PATH must be used with 
SINGLE_PASS='true'




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #935: [CARBONDATA-1077] ColumnDict and ALL_DICTIONAR...

2017-05-29 Thread mohammadshahidkhan
Github user mohammadshahidkhan closed the pull request at:

https://github.com/apache/carbondata/pull/935


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #935: [CARBONDATA-1077] ColumnDict and ALL_DICTIONAR...

2017-05-29 Thread mohammadshahidkhan
GitHub user mohammadshahidkhan reopened a pull request:

https://github.com/apache/carbondata/pull/935

[CARBONDATA-1077] ColumnDict  and ALL_DICTIONARY_PATH must be used wi…

…th SINGLE_PASS='true'

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
predictionary_single_pass

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/935.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #935


commit 2a068869dbd3da86f0b9c0853483a46d54fc13c0
Author: mohammadshahidkhan 
Date:   2017-05-22T13:04:14Z

[CARBONDATA-1077] ColumnDict  and ALL_DICTIONARY_PATH must be used with 
SINGLE_PASS='true'




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #935: [CARBONDATA-1077] ColumnDict and ALL_DICTIONAR...

2017-05-29 Thread mohammadshahidkhan
Github user mohammadshahidkhan closed the pull request at:

https://github.com/apache/carbondata/pull/935


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #950: [CARBONDATA-1092] alter table should support no_inver...

2017-05-29 Thread rahulforallp
Github user rahulforallp commented on the issue:

https://github.com/apache/carbondata/pull/950
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #927: [CARBONDATA-1066] Fixed NullPointerException in compa...

2017-05-29 Thread rahulforallp
Github user rahulforallp commented on the issue:

https://github.com/apache/carbondata/pull/927
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #950: [CARBONDATA-1092] alter table should support no_inver...

2017-05-29 Thread rahulforallp
Github user rahulforallp commented on the issue:

https://github.com/apache/carbondata/pull/950
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #927: [CARBONDATA-1066] Fixed NullPointerException in compa...

2017-05-29 Thread rahulforallp
Github user rahulforallp commented on the issue:

https://github.com/apache/carbondata/pull/927
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #958: [WIP] Added interfaces for index frame work.

2017-05-29 Thread ravipesala
Github user ravipesala commented on the issue:

https://github.com/apache/carbondata/pull/958
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata issue #955: [WIP] Inset Filter Pushdown in 2.1

2017-05-29 Thread ravipesala
Github user ravipesala commented on the issue:

https://github.com/apache/carbondata/pull/955
  
retest this please


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #955: [WIP] Inset Filter Pushdown in 2.1

2017-05-29 Thread sounakr
GitHub user sounakr reopened a pull request:

https://github.com/apache/carbondata/pull/955

[WIP] Inset Filter Pushdown in 2.1

Inset Filter PushDown.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/sounakr/incubator-carbondata inset

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/955.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #955


commit 0619ed47ce29846e5af224efb468bbbe610f38db
Author: sounakr 
Date:   2017-05-26T11:29:44Z

Inset Filter




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #955: [WIP] Inset Filter Pushdown in 2.1

2017-05-29 Thread sounakr
Github user sounakr closed the pull request at:

https://github.com/apache/carbondata/pull/955


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #909: [CARBONDATA-1049] avoid logging raw data into ...

2017-05-29 Thread mohammadshahidkhan
Github user mohammadshahidkhan closed the pull request at:

https://github.com/apache/carbondata/pull/909


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #909: [CARBONDATA-1049] avoid logging raw data into ...

2017-05-29 Thread mohammadshahidkhan
GitHub user mohammadshahidkhan reopened a pull request:

https://github.com/apache/carbondata/pull/909

[CARBONDATA-1049] avoid logging raw data into driver and executor log



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
logger_optimaztion

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/909.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #909


commit 130ab740e22c9f3c57db1312d4a6bc7692eb1e62
Author: mohammadshahidkhan 
Date:   2017-05-12T07:06:42Z

[CARBONDATA-1049] Avoid logging raw data into driver and executor log.

commit 561abbc306c2698df61879434dffa7dde88ef512
Author: mohammadshahidkhan 
Date:   2017-05-24T06:53:22Z

[CARBONDATA-1049] Avoid logging raw data into driver and executor log.// 
added isDebuggEnabled check




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] carbondata pull request #966: [CARBONDATA-1101] Avoid widening between wrapp...

2017-05-29 Thread mohammadshahidkhan
GitHub user mohammadshahidkhan opened a pull request:

https://github.com/apache/carbondata/pull/966

[CARBONDATA-1101] Avoid widening between wrapper classes

Modification reason:
Widening between wrapper classes throws ClassCastException

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
unsafe_sort_widdening_issue

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/carbondata/pull/966.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #966


commit d218cfd01574c38ef83584560c8be5af9248eadf
Author: mohammadshahidkhan 
Date:   2017-05-29T06:10:11Z

[CARBONDATA-1101] Avoid widening between wrapper classes




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---