Re: Flink and Flink shaded dependency

2023-10-04 Thread Jing Ge
Hi Chesnay, Thanks for joining this discussion and sharing your thoughts! > Connectors shouldn't depend on flink-shaded. > Perfect! We are on the same page. If you could read through the discussion, you would realize that, currently, there are many connectors depend on flink-shaded. > Connect

Re: [DISCUSS] FLIP-371: SinkV2 Committer imporvements

2023-10-04 Thread Tzu-Li (Gordon) Tai
Thanks Peter for starting the FLIP. Overall, this seems pretty straightforward and overdue, +1. Two quick question / comments: 1. Can you rename the FLIP to something less generic? Perhaps "Provide initialization context for Committer creation in TwoPhaseCommittingSink"? 2. Can you desc

[jira] [Created] (FLINK-33194) AWS Connector should directly depend on 3rd-party libs instead of flink-shaded repo

2023-10-04 Thread Jing Ge (Jira)
Jing Ge created FLINK-33194: --- Summary: AWS Connector should directly depend on 3rd-party libs instead of flink-shaded repo Key: FLINK-33194 URL: https://issues.apache.org/jira/browse/FLINK-33194 Project: Fl

[jira] [Created] (FLINK-33193) JDBC Connector should directly depend on 3rd-party libs instead of flink-shaded repo

2023-10-04 Thread Jing Ge (Jira)
Jing Ge created FLINK-33193: --- Summary: JDBC Connector should directly depend on 3rd-party libs instead of flink-shaded repo Key: FLINK-33193 URL: https://issues.apache.org/jira/browse/FLINK-33193 Project: F

Re: [DISCUSS] [FLINK-32873] Add a config to allow disabling Query hints

2023-10-04 Thread Dawid Wysakowicz
Hey Jing, If you went through the discussion, you would see it has never been shifted towards "ignore". The only concern in the discussion was we'd have too many options and that lookup joins require them. It was never questioned we should not throw an exception that was suggested in the firs

[jira] [Created] (FLINK-33191) Kafka Connector should directly depend on 3rd-party libs instead of flink-shaded repo

2023-10-04 Thread Jing Ge (Jira)
Jing Ge created FLINK-33191: --- Summary: Kafka Connector should directly depend on 3rd-party libs instead of flink-shaded repo Key: FLINK-33191 URL: https://issues.apache.org/jira/browse/FLINK-33191 Project:

[jira] [Created] (FLINK-33190) Externalized Connectors should directly depend on 3rd-party libs instead of shaded repo

2023-10-04 Thread Jing Ge (Jira)
Jing Ge created FLINK-33190: --- Summary: Externalized Connectors should directly depend on 3rd-party libs instead of shaded repo Key: FLINK-33190 URL: https://issues.apache.org/jira/browse/FLINK-33190 Projec

Re: [Discuss] FLIP-362: Support minimum resource limitation

2023-10-04 Thread xiangyu feng
Hi David, Glad to hear you back! > Agreed; in my mind, this boils down to the ability to quickly allocate new slots (TMs). This might differ between environments though. Yes, for interactive queries cold-start is a very tricky issue to dealing with, we should consider not only about allocating n

Re: [DISCUSS] [FLINK-32873] Add a config to allow disabling Query hints

2023-10-04 Thread Jing Ge
Hi Dawid, Thanks for the clarification. If you could go through the discussion, you would be aware that the focus has been moved from "disable" to "ignore". There was an alignment only on "ignore hints". Your suggestion bypassed the alignment and mixed everything together. That confused me a bit.

[jira] [Created] (FLINK-33189) FsCompletedCheckpointStorageLocation#disposeStorageLocation non-recursively deletes a directory

2023-10-04 Thread Vlado Vojdanovski (Jira)
Vlado Vojdanovski created FLINK-33189: - Summary: FsCompletedCheckpointStorageLocation#disposeStorageLocation non-recursively deletes a directory Key: FLINK-33189 URL: https://issues.apache.org/jira/browse/FLI

Re: [DISCUSS] [FLINK-32873] Add a config to allow disabling Query hints

2023-10-04 Thread Sergey Nuyanzin
Hi Dawid, Thanks for bringing this. I would agree with enum approach ignored option would allow to follow Oracle's behavior as well >table.optimizer.query-options = ENABLED/DISABLED/IGNORED nit: Can we have "hint" in config option name e.g. table.optimizer.query-options-hints ? On Tue, Oct 3,

PyFlink MapState with Types.ROW() throws exception

2023-10-04 Thread Elkhan Dadashov
Hi Flinkers, I'm trying to use MapState, where the value will be a list of type elements. Wanted to check if anyone else faced the same issue while trying to use MapState in PyFlink with complex types. Here is the code: from pyflink.common import Time from pyflink.common.typeinfo import Types

[jira] [Created] (FLINK-33188) PyFlink MapState with Types.ROW() throws exception

2023-10-04 Thread Elkhan Dadashov (Jira)
Elkhan Dadashov created FLINK-33188: --- Summary: PyFlink MapState with Types.ROW() throws exception Key: FLINK-33188 URL: https://issues.apache.org/jira/browse/FLINK-33188 Project: Flink Issu

Re: [DISCUSS] FLIP-371: SinkV2 Committer imporvements

2023-10-04 Thread Martijn Visser
Hi all, Peter, Marton, Gordon and I had an offline sync on SinkV2 and I'm happy with this first FLIP on the topic. +1 Best regards, Martijn On Wed, Oct 4, 2023 at 5:48 PM Márton Balassi wrote: > > Thanks, Peter. I agree that this is needed for Iceberg and beneficial for > other connectors too.

[jira] [Created] (FLINK-33187) Don't send duplicate event to Kafka if no change

2023-10-04 Thread Clara Xiong (Jira)
Clara Xiong created FLINK-33187: --- Summary: Don't send duplicate event to Kafka if no change Key: FLINK-33187 URL: https://issues.apache.org/jira/browse/FLINK-33187 Project: Flink Issue Type: Im

[jira] [Created] (FLINK-33186) CheckpointAfterAllTasksFinishedITCase.testRestoreAfterSomeTasksFinished fails on AZP

2023-10-04 Thread Sergey Nuyanzin (Jira)
Sergey Nuyanzin created FLINK-33186: --- Summary: CheckpointAfterAllTasksFinishedITCase.testRestoreAfterSomeTasksFinished fails on AZP Key: FLINK-33186 URL: https://issues.apache.org/jira/browse/FLINK-33186

[jira] [Created] (FLINK-33185) HybridShuffleITCase fails with TimeoutException: Pending slot request timed out in slot pool.

2023-10-04 Thread Sergey Nuyanzin (Jira)
Sergey Nuyanzin created FLINK-33185: --- Summary: HybridShuffleITCase fails with TimeoutException: Pending slot request timed out in slot pool. Key: FLINK-33185 URL: https://issues.apache.org/jira/browse/FLINK-3318

Re: [DISCUSS] Java Record support

2023-10-04 Thread Peter Huang
+1 for the convenience of users. On Wed, Oct 4, 2023 at 8:05 AM Matthias Pohl wrote: > +1 Sounds like a good idea. > > On Wed, Oct 4, 2023 at 5:04 PM Gyula Fóra wrote: > > > I will share my initial implementation soon, it seems to be pretty > > straightforward. > > > > Biggest challenge so far

[jira] [Created] (FLINK-33184) HybridShuffleITCase fails with exception in resource cleanup of task Map

2023-10-04 Thread Sergey Nuyanzin (Jira)
Sergey Nuyanzin created FLINK-33184: --- Summary: HybridShuffleITCase fails with exception in resource cleanup of task Map Key: FLINK-33184 URL: https://issues.apache.org/jira/browse/FLINK-33184 Projec

Re: [ANNOUNCE] Release 1.18.0, release candidate #0

2023-10-04 Thread Jing Ge
Hi David, First of all, we should have enough time to wait for those issues to be resolved. Secondly, it makes less sense to block upstream release by downstream build issues. In case, those issues might need more time, we should move forward with the Flink release without waiting for them. WDYT?

RE: [ANNOUNCE] Release 1.18.0, release candidate #0

2023-10-04 Thread David Radley
Hi , As release 1.18 removes the kafka connector from the core Flink repository, I assume we will wait until the kafka connector nightly build issues https://issues.apache.org/jira/browse/FLINK-33104 and https://issues.apache.org/jira/browse/FLINK-33017 are resolved before releasing 1.18?

Re: [DISCUSS] FLIP-371: SinkV2 Committer imporvements

2023-10-04 Thread Márton Balassi
Thanks, Peter. I agree that this is needed for Iceberg and beneficial for other connectors too. +1 On Wed, Oct 4, 2023 at 3:56 PM Péter Váry wrote: > Hi Team, > > In my previous email[1] I have described our challenges migrating the > existing Iceberg SinkFunction based implementation, to the n

Kafka Connector

2023-10-04 Thread David Radley
Hi, I was looking at the pr backlog in the Flink repository and realise that there are 51 hits on the search https://github.com/apache/flink/pulls?q=is%3Apr+is%3Aopen+kafka-connector. And 25 hits on https://github.com/apache/flink/pulls?q=is%3Apr+is%3Aopen+kafka-connector+label%3Acomponent%3DCo

RE: FW: RE: Close orphaned/stale PRs

2023-10-04 Thread David Radley
Hi Ryan, I agree that good communication is key to determining what can be worked on. In terms of metrics , we can use the gh cli to list prs and we can export issues from Jira. A view across them, you could join on the Flink issue (at the start of the pr comment and the flink issue itself – yo

Re: [DISCUSS] Java Record support

2023-10-04 Thread Matthias Pohl
+1 Sounds like a good idea. On Wed, Oct 4, 2023 at 5:04 PM Gyula Fóra wrote: > I will share my initial implementation soon, it seems to be pretty > straightforward. > > Biggest challenge so far is setting tests so we can still compile against > older versions but have tests for records . But I h

Re: [DISCUSS] Java Record support

2023-10-04 Thread Gyula Fóra
I will share my initial implementation soon, it seems to be pretty straightforward. Biggest challenge so far is setting tests so we can still compile against older versions but have tests for records . But I have working proposal for that as well. Gyula On Wed, 4 Oct 2023 at 16:45, Chesnay Schep

Re: [Discuss] FLIP-362: Support minimum resource limitation

2023-10-04 Thread David Morávek
> If not, what is the difference between the spare resources and redundant taskmanagers? I wasn't aware of this one; good catch! The main difference is that you don't express the spare resources in terms of slots but in terms of task managers. Also, those options serve slightly different purpose,

Re: [DISCUSS] Java Record support

2023-10-04 Thread Chesnay Schepler
Kryo isn't required for this; newer versions do support records but we want something like a PojoSerializer for records to be performant. The core challenges are a) detecting records during type extraction b) ensuring parameters are passed to the constructor in the right order. From what I reme

Re: Flink and Flink shaded dependency

2023-10-04 Thread Chesnay Schepler
There is no "monolithic" flink-shaded dependency. Connectors shouldn't depend on anything that Flink provides, but be self-contained as Martijn pointed out. Connectors shouldn't depend on flink-shaded. The overhead and/or risks of doing/supporting that right now far outweigh the benefits. ( Be

[jira] [Created] (FLINK-33183) Enable metadata columns in NduAnalyzer with retract if non-virtual

2023-10-04 Thread Timo Walther (Jira)
Timo Walther created FLINK-33183: Summary: Enable metadata columns in NduAnalyzer with retract if non-virtual Key: FLINK-33183 URL: https://issues.apache.org/jira/browse/FLINK-33183 Project: Flink

Re: [DISCUSS] Java Record support

2023-10-04 Thread Őrhidi Mátyás
+1 This would be great On Wed, Oct 4, 2023 at 7:04 AM Gyula Fóra wrote: > Hi All! > > Flink 1.18 contains experimental Java 17 support but it misses out on Java > records which can be one of the nice benefits of actually using newer java > versions. > > There is already a Jira to track this feat

[jira] [Created] (FLINK-33182) Allow metadata columns in NduAnalyzer with ChangelogNormalize

2023-10-04 Thread Timo Walther (Jira)
Timo Walther created FLINK-33182: Summary: Allow metadata columns in NduAnalyzer with ChangelogNormalize Key: FLINK-33182 URL: https://issues.apache.org/jira/browse/FLINK-33182 Project: Flink

Re: FW: RE: Close orphaned/stale PRs

2023-10-04 Thread Ryan Skraba
Hey, this has been an interesting discussion -- this is something that has been on my mind as an open source contributor and committer (I'm not a Flink committer). A large number of open PRs doesn't _necessarily_ mean a project is unhealthy or has technical debt. If it's fun and easy to get your c

[DISCUSS] Java Record support

2023-10-04 Thread Gyula Fóra
Hi All! Flink 1.18 contains experimental Java 17 support but it misses out on Java records which can be one of the nice benefits of actually using newer java versions. There is already a Jira to track this feature [1] but I am not aware of any previous efforts so far. Since records have pretty s

[DISCUSS] FLIP-371: SinkV2 Committer imporvements

2023-10-04 Thread Péter Váry
Hi Team, In my previous email[1] I have described our challenges migrating the existing Iceberg SinkFunction based implementation, to the new SinkV2 based implementation. As a result of the discussion around that topic, I have created the first [2] of the FLIP-s addressing the missing features th

FW: RE: Close orphaned/stale PRs

2023-10-04 Thread David Radley
Hi, To add I agree with Martijn’s insights; I think we are saying similar things. To progress agreed upon work, and not blanket close all stale prs, Kind regards, David. From: David Radley Date: Wednesday, 4 October 2023 at 10:59 To: dev@flink.apache.org Subject: [EXTERNAL] RE: Close orph

RE: Close orphaned/stale PRs

2023-10-04 Thread David Radley
Hi , I agree Venkata this issue is bigger than closing out stale prs. We can see that issues are being raised at a rate way above the resolution time. https://issues.apache.org/jira/secure/ConfigureReport.jspa?projectOrFilterId=project-12315522&periodName=daily&daysprevious=90&cumulative=true&ve

[jira] [Created] (FLINK-33181) Table using `kinesis` connector can not be used for both read & write operations if it's defined with unsupported sink property

2023-10-04 Thread Khanh Vu (Jira)
Khanh Vu created FLINK-33181: Summary: Table using `kinesis` connector can not be used for both read & write operations if it's defined with unsupported sink property Key: FLINK-33181 URL: https://issues.apache.org/ji