[jira] [Closed] (CARBONDATA-391) [Documentation] Information missing about how to load data from data source other than CSV

2017-03-01 Thread Prabhat Kashyap (JIRA)

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

Prabhat Kashyap closed CARBONDATA-391.
--
Resolution: Fixed

> [Documentation] Information missing about how to load data from data source 
> other than CSV
> --
>
> Key: CARBONDATA-391
> URL: https://issues.apache.org/jira/browse/CARBONDATA-391
> Project: CarbonData
>  Issue Type: Improvement
>Reporter: Prabhat Kashyap
>Priority: Trivial
>




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


[jira] [Closed] (CARBONDATA-354) Query execute successfully even not argument given in count function

2017-03-01 Thread Prabhat Kashyap (JIRA)

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

Prabhat Kashyap closed CARBONDATA-354.
--
Resolution: Invalid

> Query execute successfully even not argument given in count function
> 
>
> Key: CARBONDATA-354
> URL: https://issues.apache.org/jira/browse/CARBONDATA-354
> Project: CarbonData
>  Issue Type: Bug
>Reporter: Prabhat Kashyap
>Assignee: Akash R Nilugal
>Priority: Minor
>
> When I am executing following command:
> select count() from tableName;
> It gave me no error and execute successfully but it gives following exception 
> when I execute the same in Hive:
> FAILED: UDFArgumentException Argument expected



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


[jira] [Closed] (CARBONDATA-387) RLike and REGEXP showing all records in empty regex

2017-02-09 Thread Prabhat Kashyap (JIRA)

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

Prabhat Kashyap closed CARBONDATA-387.
--
Resolution: Invalid

> RLike and REGEXP showing all records in empty regex
> ---
>
> Key: CARBONDATA-387
> URL: https://issues.apache.org/jira/browse/CARBONDATA-387
> Project: CarbonData
>  Issue Type: Bug
>Reporter: Prabhat Kashyap
>Priority: Minor
>
> When I'm trying to run RLIKE with empty regex, it is showing me all the 
> records instead of no record.
> select * from knolders where age RLIKE '';
> It is behaving in a similar manner for REGEXP operator.



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


[jira] [Created] (CARBONDATA-525) Fix timestamp based test cases

2016-12-12 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-525:
--

 Summary: Fix timestamp based test cases
 Key: CARBONDATA-525
 URL: https://issues.apache.org/jira/browse/CARBONDATA-525
 Project: CarbonData
  Issue Type: Test
Reporter: Prabhat Kashyap
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CARBONDATA-523) Increase coverage for CarbonDataProcessorUtil

2016-12-11 Thread Prabhat Kashyap (JIRA)

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

Prabhat Kashyap updated CARBONDATA-523:
---
Issue Type: Test  (was: Bug)

> Increase coverage for CarbonDataProcessorUtil
> -
>
> Key: CARBONDATA-523
> URL: https://issues.apache.org/jira/browse/CARBONDATA-523
> Project: CarbonData
>  Issue Type: Test
>Reporter: Prabhat Kashyap
>Priority: Trivial
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-523) Increase coverage for CarbonDataProcessorUtil

2016-12-11 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-523:
--

 Summary: Increase coverage for CarbonDataProcessorUtil
 Key: CARBONDATA-523
 URL: https://issues.apache.org/jira/browse/CARBONDATA-523
 Project: CarbonData
  Issue Type: Bug
Reporter: Prabhat Kashyap
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-485) Refactor code for DataGraphExecuter

2016-12-02 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-485:
--

 Summary: Refactor code for DataGraphExecuter
 Key: CARBONDATA-485
 URL: https://issues.apache.org/jira/browse/CARBONDATA-485
 Project: CarbonData
  Issue Type: Improvement
Reporter: Prabhat Kashyap
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-393) Write Unit Test cases for core.keygenerator package

2016-11-08 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-393:
--

 Summary: Write Unit Test cases for core.keygenerator package
 Key: CARBONDATA-393
 URL: https://issues.apache.org/jira/browse/CARBONDATA-393
 Project: CarbonData
  Issue Type: Test
Reporter: Prabhat Kashyap
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-391) [Documentation] Information missing about how to load data from data source other than CSV

2016-11-07 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-391:
--

 Summary: [Documentation] Information missing about how to load 
data from data source other than CSV
 Key: CARBONDATA-391
 URL: https://issues.apache.org/jira/browse/CARBONDATA-391
 Project: CarbonData
  Issue Type: Improvement
Reporter: Prabhat Kashyap
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-389) Subquery not working

2016-11-07 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-389:
--

 Summary: Subquery not working
 Key: CARBONDATA-389
 URL: https://issues.apache.org/jira/browse/CARBONDATA-389
 Project: CarbonData
  Issue Type: Bug
Reporter: Prabhat Kashyap


Whenever I execute 
select name from emp2 where exists (select id from emp3 where emp2.id=emp3.id);
It gives me following exception:
scala.NotImplementedError: No parse rules for ASTNode type

And also 
select name from emp4 where id in (select id from emp5);
gives the same error



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-386) Write unit test for Util Module

2016-11-07 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-386:
--

 Summary: Write unit test for Util Module
 Key: CARBONDATA-386
 URL: https://issues.apache.org/jira/browse/CARBONDATA-386
 Project: CarbonData
  Issue Type: Test
Reporter: Prabhat Kashyap
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (CARBONDATA-380) Invalid output of Count function without arguments

2016-11-04 Thread Prabhat Kashyap (JIRA)

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

Prabhat Kashyap closed CARBONDATA-380.
--
Resolution: Duplicate

> Invalid output of Count function without arguments
> --
>
> Key: CARBONDATA-380
> URL: https://issues.apache.org/jira/browse/CARBONDATA-380
> Project: CarbonData
>  Issue Type: Bug
>Reporter: Prabhat Kashyap
>Priority: Minor
>
> Whenever I m trying to run the following query:
> select count() from emp5; 
> It is giving invalid output (0) instead of error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (CARBONDATA-354) Query execute successfully even not argument given in count function

2016-11-04 Thread Prabhat Kashyap (JIRA)

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

Prabhat Kashyap closed CARBONDATA-354.
--
Resolution: Duplicate

> Query execute successfully even not argument given in count function
> 
>
> Key: CARBONDATA-354
> URL: https://issues.apache.org/jira/browse/CARBONDATA-354
> Project: CarbonData
>  Issue Type: Bug
>Reporter: Prabhat Kashyap
>Priority: Minor
>
> When I am executing following command:
> select count() from tableName;
> It gave me no error and execute successfully but it gives following exception 
> when I execute the same in Hive:
> FAILED: UDFArgumentException Argument expected



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CARBONDATA-357) Write unit test for ValueCompressionUtil

2016-11-04 Thread Prabhat Kashyap (JIRA)

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

Prabhat Kashyap updated CARBONDATA-357:
---
Priority: Trivial  (was: Major)

> Write unit test for ValueCompressionUtil
> 
>
> Key: CARBONDATA-357
> URL: https://issues.apache.org/jira/browse/CARBONDATA-357
> Project: CarbonData
>  Issue Type: Sub-task
>Reporter: Prabhat Kashyap
>Priority: Trivial
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-372) [Documentation] Add information about supported data types

2016-11-03 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-372:
--

 Summary: [Documentation] Add information about supported data types
 Key: CARBONDATA-372
 URL: https://issues.apache.org/jira/browse/CARBONDATA-372
 Project: CarbonData
  Issue Type: Improvement
Reporter: Prabhat Kashyap
Priority: Trivial


Add supported data types and their range and domain for the supported data 
types.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-371) Write unit test for ColumnDictionaryInfo

2016-11-03 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-371:
--

 Summary: Write unit test for ColumnDictionaryInfo
 Key: CARBONDATA-371
 URL: https://issues.apache.org/jira/browse/CARBONDATA-371
 Project: CarbonData
  Issue Type: Test
Reporter: Prabhat Kashyap
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CARBONDATA-361) SMALL INT data showing unsupported datatype

2016-11-03 Thread Prabhat Kashyap (JIRA)

[ 
https://issues.apache.org/jira/browse/CARBONDATA-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15632442#comment-15632442
 ] 

Prabhat Kashyap commented on CARBONDATA-361:


Hi [~hexiaoqiao]
Even SHORT Data type is not working and it is giving me 
"org.apache.spark.sql.AnalysisException"

Query: create table testTable(id INT, age SHORT, name STRING) stored by 
'carbondata';

> SMALL INT data showing unsupported datatype
> ---
>
> Key: CARBONDATA-361
> URL: https://issues.apache.org/jira/browse/CARBONDATA-361
> Project: CarbonData
>  Issue Type: Bug
>Reporter: Prabhat Kashyap
>
> When I tried executing the following query with SMALLINT datatype
> create table testTable2(id SMALLINT, name String) stored by 'carbondata' ;
> It is giving me following exception.
> Error: org.apache.carbondata.spark.exception.MalformedCarbonCommandException: 
> Unsupported data type : FieldSchema(name:id, type:smallint, 
> comment:null).getType (state=,code=0)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-357) Write unit test for ValueCompressionUtil

2016-11-02 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-357:
--

 Summary: Write unit test for ValueCompressionUtil
 Key: CARBONDATA-357
 URL: https://issues.apache.org/jira/browse/CARBONDATA-357
 Project: CarbonData
  Issue Type: Sub-task
Reporter: Prabhat Kashyap






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-354) Query execute successfully even not argument given in count function

2016-11-01 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-354:
--

 Summary: Query execute successfully even not argument given in 
count function
 Key: CARBONDATA-354
 URL: https://issues.apache.org/jira/browse/CARBONDATA-354
 Project: CarbonData
  Issue Type: Bug
Reporter: Prabhat Kashyap
Priority: Minor


When I am executing following command:
select count() from tableName;

It gave me no error and execute successfully but it gives following exception 
when I execute the same in Hive:

FAILED: UDFArgumentException Argument expected



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CARBONDATA-326) Creates wrong table on 'create table like'

2016-10-19 Thread Prabhat Kashyap (JIRA)
Prabhat Kashyap created CARBONDATA-326:
--

 Summary: Creates wrong table on 'create table like' 
 Key: CARBONDATA-326
 URL: https://issues.apache.org/jira/browse/CARBONDATA-326
 Project: CarbonData
  Issue Type: Bug
Reporter: Prabhat Kashyap


I'm trying to create a table like my old table but it is not creating as 
expected.

0: jdbc:hive2://localhost:1> CREATE TABLE mainTable(id INT, name STRING) 
STORED BY 'carbondata';
+-+--+
| Result  |
+-+--+
+-+--+
No rows selected (0.206 seconds)
0: jdbc:hive2://localhost:1> DESC mainTable;
+---++--+--+
| col_name  | data_type  | comment  |
+---++--+--+
| name  | string |  |
| id| bigint |  |
+---++--+--+
2 rows selected (0.056 seconds)


Above one is my mainTable and I wants to create copiedTable from it but 
everytime it is show something like:

0: jdbc:hive2://localhost:1> CREATE TABLE copiedTable LIKE mainTable;
+-+--+
| result  |
+-+--+
+-+--+
No rows selected (0.101 seconds)
0: jdbc:hive2://localhost:1> DESC copiedTable;
+---+++--+
| col_name  |   data_type|  comment   |
+---+++--+
| col   | array  | from deserializer  |
+---+++--+
1 row selected (0.022 seconds)

0: jdbc:hive2://localhost:1> LOAD DATA LOCAL INPATH 
'hdfs://localhost:54310/user/hduser/datafiles/data.csv' INTO TABLE copiedTable 
OPTIONS('DELIMITER'=',');
Error: java.lang.RuntimeException: Data loading failed. table not found: 
knoldus.copiedtable (state=,code=0)

0: jdbc:hive2://localhost:1> select * from copiedTable;
+--+--+
| col  |
+--+--+
+--+--+
No rows selected (0.11 seconds)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)