Re: [DISCUSS] FLIP-293: Introduce Flink Jdbc Driver For Sql Gateway

2023-03-02 Thread Shammon FY
Hi, Thanks jinsong. I think implementing JDBC for batch mode first sounds good. This will simplify the implementation and we can also remove the row kind first. We can claim this in the FLIP and docs, I will update the FLIP. Best, Shammon On Fri, Mar 3, 2023 at 2:36 PM Jingsong Li wrote: > Hi

Re: [DISCUSS] FLIP-296: Watermark options for table API & SQL

2023-03-02 Thread Kui Yuan
Hi all, Thanks for all. There are more questions and I will answer one by one. @Jark Thanks for your tips. For the first question, I will add more details in the flip, and give a POC[1] so that pepole can know how I'm currently implementing these features. > IIRC, this is the first time we intro

Re: [DISCUSS] PRs in flink-ci/flink-mirror

2023-03-02 Thread Weihua Hu
Hi, Matthias Thanks for bringing this discussion. When I wanted to trigger a CI pipeline, my first thought was to submit a PR to flink repo. But considering that the PR was not intended to be merged in, it might interfere with others. So I tried to retrieve how to run the CI pipeline without PR,

Flink k8s native support - pod deployments and upgrades

2023-03-02 Thread ramkrishna vasudevan
Hi All, The native implementation of the App mode and session mode - does not have any replica set . Instead it just allows the JM to create TM pods on demand. This is simple and easy in terms of creation of resources, but for an upgrade story, how is this managed? Leaving K8s to manage a replica

Re: [DISCUSS] FLIP-293: Introduce Flink Jdbc Driver For Sql Gateway

2023-03-02 Thread Jingsong Li
Hi, Shammon, I took a look at JDBC `ResultSet` and `Statement`. They are complicated and have many interfaces. Some of the interfaces may not be very suitable for streaming. I think maybe we can just implement JDBC for batch/olap only. It is hard to have an integration for JDBC and streaming...

[jira] [Created] (FLINK-31312) EnableObjectReuse cause different behaviors

2023-03-02 Thread Jiang Xin (Jira)
Jiang Xin created FLINK-31312: - Summary: EnableObjectReuse cause different behaviors Key: FLINK-31312 URL: https://issues.apache.org/jira/browse/FLINK-31312 Project: Flink Issue Type: Bug

[jira] [Created] (FLINK-31311) Supports Bounded Watermark streaming read

2023-03-02 Thread Jingsong Lee (Jira)
Jingsong Lee created FLINK-31311: Summary: Supports Bounded Watermark streaming read Key: FLINK-31311 URL: https://issues.apache.org/jira/browse/FLINK-31311 Project: Flink Issue Type: Improve

Re: Re: [DISCUSS] Extract core autoscaling algorithm as new SubModule in flink-kubernetes-operator

2023-03-02 Thread ramkrishna vasudevan
Hi Samrat/Prabhu My preliminary question here would be that though YARN is the platform for Flink, but the yarn also runs over K8s ? Is that the reason why you wanted the autoscale logic to be generic but inside the operator itself? So if the case is that Yarn is the resource management, then the

[DISCUSS] FLIP-300: Add targetColumns to DynamicTableSink#Context to solve the null overwrite problem of partial-insert

2023-03-02 Thread Lincoln Lee
Hi everyone, This FLIP[1] aims to support connectors in avoiding overwriting non-target columns with null values when processing partial column updates, we propose adding information on the target column list to DynamicTableSink#Context. FLINK-18726[2] supports inserting statements with specified

[jira] [Created] (FLINK-31310) Force clear directory no matter what situation in HiveCatalog.dropTable

2023-03-02 Thread Jingsong Lee (Jira)
Jingsong Lee created FLINK-31310: Summary: Force clear directory no matter what situation in HiveCatalog.dropTable Key: FLINK-31310 URL: https://issues.apache.org/jira/browse/FLINK-31310 Project: Flin

[jira] [Created] (FLINK-31309) Rollback DFS schema if hive sync fail in HiveCatalog.createTable

2023-03-02 Thread Jingsong Lee (Jira)
Jingsong Lee created FLINK-31309: Summary: Rollback DFS schema if hive sync fail in HiveCatalog.createTable Key: FLINK-31309 URL: https://issues.apache.org/jira/browse/FLINK-31309 Project: Flink

[jira] [Created] (FLINK-31308) JobManager's metaspace out-of-memory when submit a flinksessionjobs

2023-03-02 Thread tanjialiang (Jira)
tanjialiang created FLINK-31308: --- Summary: JobManager's metaspace out-of-memory when submit a flinksessionjobs Key: FLINK-31308 URL: https://issues.apache.org/jira/browse/FLINK-31308 Project: Flink

[jira] [Created] (FLINK-31307) RocksDB:java.lang.UnsatisfiedLinkError

2023-03-02 Thread Wujunzhe (Jira)
Wujunzhe created FLINK-31307: Summary: RocksDB:java.lang.UnsatisfiedLinkError Key: FLINK-31307 URL: https://issues.apache.org/jira/browse/FLINK-31307 Project: Flink Issue Type: Bug Affects Ve

Re: [VOTE] Release 1.15.4, release candidate #1

2023-03-02 Thread Dian Fu
Hi Danny, I'm sorry that I'm coming to this thread a little late. It seems that this will be the last bugfix release of Flink 1.15? If so, I'd like to also include https://issues.apache.org/jira/browse/FLINK-31272 into this release which fixes a serious issue of PyFlink. Regards, Dian On Thu,

[jira] [Created] (FLINK-31306) Add Servable for PipelineModel

2023-03-02 Thread Jiang Xin (Jira)
Jiang Xin created FLINK-31306: - Summary: Add Servable for PipelineModel Key: FLINK-31306 URL: https://issues.apache.org/jira/browse/FLINK-31306 Project: Flink Issue Type: Improvement Co

Re: [DISCUSS] FLIP-296: Watermark options for table API & SQL

2023-03-02 Thread Jing Ge
Hi, Thanks Kui for driving this Flip and thanks all for the informative discussion. @Timo Your suggestion about the naming convention is excellent. Thanks! I was wondering why you, exceptionally, suggested 'scan.idle-timeout' instead of 'scan.watermark.idle-timeout'. I must miss something here.

[jira] [Created] (FLINK-31305) KafkaWriter doesn't wait for errors for in-flight records before completing flush

2023-03-02 Thread Mason Chen (Jira)
Mason Chen created FLINK-31305: -- Summary: KafkaWriter doesn't wait for errors for in-flight records before completing flush Key: FLINK-31305 URL: https://issues.apache.org/jira/browse/FLINK-31305 Project

Re: [VOTE] Flink minor version support policy for old releases

2023-03-02 Thread Danny Cranmer
Hi everyone, This vote thread is now closed. We have reached a consensus with 6 binding votes, 8 non-binding votes and no vetoes, I will follow up and apply the changes. +1s - Matthias - Jing - Weijie - Weihua - Yuxia - Junrui - Samrat - Sergey - Thomas (binding) - Gyula (binding) - Jark (binding

[jira] [Created] (FLINK-31304) Very slow job start if topic has been used before

2023-03-02 Thread Yordan Pavlov (Jira)
Yordan Pavlov created FLINK-31304: - Summary: Very slow job start if topic has been used before Key: FLINK-31304 URL: https://issues.apache.org/jira/browse/FLINK-31304 Project: Flink Issue Typ

[jira] [Created] (FLINK-31303) k8s operator should gather job cpu and memory utilization metrics

2023-03-02 Thread Jira
Márton Balassi created FLINK-31303: -- Summary: k8s operator should gather job cpu and memory utilization metrics Key: FLINK-31303 URL: https://issues.apache.org/jira/browse/FLINK-31303 Project: Flink

[jira] [Created] (FLINK-31302) Split spark modules according to version

2023-03-02 Thread yuzelin (Jira)
yuzelin created FLINK-31302: --- Summary: Split spark modules according to version Key: FLINK-31302 URL: https://issues.apache.org/jira/browse/FLINK-31302 Project: Flink Issue Type: Improvement

[jira] [Created] (FLINK-31301) Unsupported nested columns in column list of insert statement

2023-03-02 Thread lincoln lee (Jira)
lincoln lee created FLINK-31301: --- Summary: Unsupported nested columns in column list of insert statement Key: FLINK-31301 URL: https://issues.apache.org/jira/browse/FLINK-31301 Project: Flink

[jira] [Created] (FLINK-31300) TRY_CAST fails for constructed types

2023-03-02 Thread Sergey Nuyanzin (Jira)
Sergey Nuyanzin created FLINK-31300: --- Summary: TRY_CAST fails for constructed types Key: FLINK-31300 URL: https://issues.apache.org/jira/browse/FLINK-31300 Project: Flink Issue Type: Bug

Re: [DISCUSS] FLIP-299 Pub/Sub Lite Connector

2023-03-02 Thread Daniel Collins
Hello Ryan, Unfortunately there's not much shared logic between the two- the clients have to look fundamentally different since the Pub/Sub Lite client exposes partitions to the split level for repeatable reads. I have no objection to this living in the same repo as the Pub/Sub connector, if this

[jira] [Created] (FLINK-31299) PendingRecords metric might not be available

2023-03-02 Thread Maximilian Michels (Jira)
Maximilian Michels created FLINK-31299: -- Summary: PendingRecords metric might not be available Key: FLINK-31299 URL: https://issues.apache.org/jira/browse/FLINK-31299 Project: Flink Issu

Re: [DISCUSS] FLIP-293: Introduce Flink Jdbc Driver For Sql Gateway

2023-03-02 Thread Shammon FY
Hi Thanks for the feedback from Jingsong and Benchao. For @Jingsong > If the user does not cast into a FlinkResultSet, will there be serious consequences here (RowKind is ignored)? I agree with you that it's indeed a big deal if users ignore the row kind when they must know it. One idea that com

[jira] [Created] (FLINK-31298) ConnectionUtilsTest.testFindConnectingAddressWhenGetLocalHostThrows swallows IllegalArgumentException

2023-03-02 Thread Matthias Pohl (Jira)
Matthias Pohl created FLINK-31298: - Summary: ConnectionUtilsTest.testFindConnectingAddressWhenGetLocalHostThrows swallows IllegalArgumentException Key: FLINK-31298 URL: https://issues.apache.org/jira/browse/FLINK

[jira] [Created] (FLINK-31297) FineGrainedSlotManagerTest.testTaskManagerRegistrationDeductPendingTaskManager untable when running it a single time

2023-03-02 Thread Matthias Pohl (Jira)
Matthias Pohl created FLINK-31297: - Summary: FineGrainedSlotManagerTest.testTaskManagerRegistrationDeductPendingTaskManager untable when running it a single time Key: FLINK-31297 URL: https://issues.apache.org/ji

Re: [VOTE] Release 1.15.4, release candidate #1

2023-03-02 Thread Yu Li
+1 (binding) - Checked the diff between 1.15.3 and 1.15.4-rc1: *OK* ( https://github.com/apache/flink/compare/release-1.15.3...release-1.15.4-rc1) - AWS SDKv2 version has been bumped to 2.19.14 through FLINK-30633 and all NOTICE files updated correctly - Checked release notes: *OK* - Checked

Re: [DISCUSS] FLIP-299 Pub/Sub Lite Connector

2023-03-02 Thread Ryan Skraba
Hello Daniel! Quite a while ago, I started porting the Pub/Sub connector (from an existing PR) to the new source API in the new flink-connector-gcp-pubsub repository [PR2]. As Martijn mentioned, there hasn't been a lot of attention on this connector; any community involvement would be appreciated

[DISCUSS] PRs in flink-ci/flink-mirror

2023-03-02 Thread Matthias Pohl
Hi everyone, Weihua Hu [1] notified me of a section in Flink's Azure Pipeline documentation [2] where it's suggested to create PRs against flink-ci/mirror as a workaround if you're not having a private Azure Pipeline account and want to run CI with your code changes. Even though it's a viable solut

Re: [VOTE] Flink minor version support policy for old releases

2023-03-02 Thread Jingsong Li
+1 (binding) On Thu, Mar 2, 2023 at 1:30 PM Yu Li wrote: > > +1 (binding) > > Best Regards, > Yu > > > On Thu, 2 Mar 2023 at 09:53, Jark Wu wrote: > > > +1 (binding) > > > > Best, > > Jark > > > > > 2023年3月2日 05:03,Gyula Fóra 写道: > > > > > > +1 (binding) > > > > > > Gyula > > > > > > On Wed, Ma