Re: [jira] [Created] (CARBONDATA-1030) Support reading specified segment or carbondata file

2017-05-15 Thread Jin Zhou
@Liang Chen
Thx for your reply. I think your proposal is a good way for reading
specified segments.

Maybe the SQL below can be used to reading specified carbon files:
carbon.sql("select * from carbontable in carbonfile('filepath1','filepath2')
where filter 
conditions").show() 






--
View this message in context: 
http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/jira-Created-CARBONDATA-1030-Support-reading-specified-segment-or-carbondata-file-tp12126p12701.html
Sent from the Apache CarbonData Dev Mailing List archive mailing list archive 
at Nabble.com.


Re: [jira] [Created] (CARBONDATA-1030) Support reading specified segment or carbondata file

2017-05-07 Thread Liang Chen
Hi 

+1 for this feature. 
How about the DDL script as below : 
carbon.sql("select * from carbontable in segmentid(0,3,5,7) where filter 
conditions").show() 

Regards 
Liang 



--
View this message in context: 
http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/jira-Created-CARBONDATA-1030-Support-reading-specified-segment-or-carbondata-file-tp12126p12154.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at 
Nabble.com.


Re: [jira] [Created] (CARBONDATA-1030) Support reading specified segment or carbondata file

2017-05-07 Thread Liang Chen
Hi

+1 for this feature.
How about the DDL script as below :
carbon.sql("select * from carbontable in segmentid(0,3,5,7) where filter
conditions").show()

Regards
Liang


2017-05-05 22:33 GMT+08:00 Jin Zhou (JIRA) :

> Jin Zhou created CARBONDATA-1030:
> 
>
>  Summary: Support reading specified segment or carbondata file
>  Key: CARBONDATA-1030
>  URL: https://issues.apache.org/
> jira/browse/CARBONDATA-1030
>  Project: CarbonData
>   Issue Type: Improvement
> Reporter: Jin Zhou
> Priority: Minor
>
>
> We can query whole table in SQL way currently, but reading specified
> segments or data files is useful in some scenarios such as incremental data
> processing.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.15#6346)
>



-- 
Regards
Liang


[jira] [Created] (CARBONDATA-1030) Support reading specified segment or carbondata file

2017-05-05 Thread Jin Zhou (JIRA)
Jin Zhou created CARBONDATA-1030:


 Summary: Support reading specified segment or carbondata file
 Key: CARBONDATA-1030
 URL: https://issues.apache.org/jira/browse/CARBONDATA-1030
 Project: CarbonData
  Issue Type: Improvement
Reporter: Jin Zhou
Priority: Minor


We can query whole table in SQL way currently, but reading specified segments 
or data files is useful in some scenarios such as incremental data processing.



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