[jira] [Created] (FLINK-32459) Force set the parallelism of SocketTableSource to 1

2023-06-27 Thread Weijie Guo (Jira)
Weijie Guo created FLINK-32459: -- Summary: Force set the parallelism of SocketTableSource to 1 Key: FLINK-32459 URL: https://issues.apache.org/jira/browse/FLINK-32459 Project: Flink Issue Type:

Re: Flink Mongodb Sink - Issues

2023-06-27 Thread Leonard Xu
Hi Harish Jiabao has helped troubleshoot the issue[1] and fixed it very efficiently less than 24 hours, Thanks Jiabao! You can built mongodb connector base on latest main branch, or you can wait the next connector release. Best, Leonard [1]https://issues.apache.org/jira/browse/FLINK-32446

[jira] [Created] (FLINK-32458) support mixed use of JSON_OBJECTAGG & JSON_ARRAYAGG with other aggregate functions

2023-06-27 Thread lincoln lee (Jira)
lincoln lee created FLINK-32458: --- Summary: support mixed use of JSON_OBJECTAGG & JSON_ARRAYAGG with other aggregate functions Key: FLINK-32458 URL: https://issues.apache.org/jira/browse/FLINK-32458

[jira] [Created] (FLINK-32457) update current documentation of JSON_OBJECTAGG/JSON_ARRAYAGG to clarify the limitation

2023-06-27 Thread lincoln lee (Jira)
lincoln lee created FLINK-32457: --- Summary: update current documentation of JSON_OBJECTAGG/JSON_ARRAYAGG to clarify the limitation Key: FLINK-32457 URL: https://issues.apache.org/jira/browse/FLINK-32457

[jira] [Created] (FLINK-32456) JSON_OBJECTAGG & JSON_ARRAYAGG cannot be used with other aggregate functions

2023-06-27 Thread lincoln lee (Jira)
lincoln lee created FLINK-32456: --- Summary: JSON_OBJECTAGG & JSON_ARRAYAGG cannot be used with other aggregate functions Key: FLINK-32456 URL: https://issues.apache.org/jira/browse/FLINK-32456 Project:

Re: [DISCUSS] FLIP-314: Support Customized Job Lineage Listener

2023-06-27 Thread Shammon FY
Hi Feng, Thanks for your input. >1. we can add a lineage interface like `supportReportLineage` It's a so good idea and thanks very much. It can help users to report lineage for existing connectors in DataStream jobs without any additional operations. I will give this interface in the FLIP later

[jira] [Created] (FLINK-32455) Breaking change in TypeSerializerUpgradeTestBase prevents flink-connector-kafka from building against 1.18-SNAPSHOT

2023-06-27 Thread Tzu-Li (Gordon) Tai (Jira)
Tzu-Li (Gordon) Tai created FLINK-32455: --- Summary: Breaking change in TypeSerializerUpgradeTestBase prevents flink-connector-kafka from building against 1.18-SNAPSHOT Key: FLINK-32455 URL:

[jira] [Created] (FLINK-32454) deserializeStreamStateHandle of checkpoint read byte

2023-06-27 Thread Bo Cui (Jira)
Bo Cui created FLINK-32454: -- Summary: deserializeStreamStateHandle of checkpoint read byte Key: FLINK-32454 URL: https://issues.apache.org/jira/browse/FLINK-32454 Project: Flink Issue Type: Bug

[jira] [Created] (FLINK-32453) flink-connector-kafka does not build against Flink 1.18-SNAPSHOT

2023-06-27 Thread Tzu-Li (Gordon) Tai (Jira)
Tzu-Li (Gordon) Tai created FLINK-32453: --- Summary: flink-connector-kafka does not build against Flink 1.18-SNAPSHOT Key: FLINK-32453 URL: https://issues.apache.org/jira/browse/FLINK-32453

Feature requests for Flink protobuf deserialization

2023-06-27 Thread Adam Richardson
Hi there, My company is in the process of rebuilding some of our batch Spark-based ETL pipelines in Flink. We use protobuf to define our schemas. One major challenge is that Flink protobuf deserialization has some semantic differences with the ScalaPB encoders we use in our Spark systems. This

Re: [DISCUSS] FLIP-321: Introduce an API deprecation process

2023-06-27 Thread Martijn Visser
Hi all, Thanks for the lively and good discussion. Given the length of the discussion, I skimmed through and then did a deep dive on the latest state of the FLIP. I think the FLIP is overall in a good state and ready to bring to a vote. One thing that I did notice while skimming through the

[ANNOUNCE] Kafka connector code removed from apache/master

2023-06-27 Thread Mason Chen
Hi all, I would like to inform you that we have removed the Kafka connector code from the Flink main repo. This should reduce the developer confusion of which repo to submit PRs. Regarding a few nuances, we have kept the Confluent avro format in the main repo. This is because the format is

[jira] [Created] (FLINK-32452) Refactor SQL Client E2E Test to Remove Kafka SQL Connector Dependency

2023-06-27 Thread Mason Chen (Jira)
Mason Chen created FLINK-32452: -- Summary: Refactor SQL Client E2E Test to Remove Kafka SQL Connector Dependency Key: FLINK-32452 URL: https://issues.apache.org/jira/browse/FLINK-32452 Project: Flink

[jira] [Created] (FLINK-32451) Refactor Confluent Schema Registry E2E Tests to remove Kafka connector dependency

2023-06-27 Thread Mason Chen (Jira)
Mason Chen created FLINK-32451: -- Summary: Refactor Confluent Schema Registry E2E Tests to remove Kafka connector dependency Key: FLINK-32451 URL: https://issues.apache.org/jira/browse/FLINK-32451

[jira] [Created] (FLINK-32450) Update Kafka CI setup to latest version for PRs and nightly builds

2023-06-27 Thread Martijn Visser (Jira)
Martijn Visser created FLINK-32450: -- Summary: Update Kafka CI setup to latest version for PRs and nightly builds Key: FLINK-32450 URL: https://issues.apache.org/jira/browse/FLINK-32450 Project:

[jira] [Created] (FLINK-32449) Refactor state machine examples to remove Kafka dependency

2023-06-27 Thread Mason Chen (Jira)
Mason Chen created FLINK-32449: -- Summary: Refactor state machine examples to remove Kafka dependency Key: FLINK-32449 URL: https://issues.apache.org/jira/browse/FLINK-32449 Project: Flink Issue

[jira] [Created] (FLINK-32448) Connector Shared Utils checks out wrong branch when running CI for PRs

2023-06-27 Thread Martijn Visser (Jira)
Martijn Visser created FLINK-32448: -- Summary: Connector Shared Utils checks out wrong branch when running CI for PRs Key: FLINK-32448 URL: https://issues.apache.org/jira/browse/FLINK-32448 Project:

Re: [DISCUSS] FLIP-314: Support Customized Job Lineage Listener

2023-06-27 Thread Feng Jin
Hi Shammon Thank you for proposing this FLIP. I think the Flink Job lineage is a very useful feature. I have few question: 1. For DataStream Jobs, users need to set up lineage relationships when building DAGs for their custom sources and sinks. However, for some common connectors such as Kafka

Re: Async I/O: preserve stream order for requests on key level

2023-06-27 Thread Teoh, Hong
Hi Juho, Thank you for bringing this up! Definitely +1 to this. We have had similar requests for the AsyncSink as well. As a side note, it would be useful to share the same implementation for both somehow, to prevent duplicate code. Happy to help with the implementation here. For the

[jira] [Created] (FLINK-32447) table hints lost when they inside a view referenced by an external query

2023-06-27 Thread lincoln lee (Jira)
lincoln lee created FLINK-32447: --- Summary: table hints lost when they inside a view referenced by an external query Key: FLINK-32447 URL: https://issues.apache.org/jira/browse/FLINK-32447 Project:

[jira] [Created] (FLINK-32446) MongoWriter should regularly check whether the last write time is greater than the specified time.

2023-06-27 Thread Jiabao Sun (Jira)
Jiabao Sun created FLINK-32446: -- Summary: MongoWriter should regularly check whether the last write time is greater than the specified time. Key: FLINK-32446 URL: https://issues.apache.org/jira/browse/FLINK-32446

Re: [VOTE] Release flink-connector-jdbc v3.1.1, release candidate #2

2023-06-27 Thread Yuepeng Pan
+1 (non-binding) - verified signatures - compiled from sources - ran tests locally - checked release notes Best, Yuepeng Pan At 2023-06-27 07:42:00, "Sergey Nuyanzin" wrote: >+1 (non-binding) > >- verified hashes >- verified signatures >- built from sources >- checked release notes >- review

Re: [DISCUSS] Persistent SQL Gateway

2023-06-27 Thread Shammon FY
Hi Ferenc, If I understand correctly, there will be two types of jobs in sql-gateway: `SELECT` and `NON-SELECT` such as `INSERT`. 1. `SELECT` jobs need to collect results from Flink cluster in a corresponding session of sql gateway, and when the session is closed, the job should be canceled.

Re: [DISCUSS] Release 2.0 Work Items

2023-06-27 Thread Xintong Song
Hi Alex & Gyula, By compatibility discussion do you mean the "[DISCUSS] FLIP-321: Introduce > an API deprecation process" thread [1]? > Yes, I meant the FLIP-321 discussion. I just noticed I pasted the wrong url in my previous email. Sorry for the mistake. I am also curious to know if the

Re: Flink Mongodb Sink - Issues

2023-06-27 Thread Jiabao Sun
Hi Harish, Thanks to report this issue. There are currently 5 ways to write: 1. Flush only on checkpoint 'sink.buffer-flush.interval' = '-1' and 'sink.buffer-flush.max-rows' = '-1' 2. Flush for for every single element 'sink.buffer-flush.interval' = '0' or 'sink.buffer-flush.max-rows' = '1' 3.

Re: [DISCUSS] Persistent SQL Gateway

2023-06-27 Thread Ferenc Csaky
Hi Jark, In the current implementation, any job submitted via the SQL Gateway has to be done through a session, cause all the operations are grouped under sessions. Starting from there, if I close a session, that will close the "SessionContext", which closes the "OperationManager" [1], and the

Flink Mongodb Sink - Issues

2023-06-27 Thread harish.sridhar
Hi, I am using the flink version 1.7.1 and flink-mongodb-sql-connector version 1.0.1-1.17. Below is the data pipeline flow. Source 1 (Kafka topic using Kafka connector) -> Window Aggregation (legacy grouped window aggregation) -> Sink (Kafka topic using upsert-kafka connector) ->

Re: [DISCUSS] Release 2.0 Work Items

2023-06-27 Thread Gyula Fóra
Hey! I share the same concerns mentioned above regarding the "ProcessFunction API". I don't think we should create a replacement for the DataStream API unless we have a very good reason to do so and with a proper discussion about this as Alex said. Cheers, Gyula On Tue, Jun 27, 2023 at 11:03 

Re: [DISCUSS] Release 2.0 Work Items

2023-06-27 Thread Alexander Fedulov
Hi Xintong, By compatibility discussion do you mean the "[DISCUSS] FLIP-321: Introduce an API deprecation process" thread [1]? I am also curious to know if the rationale behind this new API has been previously discussed on the mailing list. Do we have a list of shortcomings in the current

Re: [DISCUSS] FLIP-309: Enable operators to trigger checkpoints dynamically

2023-06-27 Thread Dong Lin
Thanks Jack, Jingsong, and Zhu for the review! Thanks Zhu for the suggestion. I have updated the configuration name as suggested. On Tue, Jun 27, 2023 at 4:45 PM Zhu Zhu wrote: > Thanks Dong and Yunfeng for creating this FLIP and driving this discussion. > > The new design looks generally good

Re: [DISCUSS] FLIP-303: Support REPLACE TABLE AS SELECT statement

2023-06-27 Thread yuxia
Hi, jing. Thanks for pointing it out. Yes, it's a typo. I should be option. Now, I have updated the FLIP. Best regards, Yuxia - 原始邮件 - 发件人: "Jing Ge" 收件人: "dev" 抄送: "zhangmang1" 发送时间: 星期二, 2023年 6 月 27日 下午 4:26:20 主题: Re: [DISCUSS] FLIP-303: Support REPLACE TABLE AS SELECT statement

Re: [DISCUSS] FLIP-309: Enable operators to trigger checkpoints dynamically

2023-06-27 Thread Zhu Zhu
Thanks Dong and Yunfeng for creating this FLIP and driving this discussion. The new design looks generally good to me. Increasing the checkpoint interval when the job is processing backlogs is easier for users to understand and can help in more scenarios. I have one comment about the new

Re: [DISCUSS] FLIP-303: Support REPLACE TABLE AS SELECT statement

2023-06-27 Thread Jing Ge
Hi Yuxia, Thanks for the proposal. Many engines like Snowflake, Databricks support it. +1 "3:Check the atomicity is enabled, it requires both the options table.rtas-ctas.atomicity-enabled is set to true and the corresponding table sink implementation SupportsStaging." Typo? "Option" instead of

[jira] [Created] (FLINK-32445) BlobStore.closeAndCleanupAllData doesn't do any close action

2023-06-27 Thread Matthias Pohl (Jira)
Matthias Pohl created FLINK-32445: - Summary: BlobStore.closeAndCleanupAllData doesn't do any close action Key: FLINK-32445 URL: https://issues.apache.org/jira/browse/FLINK-32445 Project: Flink

Re: [DISCUSS] FLIP-309: Enable operators to trigger checkpoints dynamically

2023-06-27 Thread Jingsong Li
Looks good to me! Thanks Dong, Yunfeng and all for your discussion and design. Best, Jingsong On Tue, Jun 27, 2023 at 3:35 PM Jark Wu wrote: > > Thank you Dong for driving this FLIP. > > The new design looks good to me! > > Best, > Jark > > > 2023年6月27日 14:38,Dong Lin 写道: > > > > Thank you

Re: [DISCUSS] FLIP-309: Enable operators to trigger checkpoints dynamically

2023-06-27 Thread Jark Wu
Thank you Dong for driving this FLIP. The new design looks good to me! Best, Jark > 2023年6月27日 14:38,Dong Lin 写道: > > Thank you Leonard for the review! > > Hi Piotr, do you have any comments on the latest proposal? > > I am wondering if it is OK to start the voting thread this week. > >

Re: [VOTE] Release flink-connector-jdbc v3.1.1, release candidate #2

2023-06-27 Thread Martijn Visser
+1 (binding) - Validated hashes - Verified signature - Verified that no binaries exist in the source archive - Build the source with Maven - Verified licenses - Verified web PRs On Tue, Jun 27, 2023 at 1:42 AM Sergey Nuyanzin wrote: > +1 (non-binding) > > - verified hashes > - verified

Re: [DISCUSS] FLIP-309: Enable operators to trigger checkpoints dynamically

2023-06-27 Thread Dong Lin
Thank you Leonard for the review! Hi Piotr, do you have any comments on the latest proposal? I am wondering if it is OK to start the voting thread this week. On Mon, Jun 26, 2023 at 4:10 PM Leonard Xu wrote: > Thanks Dong for driving this FLIP forward! > > Introducing `backlog status`

Re: [DISCUSS] FLIP-303: Support REPLACE TABLE AS SELECT statement

2023-06-27 Thread yuxia
Hi, all. Thanks for the feedback. If there are no other questions or concerns for the FLIP[1], I'd like to start the vote tomorrow (6.28). [1] https://cwiki.apache.org/confluence/display/FLINK/FLIP-303%3A+Support+REPLACE+TABLE+AS+SELECT+statement Best regards, Yuxia 发件人: "zhangmang1"

[jira] [Created] (FLINK-32444) Enable object reuse for Flink SQL jobs by default

2023-06-27 Thread Jark Wu (Jira)
Jark Wu created FLINK-32444: --- Summary: Enable object reuse for Flink SQL jobs by default Key: FLINK-32444 URL: https://issues.apache.org/jira/browse/FLINK-32444 Project: Flink Issue Type: New