[jira] [Created] (CARBONDATA-3561) After deletor updat the data, the query results become incorrect

2019-10-29 Thread Xigua (Jira)
Xigua created CARBONDATA-3561:
-

 Summary: After deletor updat the data, the query results become 
incorrect
 Key: CARBONDATA-3561
 URL: https://issues.apache.org/jira/browse/CARBONDATA-3561
 Project: CarbonData
  Issue Type: Bug
  Components: data-query
Affects Versions: 1.5.4, 1.6.0
 Environment: SUSE12 CDH5
Reporter: Xigua
 Attachments: image-2019-10-30-14-42-49-871.png, 
image-2019-10-30-14-43-21-972.png

 

When I delet or updat table data use spark SQL 2.2.3, it affects other row 
data,the query results become incorrect.

 
{quote}CREATE TABLE `workqueue_zyy02` (`queuecode` STRING, `channelflag` 
STRING, `dt` STRING)
USING org.apache.spark.sql.CarbonSource
PARTITIONED BY (dt);
 
delete from workqueue_zyy02 m where m.queuecode ='1';{quote}
*before*
 * !image-2019-10-30-14-42-49-871.png!

 * 
 * *after*
 * !image-2019-10-30-14-43-21-972.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [carbondata] CarbonDataQA commented on issue #3426: [CARBONDATA-3560] Fixed issues for Add Segment

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3426: [CARBONDATA-3560] Fixed issues for Add 
Segment
URL: https://github.com/apache/carbondata/pull/3426#issuecomment-547755448
 
 
   Build Success with Spark 2.1.0, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/713/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] manishnalla1994 opened a new pull request #3426: [CARBONDATA-3560] Fixed issues for Add Segment

2019-10-29 Thread GitBox
manishnalla1994 opened a new pull request #3426: [CARBONDATA-3560] Fixed issues 
for Add Segment
URL: https://github.com/apache/carbondata/pull/3426
 
 
   Issue1 : When the format is given in uppercase, add segment fails with 
unknown format.
   Solution1 : Made format case-insensitive.
   
   Issue2 : The same path is being added repeatedly, blocked this operation.
   
   Issue3 : Added validation for the folder not containing carbon files. 
   
   Be sure to do all of the following checklist to help us incorporate 
   your contribution quickly and easily:
   
- [ ] Any interfaces changed?

- [ ] Any backward compatibility impacted?

- [ ] Document update required?
   
- [ ] Testing done
   Please provide details on 
   - Whether new unit test cases have been added or why no new tests 
are required?
   - How it is tested? Please attach test report.
   - Is it a performance related change? Please attach the performance 
test report.
   - Any additional information to help reviewers in testing this 
change.
  
- [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Created] (CARBONDATA-3560) When format is given in uppercase, add segment does not work

2019-10-29 Thread MANISH NALLA (Jira)
MANISH NALLA created CARBONDATA-3560:


 Summary: When format is given in uppercase, add segment does not 
work
 Key: CARBONDATA-3560
 URL: https://issues.apache.org/jira/browse/CARBONDATA-3560
 Project: CarbonData
  Issue Type: Bug
Reporter: MANISH NALLA






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [carbondata] CarbonDataQA commented on issue #3393: [CARBONDATA-3503][WIP][Carbon2] Adapt to SparkSessionExtension

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3393: [CARBONDATA-3503][WIP][Carbon2] Adapt to 
SparkSessionExtension
URL: https://github.com/apache/carbondata/pull/3393#issuecomment-547437332
 
 
   Build Failed  with Spark 2.3.2, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/719/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] CarbonDataQA commented on issue #3393: [CARBONDATA-3503][WIP][Carbon2] Adapt to SparkSessionExtension

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3393: [CARBONDATA-3503][WIP][Carbon2] Adapt to 
SparkSessionExtension
URL: https://github.com/apache/carbondata/pull/3393#issuecomment-547435430
 
 
   Build Failed with Spark 2.2.1, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.2/719/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] CarbonDataQA commented on issue #3393: [CARBONDATA-3503][WIP][Carbon2] Adapt to SparkSessionExtension

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3393: [CARBONDATA-3503][WIP][Carbon2] Adapt to 
SparkSessionExtension
URL: https://github.com/apache/carbondata/pull/3393#issuecomment-547402357
 
 
   Build Failed  with Spark 2.1.0, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/711/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] ajithme commented on issue #3393: [CARBONDATA-3503][WIP][Carbon2] Adapt to SparkSessionExtension

2019-10-29 Thread GitBox
ajithme commented on issue #3393: [CARBONDATA-3503][WIP][Carbon2] Adapt to 
SparkSessionExtension
URL: https://github.com/apache/carbondata/pull/3393#issuecomment-547398748
 
 
   retest this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] CarbonDataQA commented on issue #3425: [HOTFIX] Remove unnecessary list files API invocation

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3425: [HOTFIX] Remove unnecessary list files 
API invocation
URL: https://github.com/apache/carbondata/pull/3425#issuecomment-547347084
 
 
   Build Success with Spark 2.3.2, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/717/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] CarbonDataQA commented on issue #3424: [CARBONDATA-3559] Support adding carbon files into CarbonData table

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3424: [CARBONDATA-3559] Support adding carbon 
files into CarbonData table
URL: https://github.com/apache/carbondata/pull/3424#issuecomment-547346405
 
 
   Build Failed  with Spark 2.3.2, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/718/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] CarbonDataQA commented on issue #3424: [CARBONDATA-3559] Support adding carbon files into CarbonData table

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3424: [CARBONDATA-3559] Support adding carbon 
files into CarbonData table
URL: https://github.com/apache/carbondata/pull/3424#issuecomment-547345302
 
 
   Build Failed with Spark 2.2.1, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.2/718/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] CarbonDataQA commented on issue #3425: [HOTFIX] Remove unnecessary list files API invocation

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3425: [HOTFIX] Remove unnecessary list files 
API invocation
URL: https://github.com/apache/carbondata/pull/3425#issuecomment-547342761
 
 
   Build Success with Spark 2.2.1, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.2/717/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] CarbonDataQA commented on issue #3424: [CARBONDATA-3559] Support adding carbon files into CarbonData table

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3424: [CARBONDATA-3559] Support adding carbon 
files into CarbonData table
URL: https://github.com/apache/carbondata/pull/3424#issuecomment-547318068
 
 
   Build Success with Spark 2.1.0, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/710/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] CarbonDataQA commented on issue #3425: [HOTFIX] Remove unnecessary list files API invocation

2019-10-29 Thread GitBox
CarbonDataQA commented on issue #3425: [HOTFIX] Remove unnecessary list files 
API invocation
URL: https://github.com/apache/carbondata/pull/3425#issuecomment-547316251
 
 
   Build Success with Spark 2.1.0, Please check CI 
http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/709/
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] jackylk commented on a change in pull request #3422: [CARBONDATA-3558] Clean up codes for property "autoRefreshDataMap"

2019-10-29 Thread GitBox
jackylk commented on a change in pull request #3422: [CARBONDATA-3558] Clean up 
codes for property "autoRefreshDataMap"
URL: https://github.com/apache/carbondata/pull/3422#discussion_r339943626
 
 

 ##
 File path: 
core/src/main/java/org/apache/carbondata/core/datamap/DataMapProvider.java
 ##
 @@ -120,7 +120,7 @@ public void initData() { }
   /**
* Rebuild the datamap by loading all existing data from mainTable
* This is called when refreshing the datamap when
-   * 1. after datamap creation and if `autoRefreshDataMap` is set to true
+   * 1. after datamap creation and no "WITH DEFERRED REBUILD" defined
 
 Review comment:
   Please modify the MD document also
   
https://github.com/apache/carbondata/blob/master/docs/datamap/datamap-management.md#automatic-refresh
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [carbondata] jackylk opened a new pull request #3425: [HOTFIX] Remove unnecessary list files API invocation

2019-10-29 Thread GitBox
jackylk opened a new pull request #3425: [HOTFIX] Remove unnecessary list files 
API invocation
URL: https://github.com/apache/carbondata/pull/3425
 
 
   Remove unnecessary list files API invocation
   
- [ ] Any interfaces changed?

- [ ] Any backward compatibility impacted?

- [ ] Document update required?
   
- [ ] Testing done
   Please provide details on 
   - Whether new unit test cases have been added or why no new tests 
are required?
   - How it is tested? Please attach test report.
   - Is it a performance related change? Please attach the performance 
test report.
   - Any additional information to help reviewers in testing this 
change.
  
- [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Updated] (CARBONDATA-3557) Support write Flink streaming data to Carbon

2019-10-29 Thread Zhi Liu (Jira)


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

Zhi Liu updated CARBONDATA-3557:

Description: 
Sometimes, user need to write flink streaming data to carbon,  required high 
concurrency and high throughput.

The write process is:
 # Write flink streaming data to local file system of flink task node use flink 
StreamingFileSink and carbon SDK;
 # Copy local carbon data file to carbon data store system, such as HDFS, S3;
 # Generate and write segment file to ${tablePath}/load_details;

Run "alter table ${tableName} collect segments" command on server, to compact 
segment files in ${tablePath}/load_details, and then move the compacted segment 
file to ${tablePath}/Metadata/Segments/,update table status file finally.

  was:
Sometimes, user need to write flink streaming data to carbon,  required high 
concurrency and high throughput.

 


> Support write Flink streaming data to Carbon
> 
>
> Key: CARBONDATA-3557
> URL: https://issues.apache.org/jira/browse/CARBONDATA-3557
> Project: CarbonData
>  Issue Type: New Feature
>  Components: spark-integration
>Reporter: Zhi Liu
>Priority: Major
> Fix For: 2.0.0
>
>  Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> Sometimes, user need to write flink streaming data to carbon,  required high 
> concurrency and high throughput.
> The write process is:
>  # Write flink streaming data to local file system of flink task node use 
> flink StreamingFileSink and carbon SDK;
>  # Copy local carbon data file to carbon data store system, such as HDFS, S3;
>  # Generate and write segment file to ${tablePath}/load_details;
> Run "alter table ${tableName} collect segments" command on server, to compact 
> segment files in ${tablePath}/load_details, and then move the compacted 
> segment file to ${tablePath}/Metadata/Segments/,update table status file 
> finally.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)