Exit pattern matching

2018-11-21 Thread Moiz Motorwala
Hi Flink Team, First, I would like to thank for such a wonderful tool and appreciate your efforts. I am developing an application where I am processing stream of geolocations and detecting geofence if exactly 3 events are inside geofence. The code is something like this:- Pattern geofencePattern

[jira] [Created] (FLINK-10983) NonHAQueryableStateFsBackendITCase failed when run mvn install

2018-11-21 Thread Hequn Cheng (JIRA)
Hequn Cheng created FLINK-10983: --- Summary: NonHAQueryableStateFsBackendITCase failed when run mvn install Key: FLINK-10983 URL: https://issues.apache.org/jira/browse/FLINK-10983 Project: Flink

Re: [DISCUSS] Support Interactive Programming in Flink Table API

2018-11-21 Thread jincheng sun
Hi Jiangjie, Thanks for initiating this great proposal! Interactive Programming is very useful and user friendly in case of your examples. Moreover, especially when a business has to be executed in several stages with dependencies,such as the pipeline of Flink ML, in order to utilize the

Re: [DISCUSS] Support Interactive Programming in Flink Table API

2018-11-21 Thread Becket Qin
Hi Xingcan, These a great points. We are on the same page regarding potential capabilities of the proposed changes. There are actually two main parts in the proposal, the API and the underlying service. Both parts can be extended in the future. We made a few design choices when draft the doc to

Re: [DISCUSS] Support Interactive Programming in Flink Table API

2018-11-21 Thread Shaoxuan Wang
Hi Xingcan, I think you probably misunderstood our proposal. The proposed “cache()” API basically infers the data is only available for its session, but not forever available for other sessions to access. It will be cleaned when the session exits. “cache” does not imply the underlying

[jira] [Created] (FLINK-10982) Test DataStream to Table for Flink 1.6.2

2018-11-21 Thread YUZHOU HONG (JIRA)
YUZHOU HONG created FLINK-10982: --- Summary: Test DataStream to Table for Flink 1.6.2 Key: FLINK-10982 URL: https://issues.apache.org/jira/browse/FLINK-10982 Project: Flink Issue Type: Test

Re: [DISCUSS] FLIP-27: Refactor Source Interface

2018-11-21 Thread Becket Qin
Thanks Piotrek, > void SplitReader#addSplit(Split) > boolean SplitReader#doesWantMoreSplits() I have two questions about this API. 1. What if the SplitReader implementation cannot easily add a split to read on the fly? 2. Does Flink have to be involved in splits assignment? I am wondering if it

[jira] [Created] (FLINK-10981) Add or modify metrics to show the maximum usage of InputBufferPool/OutputBufferPool to help debugging back pressure

2018-11-21 Thread Yun Gao (JIRA)
Yun Gao created FLINK-10981: --- Summary: Add or modify metrics to show the maximum usage of InputBufferPool/OutputBufferPool to help debugging back pressure Key: FLINK-10981 URL:

Apply for Contributor Permission

2018-11-21 Thread Wei Zhong
Hi guys: Could somebody give me contributor permissions? my jira username is : zhongwei. Thanks.

[jira] [Created] (FLINK-10979) Add support for group keys in Unbounded Aggregate/FlatAggregate operator

2018-11-21 Thread sunjincheng (JIRA)
sunjincheng created FLINK-10979: --- Summary: Add support for group keys in Unbounded Aggregate/FlatAggregate operator Key: FLINK-10979 URL: https://issues.apache.org/jira/browse/FLINK-10979 Project:

[jira] [Created] (FLINK-10978) Add UnBounded FlatAggregate operator to batch Table API

2018-11-21 Thread sunjincheng (JIRA)
sunjincheng created FLINK-10978: --- Summary: Add UnBounded FlatAggregate operator to batch Table API Key: FLINK-10978 URL: https://issues.apache.org/jira/browse/FLINK-10978 Project: Flink Issue

[jira] [Created] (FLINK-10977) Add UnBounded FlatAggregate operator to streaming Table API

2018-11-21 Thread sunjincheng (JIRA)
sunjincheng created FLINK-10977: --- Summary: Add UnBounded FlatAggregate operator to streaming Table API Key: FLINK-10977 URL: https://issues.apache.org/jira/browse/FLINK-10977 Project: Flink

[jira] [Created] (FLINK-10976) Add Aggregate operator to Table API

2018-11-21 Thread sunjincheng (JIRA)
sunjincheng created FLINK-10976: --- Summary: Add Aggregate operator to Table API Key: FLINK-10976 URL: https://issues.apache.org/jira/browse/FLINK-10976 Project: Flink Issue Type: Sub-task

[jira] [Created] (FLINK-10975) Add support for TimeAttribute in Map/FlatMap operator

2018-11-21 Thread sunjincheng (JIRA)
sunjincheng created FLINK-10975: --- Summary: Add support for TimeAttribute in Map/FlatMap operator Key: FLINK-10975 URL: https://issues.apache.org/jira/browse/FLINK-10975 Project: Flink Issue

[jira] [Created] (FLINK-10974) Add FlatMap to TableAPI

2018-11-21 Thread sunjincheng (JIRA)
sunjincheng created FLINK-10974: --- Summary: Add FlatMap to TableAPI Key: FLINK-10974 URL: https://issues.apache.org/jira/browse/FLINK-10974 Project: Flink Issue Type: Sub-task

[jira] [Created] (FLINK-10973) Add Map operator to Table API

2018-11-21 Thread sunjincheng (JIRA)
sunjincheng created FLINK-10973: --- Summary: Add Map operator to Table API Key: FLINK-10973 URL: https://issues.apache.org/jira/browse/FLINK-10973 Project: Flink Issue Type: Sub-task

[jira] [Created] (FLINK-10972) Enhancements to Flink Table API

2018-11-21 Thread sunjincheng (JIRA)
sunjincheng created FLINK-10972: --- Summary: Enhancements to Flink Table API Key: FLINK-10972 URL: https://issues.apache.org/jira/browse/FLINK-10972 Project: Flink Issue Type: Improvement

Re: [DISCUSS] Table API Enhancement Outline

2018-11-21 Thread jincheng sun
Hi Piotrek, #1)We have unbounded and bounded group window aggregate, for unbounded case we should early fire the result with retract message, we can not using watermark, because unbounded aggregate never finished. (for improvement we can introduce micro-batch in feature), for bounded window we

[jira] [Created] (FLINK-10971) Dependency convergence issue when building flink-s3-fs-presto

2018-11-21 Thread Ufuk Celebi (JIRA)
Ufuk Celebi created FLINK-10971: --- Summary: Dependency convergence issue when building flink-s3-fs-presto Key: FLINK-10971 URL: https://issues.apache.org/jira/browse/FLINK-10971 Project: Flink

[jira] [Created] (FLINK-10969) expose API or metric for total number of keys stored in state backend

2018-11-21 Thread Steven Zhen Wu (JIRA)
Steven Zhen Wu created FLINK-10969: -- Summary: expose API or metric for total number of keys stored in state backend Key: FLINK-10969 URL: https://issues.apache.org/jira/browse/FLINK-10969 Project:

[jira] [Created] (FLINK-10968) Implement TaskManager Entrypoint

2018-11-21 Thread JIN SUN (JIRA)
JIN SUN created FLINK-10968: --- Summary: Implement TaskManager Entrypoint Key: FLINK-10968 URL: https://issues.apache.org/jira/browse/FLINK-10968 Project: Flink Issue Type: Sub-task

Re: [VOTE] Release 1.7.0, release candidate #2

2018-11-21 Thread Till Rohrmann
Thanks Chesnay for going through the release notes. I've updated them accordingly. Concerning the test dependency and the LICENSE/NOTICE files, I'm looking into it and will report back. Cheers, Till On Wed, Nov 21, 2018 at 3:46 PM Chesnay Schepler wrote: > Our LICENSE/NOTICE files in the

[jira] [Created] (FLINK-10967) Update kafka dependency to 2.1.0

2018-11-21 Thread Ismael Juma (JIRA)
Ismael Juma created FLINK-10967: --- Summary: Update kafka dependency to 2.1.0 Key: FLINK-10967 URL: https://issues.apache.org/jira/browse/FLINK-10967 Project: Flink Issue Type: Bug

[jira] [Created] (FLINK-10966) Optimize the release blocking logic in BarrierBuffer

2018-11-21 Thread vinoyang (JIRA)
vinoyang created FLINK-10966: Summary: Optimize the release blocking logic in BarrierBuffer Key: FLINK-10966 URL: https://issues.apache.org/jira/browse/FLINK-10966 Project: Flink Issue Type:

Re: [DISCUSS] Support Interactive Programming in Flink Table API

2018-11-21 Thread Xingcan Cui
Hi all, Thanks for the replies. @Becket I think whether putting the persist/cache methods in a separated util class or inside the DataSet/Table depends on what we want to introduce. The former one sounds more like a data storage component where users may even somehow get a stored

Spring boot and Apache flink

2018-11-21 Thread Durga Durga
Folks, We've been having a tough time building a spring boot app (Jar) to get our Flink jobs running in our Flink Cluster. The Spring Application Context is always getting set to null - while the flink job is running - did anyone had luck with this ?. Any help would be appreciated. Thanks

[jira] [Created] (FLINK-10965) suggest that change $resultTypeTerm to Object at org.apache.flink.table.codegen.calls.ScalarFunctionCallGen:104

2018-11-21 Thread shaomeng.wang (JIRA)
shaomeng.wang created FLINK-10965: - Summary: suggest that change $resultTypeTerm to Object at org.apache.flink.table.codegen.calls.ScalarFunctionCallGen:104 Key: FLINK-10965 URL:

[jira] [Created] (FLINK-10964) sql-client throws exception when pagin through finished batch query

2018-11-21 Thread Seth Wiesman (JIRA)
Seth Wiesman created FLINK-10964: Summary: sql-client throws exception when pagin through finished batch query Key: FLINK-10964 URL: https://issues.apache.org/jira/browse/FLINK-10964 Project: Flink

Re: [VOTE] Release 1.7.0, release candidate #2

2018-11-21 Thread Chesnay Schepler
Our LICENSE/NOTICE files in the binary distribution may also be botched (and may have been for quite some time). As per http://www.apache.org/dev/licensing-howto.html#binary "|[...] LICENSE| and |NOTICE| must *exactly* represent the contents of the distribution they reside in.", which also

[jira] [Created] (FLINK-10963) Cleanup small objects uploaded to S3 as independent objects

2018-11-21 Thread Kostas Kloudas (JIRA)
Kostas Kloudas created FLINK-10963: -- Summary: Cleanup small objects uploaded to S3 as independent objects Key: FLINK-10963 URL: https://issues.apache.org/jira/browse/FLINK-10963 Project: Flink

Re: Question: Flink JIRA issues for simple code comment improvements

2018-11-21 Thread Miguel Coimbra
Hello Till, it's a good point you are bringing up here. One of the reasons why there > are some irregularities is that the code has grown quite a bit over time. > Another is that we have established checkstyle rules but they are not yet > activated for all modules because the initial effort to

Re: [DISCUSS] FLIP-27: Refactor Source Interface

2018-11-21 Thread Piotr Nowojski
Hi again, > However I don't like the thread mode which starts a thread for each split. > Starting extra thread in operator is not an ideal way IMO. Especially > thread count is decided by split count. So I was wondering if there is a > more elegant way. Do we really want these threads in Flink

Re: [VOTE] Release 1.7.0, release candidate #2

2018-11-21 Thread Chesnay Schepler
I may have found a potential blocker while looking at dependencies: flink-tests now has a non-optional test dependency on oshi-core, which is licensed under EPL 1.0. As per https://issues.apache.org/jira/browse/LEGAL-207, test dependencies are not exempt from license restrictions. We thus

Re: [DISCUSS] FLIP-27: Refactor Source Interface

2018-11-21 Thread Becket Qin
Hi Aljoscha, Good point on the potential optimization in the source. One thing to clarify, by "adding a minimumTimestamp()/maximumTimestamp() method pair to the split interface", did you mean "split reader interface"? If so, what should the readers do if they do not have such additional

Re: Question: Flink JIRA issues for simple code comment improvements

2018-11-21 Thread Till Rohrmann
Hi Miguel, it's a good point you are bringing up here. One of the reasons why there are some irregularities is that the code has grown quite a bit over time. Another is that we have established checkstyle rules but they are not yet activated for all modules because the initial effort to fix all

Re: [DISCUSS] Table API Enhancement Outline

2018-11-21 Thread Piotr Nowojski
Hi Jincheng, > #1) No,watermark solves the issue of the late event. Here, the performance > problem is caused by the update emit mode. i.e.: When current calculation > result is output, the previous calculation result needs to be retracted. Hmm, yes I missed this. For time-windowed cases (some

[jira] [Created] (FLINK-10962) Allow correlations between subtask metrics and checkpoint metrics

2018-11-21 Thread Nico Kruber (JIRA)
Nico Kruber created FLINK-10962: --- Summary: Allow correlations between subtask metrics and checkpoint metrics Key: FLINK-10962 URL: https://issues.apache.org/jira/browse/FLINK-10962 Project: Flink

[jira] [Created] (FLINK-10961) RuntimeException: Could not extract key when using closure

2018-11-21 Thread Avi Levi (JIRA)
Avi Levi created FLINK-10961: Summary: RuntimeException: Could not extract key when using closure Key: FLINK-10961 URL: https://issues.apache.org/jira/browse/FLINK-10961 Project: Flink Issue

Re: JIRA notifications

2018-11-21 Thread vino yang
+1 Flavio Pompermaier 于2018年11月21日周三 下午7:24写道: > +1 > > On Wed, Nov 21, 2018 at 12:05 PM Saar Bar wrote: > > >  agree > > > > Sent from my iPhone > > > > > On 21 Nov 2018, at 13:03, Maximilian Michels wrote: > > > > > > Hi! > > > > > > Do you think it would make sense to send JIRA

[jira] [Created] (FLINK-10960) CEP: Job Failure when .times(2) is used

2018-11-21 Thread Thomas Wozniakowski (JIRA)
Thomas Wozniakowski created FLINK-10960: --- Summary: CEP: Job Failure when .times(2) is used Key: FLINK-10960 URL: https://issues.apache.org/jira/browse/FLINK-10960 Project: Flink Issue

Re: [DISCUSS] Table API Enhancement Outline

2018-11-21 Thread jincheng sun
Hi shaoxuan & Hequn, Thanks for your suggestion,I'll file the JIRAs later. We can prepare PRs while continuing to move forward the ongoing discussion. Regards, Jincheng jincheng sun 于2018年11月21日周三 下午7:07写道: > Hi Piotrek, > Thanks for your feedback, and thanks for share your thoughts! > > #1)

Re: JIRA notifications

2018-11-21 Thread Flavio Pompermaier
+1 On Wed, Nov 21, 2018 at 12:05 PM Saar Bar wrote: >  agree > > Sent from my iPhone > > > On 21 Nov 2018, at 13:03, Maximilian Michels wrote: > > > > Hi! > > > > Do you think it would make sense to send JIRA notifications to a > separate mailing list? Some people just want to casually follow

Re: [DISCUSS] Table API Enhancement Outline

2018-11-21 Thread jincheng sun
Hi Piotrek, Thanks for your feedback, and thanks for share your thoughts! #1) No,watermark solves the issue of the late event. Here, the performance problem is caused by the update emit mode. i.e.: When current calculation result is output, the previous calculation result needs to be retracted.

Re: JIRA notifications

2018-11-21 Thread Saar Bar
 agree Sent from my iPhone > On 21 Nov 2018, at 13:03, Maximilian Michels wrote: > > Hi! > > Do you think it would make sense to send JIRA notifications to a separate > mailing list? Some people just want to casually follow the mailing list and > it requires a filter to delete all the

JIRA notifications

2018-11-21 Thread Maximilian Michels
Hi! Do you think it would make sense to send JIRA notifications to a separate mailing list? Some people just want to casually follow the mailing list and it requires a filter to delete all the JIRA mails. We already have an "issues" mailing list which receives the JIRA notifications:

Re: [VOTE] Release 1.7.0, release candidate #2

2018-11-21 Thread Chesnay Schepler
I looked through the release notes: Entries that shouldn't be included: * [FLINK-9983] - Savepoints should count as checkpoints when recovering o duplicate of FLINK-1035 * [FLINK-10714] - java.lang.IndexOutOfBoundsException when creating a heap backend snapshot o closed as "Not a

Re: [DISCUSS] Support Interactive Programming in Flink Table API

2018-11-21 Thread Ruidong Li
Hi Becket, I think the Flink Service is a good abstraction, with which we can easily build Interactive Programing or some other features. We might bring the concept of 'Session', then we can think of Flink Services as system processes and user jobs as user processes, so the management of life

[jira] [Created] (FLINK-10959) most taskmanger in the same node

2018-11-21 Thread Yee (JIRA)
Yee created FLINK-10959: --- Summary: most taskmanger in the same node Key: FLINK-10959 URL: https://issues.apache.org/jira/browse/FLINK-10959 Project: Flink Issue Type: Bug Reporter: Yee

Re: [DISCUSS] Table API Enhancement Outline

2018-11-21 Thread Piotr Nowojski
Hi, 1. > In fact, in addition to the design of APIs, there will be various > performance optimization details, such as: table Aggregate function > emitValue will generate multiple calculation results, in extreme cases, > each record will trigger a large number of retract messages, this will have

Re: [DISCUSS] Table API Enhancement Outline

2018-11-21 Thread Hequn Cheng
Hi, Thank you all for the great proposal and discussion! I also prefer to move on to the next step, so +1 for opening the JIRAs to start the work. We can have more detailed discussion there. Btw, we can start with JIRAs which we have agreed on. Best, Hequn On Tue, Nov 20, 2018 at 11:38 PM

[jira] [Created] (FLINK-10957) Adapt documents about DataStream to Table conversion

2018-11-21 Thread Hequn Cheng (JIRA)
Hequn Cheng created FLINK-10957: --- Summary: Adapt documents about DataStream to Table conversion Key: FLINK-10957 URL: https://issues.apache.org/jira/browse/FLINK-10957 Project: Flink Issue

[jira] [Created] (FLINK-10958) Add overload support for user defined function

2018-11-21 Thread Dian Fu (JIRA)
Dian Fu created FLINK-10958: --- Summary: Add overload support for user defined function Key: FLINK-10958 URL: https://issues.apache.org/jira/browse/FLINK-10958 Project: Flink Issue Type: Task