[jira] [Created] (CARBONDATA-423) Added Example to Load Data to carbon Table using case class

2016-11-17 Thread Sangeeta Gulia (JIRA)
Sangeeta Gulia created CARBONDATA-423:
-

 Summary: Added Example to Load Data to carbon Table using case 
class
 Key: CARBONDATA-423
 URL: https://issues.apache.org/jira/browse/CARBONDATA-423
 Project: CarbonData
  Issue Type: Improvement
Reporter: Sangeeta Gulia
Priority: Trivial






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


[jira] [Created] (CARBONDATA-409) Drop non-existing macro executes successfully while it must give an error.

2016-11-14 Thread Sangeeta Gulia (JIRA)
Sangeeta Gulia created CARBONDATA-409:
-

 Summary: Drop non-existing macro executes successfully while it 
must give an error.
 Key: CARBONDATA-409
 URL: https://issues.apache.org/jira/browse/CARBONDATA-409
 Project: CarbonData
  Issue Type: Bug
  Components: data-query
Reporter: Sangeeta Gulia


I have created a macro :

CREATE TEMPORARY MACRO simple_add (x int, y int) x + y;
then i dropped the macro.

 > drop temporary macro simple_add;
OK
Time taken: 0.038 seconds
hive> 
> 
> select simple_add(2,3);
FAILED: SemanticException [Error 10011]: Line 1:7 Invalid function 'simple_add'
  

then i again tried to drop the same macro and it again executed without any 
exception:
> drop temporary macro simple_add;
OK
Time taken: 0.016 seconds



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