[jira] [Created] (FLINK-36004) Flink SQL returns wrong results for Paimon tables with complex schemas

2024-08-07 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-36004: --- Summary: Flink SQL returns wrong results for Paimon tables with complex schemas Key: FLINK-36004 URL: https://issues.apache.org/jira/browse/FLINK-36004 Project: Flink

[jira] [Created] (FLINK-35935) CREATE TABLE AS doesn't work with LIMIT

2024-07-30 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-35935: --- Summary: CREATE TABLE AS doesn't work with LIMIT Key: FLINK-35935 URL: https://issues.apache.org/jira/browse/FLINK-35935 Project: Flink Issue Type

[jira] [Created] (FLINK-35486) Potential sql expression generation issues on SQL gateway

2024-05-29 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-35486: --- Summary: Potential sql expression generation issues on SQL gateway Key: FLINK-35486 URL: https://issues.apache.org/jira/browse/FLINK-35486 Project: Flink

[jira] [Created] (FLINK-35485) JobMaster failed with "the job xx has not been finished"

2024-05-29 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-35485: --- Summary: JobMaster failed with "the job xx has not been finished" Key: FLINK-35485 URL: https://issues.apache.org/jira/browse/FLINK-35485 Project: Flink

[jira] [Created] (FLINK-34926) Adaptive auto parallelism doesn't work for a query

2024-03-24 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-34926: --- Summary: Adaptive auto parallelism doesn't work for a query Key: FLINK-34926 URL: https://issues.apache.org/jira/browse/FLINK-34926 Project: Flink Issue

[jira] [Created] (FLINK-34723) Parquet writer should restrict map keys to be not null

2024-03-18 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-34723: --- Summary: Parquet writer should restrict map keys to be not null Key: FLINK-34723 URL: https://issues.apache.org/jira/browse/FLINK-34723 Project: Flink Issue

[jira] [Created] (FLINK-34633) Support unnesting array constants

2024-03-08 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-34633: --- Summary: Support unnesting array constants Key: FLINK-34633 URL: https://issues.apache.org/jira/browse/FLINK-34633 Project: Flink Issue Type: New Feature

[jira] [Created] (FLINK-34583) Bug for dynamic table option hints with multiple CTEs

2024-03-05 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-34583: --- Summary: Bug for dynamic table option hints with multiple CTEs Key: FLINK-34583 URL: https://issues.apache.org/jira/browse/FLINK-34583 Project: Flink Issue

Re: SQL return type change from 1.17 to 1.18

2023-12-07 Thread Xingcan Cui
Hi, Thanks for bringing this up, Peter. I'm +1 for reverting the change. Best, Xingcan On Thu, Dec 7, 2023 at 10:40 AM Martijn Visser wrote: > Hi all, > > Agree with what has been said already. I've marked > https://issues.apache.org/jira/browse/FLINK-33523 as a block

[jira] [Created] (FLINK-33547) Primitive SQL array type after upgrading to Flink 1.18.0

2023-11-14 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-33547: --- Summary: Primitive SQL array type after upgrading to Flink 1.18.0 Key: FLINK-33547 URL: https://issues.apache.org/jira/browse/FLINK-33547 Project: Flink Issue

Re: Projection pushdown for Avro files seems to be buggy

2023-08-06 Thread Xingcan Cui
After rechecking it, I realized that some of my changes broke the expected schema passed to GenericDatumReader#getResolver. The logic in Flink codebase is okay and we should only read a portion of the Avro record. Thanks, Xingcan On Sun, Aug 6, 2023 at 2:31 PM liu ron wrote: > Hi, Xing

Projection pushdown for Avro files seems to be buggy

2023-08-05 Thread Xingcan Cui
row.setField(i, fieldConverters[i].convert(record.get(i))); } return row; }; ``` Not sure if any of you hit this before. If it's confirmed to be a bug, I'll file a ticket and try to fix it. Best, Xingcan

[jira] [Created] (FLINK-32171) Add PostStart hook to flink k8s operator helm

2023-05-23 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-32171: --- Summary: Add PostStart hook to flink k8s operator helm Key: FLINK-32171 URL: https://issues.apache.org/jira/browse/FLINK-32171 Project: Flink Issue Type: New

Re: Large schemas lead to long DataStream-to-table transformation names

2023-03-06 Thread Xingcan Cui
Oh, I just realized that FLIP-195 has already solved this. We'll upgrade our Flink version to 1.15+. Thanks! On Mon, Mar 6, 2023 at 10:08 AM Xingcan Cui wrote: > Hi Jark, > > Yes. I believe field names of the table would be enough to describe the > conversion operator. I'

Re: Large schemas lead to long DataStream-to-table transformation names

2023-03-06 Thread Xingcan Cui
Hi Jark, Yes. I believe field names of the table would be enough to describe the conversion operator. I'll try to improve this. Best, Xingcan On Sun, Mar 5, 2023 at 9:18 PM Jark Wu wrote: > Hi Xingcan, > > I think `physicalDataType.toString()` is indeed verbose in this case.

Large schemas lead to long DataStream-to-table transformation names

2023-03-03 Thread Xingcan Cui
e the name (works for nested schemas). What do you think? Best, Xingcan

[jira] [Created] (FLINK-31021) JavaCodeSplitter doesn't split static method properly

2023-02-10 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-31021: --- Summary: JavaCodeSplitter doesn't split static method properly Key: FLINK-31021 URL: https://issues.apache.org/jira/browse/FLINK-31021 Project: Flink

Re: Argo CD health check for FlinkDeployment

2022-11-16 Thread Xingcan Cui
Hi Gyula, Thanks for the explanation! The distinction between Flink jobs and FlinkDeployments makes sense! I'll try to make some changes to Argo CD and hopefully can get some review from you or other Flink-K8s-op contributors then. Best, Xingcan On Wed, Nov 16, 2022 at 10:40 AM Gyula

Argo CD health check for FlinkDeployment

2022-11-16 Thread Xingcan Cui
e health checking logic is coupled with the state fields, I'm curious if they are stable now. 3. Can we apply the same logic to "FlinkSessionJob"? Thanks, Xingcan

Re: Support decimal types with larger precisions

2021-08-30 Thread Xingcan Cui
declared without any precision constraints). A user-defined numeric type converter would solve the problem! Thanks, Xingcan On Mon, Aug 30, 2021 at 11:46 PM Jingsong Li wrote: > Hi Xingcan, > > As a workaround, can we convert large decimal to varchar? > > If Flink SQL wants t

Re: Support decimal types with larger precisions

2021-08-30 Thread Xingcan Cui
ER in Oracle[1]), but in Flink, we must explicitly specify the precision and scale. Cc Jark, do you think this is a problem for flink-cdc-connectors? Best, Xingcan [1] https://docs.oracle.com/cd/B28359_01/server.111/b28318/datatype.htm#CNCPT313 On Mon, Aug 30, 2021 at 4:12 AM Timo Walther

Support decimal types with larger precisions

2021-08-27 Thread Xingcan Cui
values in it could potentially be very large. As DecimalType is backed by Java BigDecimal, I wonder if we should extend the precision range. Best, Xingcan

[jira] [Created] (FLINK-24007) Support Avro timestamp conversion with precision greater than three

2021-08-26 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-24007: --- Summary: Support Avro timestamp conversion with precision greater than three Key: FLINK-24007 URL: https://issues.apache.org/jira/browse/FLINK-24007 Project: Flink

Re: [VOTE] FLIP-136: Improve interoperability between DataStream and Table API

2020-09-28 Thread Xingcan Cui
+1 (binding) Thanks, Xingcan On Thu, Sep 24, 2020 at 4:52 AM Jark Wu wrote: > +1 (binding) > > Best, > Jark > > On Thu, 24 Sep 2020 at 16:22, Jingsong Li wrote: > > > +1 (binding) > > > > Best, > > Jingsong > > > > On Thu, Sep 24,

Re: [ANNOUNCE] New PMC member: Piotr Nowojski

2020-07-08 Thread Xingcan Cui
Congratulations, Piotr! Best, Xingcan On Wed, Jul 8, 2020, 21:53 Yang Wang wrote: > Congratulations Piotr! > > > Best, > Yang > > Dan Zou 于2020年7月8日周三 下午10:36写道: > > > Congratulations! > > > > Best, > > Dan Zou > > > > > 2020年7月8日 下午5:25,godfrey he 写道: > > > > > > Congratulations > > > > >

Re: FLIP 87: Primary key constraints in Table API

2019-11-23 Thread Xingcan Cui
Thanks for driving this, Dawid. I’m +1 on it. One minor suggestion: I think it’s better to override the `equals()` and `hashCode()` methods for `KeyConstraint`. Thanks, Xingcan > On Nov 23, 2019, at 2:40 AM, Jingsong Li wrote: > > +1 thanks dawid for driving this. > > Best

Re: [ANNOUNCE] Becket Qin joins the Flink PMC

2019-10-28 Thread Xingcan Cui
Congratulations, Becket! Best, Xingcan > On Oct 28, 2019, at 1:23 PM, Xuefu Z wrote: > > Congratulations, Becket! > > On Mon, Oct 28, 2019 at 10:08 AM Zhu Zhu wrote: > >> Congratulations Becket! >> >> Thanks, >> Zhu Zhu >> >> Peter H

[jira] [Created] (FLINK-13849) The back-pressure monitoring tab in Web UI may cause errors

2019-08-25 Thread Xingcan Cui (Jira)
Xingcan Cui created FLINK-13849: --- Summary: The back-pressure monitoring tab in Web UI may cause errors Key: FLINK-13849 URL: https://issues.apache.org/jira/browse/FLINK-13849 Project: Flink

Re: [DISCUSS] Enhance Support for Multicast Communication Pattern

2019-08-24 Thread Xingcan Cui
know, it’s an essential requirement for some sophisticated joining algorithms. Until now, the Flink non-equi joins can still only be executed single-threaded. If we'd like to make some improvements on this, we should first take some measures to support multicast pattern. Best, Xingcan [1]

Re: [ANNOUNCE] Jiangjie (Becket) Qin has been added as a committer to the Flink project

2019-07-18 Thread Xingcan Cui
Congrats Becket! Best, Xingcan On Thu, Jul 18, 2019, 07:17 Dian Fu wrote: > Congrats Becket! > > > 在 2019年7月18日,下午6:42,Danny Chan 写道: > > > >> Congratulations! > > > > Best, > > Danny Chan > > 在 2019年7月18日 +0800 PM6:29,Haibo Sun ,写道: > >

Re: Support InMemoryTableSink or support retraction in CsvTableSink

2019-07-15 Thread Xingcan Cui
. See [1][2] for an example. Best, Xingcan [1] https://github.com/apache/flink/blob/84eec21108f2c05fa872c9a3735457d73f75dc51/flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/runtime/stream/table/TableSinkITCase.scala#L647 <https://github.com/apache/flink/b

Re: [ANNOUNCE] Rong Rong becomes a Flink committer

2019-07-11 Thread Xingcan Cui
Congrats Rong! Best, Xingcan > On Jul 11, 2019, at 1:08 PM, Shuyi Chen wrote: > > Congratulations, Rong! > > On Thu, Jul 11, 2019 at 8:26 AM Yu Li <mailto:car...@gmail.com>> wrote: > Congratulations Rong! > > Best Regards, > Yu > >

Re: [VOTE] How to Deal with Split/Select in DataStream API

2019-07-08 Thread Xingcan Cui
Hi Aljoscha, Thanks for your response. With all this preliminary information collected, I’ll start a formal process. Thank everybody for your attention. Best, Xingcan > On Jul 8, 2019, at 10:17 AM, Aljoscha Krettek wrote: > > I think this would benefit from a FLIP, that neatly su

Re: [VOTE] How to Deal with Split/Select in DataStream API

2019-07-07 Thread Xingcan Cui
7;s no doubt that its concept has drifted. As the split/select is quite an ancient API, I cc'ed this to more members. It couldn't be better if you can share your opinions on this. Thanks, Xingcan [1] https://lists.apache.org/thread.html/f94ea5c97f96c705527dcc809b0e2b69e87a4c5d400cb7

[VOTE] How to Deal with Split/Select in DataStream API

2019-07-04 Thread Xingcan Cui
or but a different name) that can be used to replace the existing split/select. 3) Keep split/select but change the behavior/semantic to be "correct". Note that this is just a vote for gathering information, so feel free to participate and share your opinions. The voting time will end

Re: [ANNOUNCE] Jincheng Sun is now part of the Flink PMC

2019-06-24 Thread Xingcan Cui
Congratulations Jincheng and thanks for all you’ve done! Cheers, Xingcan > On Jun 25, 2019, at 1:59 AM, Tzu-Li (Gordon) Tai wrote: > > Congratulations Jincheng, great to have you on board :) > > Cheers, > Gordon > > On Tue, Jun 25, 2019, 11:31 AM Terry Wang wrot

Re: About Deprecating split/select for DataStream API

2019-06-18 Thread Xingcan Cui
DataStream API; + A more safely migration phase for users; - Users are forced to update their codes; - The contract of the API is still correct but is not valuable anymore; Welcome to give your supplement on the reasons and after collecting all the ideas, I'll start a voting thread. B

About Deprecating split/select for DataStream API

2019-06-15 Thread Xingcan Cui
they really need to be deprecated, we should at least mark the corresponding documentation for that : ) What do you think? Best, Xingcan [1] https://ci.apache.org/projects/flink/flink-docs-master/dev/stream/side_output.html <https://ci.apache.org/projects/flink/flink-docs-ma

[jira] [Created] (FLINK-12116) Args autocast will cause exception for plan transformation in TableAPI

2019-04-04 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-12116: --- Summary: Args autocast will cause exception for plan transformation in TableAPI Key: FLINK-12116 URL: https://issues.apache.org/jira/browse/FLINK-12116 Project: Flink

[jira] [Created] (FLINK-11769) The estimateDataTypesSize method in FlinkRelNode causes NPE for Multiset

2019-02-26 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-11769: --- Summary: The estimateDataTypesSize method in FlinkRelNode causes NPE for Multiset Key: FLINK-11769 URL: https://issues.apache.org/jira/browse/FLINK-11769 Project

Re: [DISCUSS] Contributing Chinese website and docs to Apache Flink

2019-02-12 Thread Xingcan Cui
ewing process and help translate the few lines in sync. Best, Xingcan > On Feb 12, 2019, at 7:04 AM, Jark Wu wrote: > > Hi @Sijie, > > Thank you for the valuable information. I will explore Docusaurus and > feedback here. > > Best, > Jark > > On Tue, 12 F

Re: [DISCUSS] Contributing Chinese website and docs to Apache Flink

2019-02-11 Thread Xingcan Cui
., the docs must be synced when a new version is to be released). Best, Xingcan > On Feb 11, 2019, at 6:23 AM, Jark Wu wrote: > > Hi Shaoxuan, > > Thank you for your feedback. > > If the author is not familiar with Chinese, he/she should create a > translation JIRA be

[jira] [Created] (FLINK-11227) The DescriptorProperties contains some bounds checking errors

2018-12-27 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-11227: --- Summary: The DescriptorProperties contains some bounds checking errors Key: FLINK-11227 URL: https://issues.apache.org/jira/browse/FLINK-11227 Project: Flink

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

2018-11-30 Thread Xingcan Cui
mechanisms for datasets with an identical schema but different contents here). After all, it’s the dataset rather than the dynamic table that need to be cached, right? Best, Xingcan > On Nov 30, 2018, at 10:57 AM, Becket Qin wrote: > > Hi Piotrek and Jark, > > Thanks for t

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

2018-11-22 Thread Xingcan Cui
enjoy the more interactive Table API, in case of a general and flexible enough service mechanism. Best, Xingcan > On Nov 22, 2018, at 10:16 AM, Xiaowei Jiang wrote: > > Relying on a callback for the temp table for clean up is not very reliable. > There is no guarantee that it will

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

2018-11-21 Thread Xingcan Cui
. IMO, compared to data storage, the cache could be volatile, which means it only works for (possibly?) accelerating and doesn’t need to absolutely guarantee the existence of DataSets/Tables. What do you think? Best, Xingcan > On Nov 21, 2018, at 5:44 AM, Ruidong Li wrote: > >

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

2018-11-20 Thread Xingcan Cui
this problem in a larger view, i.e., adding a `PersistentService` rather than a `TablePersistentService` (as described in the "Flink Services" section). Thanks, Xingcan [1] https://issues.apache.org/jira/browse/FLINK-1730 > On Nov 20, 2018, at 8:56 AM, Becket Qin wrote: > >

[jira] [Created] (FLINK-10684) Improve the CSV reading process

2018-10-25 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10684: --- Summary: Improve the CSV reading process Key: FLINK-10684 URL: https://issues.apache.org/jira/browse/FLINK-10684 Project: Flink Issue Type: Improvement

[jira] [Created] (FLINK-10463) Null literal cannot be properly parsed in Java Table API function call

2018-09-29 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10463: --- Summary: Null literal cannot be properly parsed in Java Table API function call Key: FLINK-10463 URL: https://issues.apache.org/jira/browse/FLINK-10463 Project: Flink

[jira] [Created] (FLINK-10323) A single backslash cannot be successfully parsed in Java Table API

2018-09-12 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10323: --- Summary: A single backslash cannot be successfully parsed in Java Table API Key: FLINK-10323 URL: https://issues.apache.org/jira/browse/FLINK-10323 Project: Flink

Re: [ANNOUNCE] New committer Gary Yao

2018-09-07 Thread Xingcan Cui
Congratulations, Gary! Xingcan > On Sep 7, 2018, at 11:20 PM, Hequn Cheng wrote: > > Congratulations Gary! > > Hequn > > On Fri, Sep 7, 2018 at 11:16 PM Matthias J. Sax wrote: > >> Congrats! >> >> On 09/07/2018 08:15 AM, Timo Walther wrote

[jira] [Created] (FLINK-10201) The batchTestUtil was mistakenly used in some stream sql tests

2018-08-22 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10201: --- Summary: The batchTestUtil was mistakenly used in some stream sql tests Key: FLINK-10201 URL: https://issues.apache.org/jira/browse/FLINK-10201 Project: Flink

Re: [DISCUSS][TABLE] How to handle empty delete for UpsertSource

2018-08-21 Thread Xingcan Cui
ling that maybe we should merge the retract message and upsert message into a unified “update message”. (Append Stream VS Update Stream). Best, Xingcan > On Aug 20, 2018, at 7:51 PM, Piotr Nowojski wrote: > > Hi, > > Thanks for bringing up this issue here. > > I’m not s

[jira] [Created] (FLINK-10108) DATE_FORMAT function in sql test throws a NumberFormatException

2018-08-09 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10108: --- Summary: DATE_FORMAT function in sql test throws a NumberFormatException Key: FLINK-10108 URL: https://issues.apache.org/jira/browse/FLINK-10108 Project: Flink

[jira] [Created] (FLINK-10049) Unify the processing logic for NULL arguments in SQL built-in functions

2018-08-03 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10049: --- Summary: Unify the processing logic for NULL arguments in SQL built-in functions Key: FLINK-10049 URL: https://issues.apache.org/jira/browse/FLINK-10049 Project: Flink

[jira] [Created] (FLINK-10014) Fix the decimal literal parameter problem for arithmetic functions in Table

2018-08-01 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10014: --- Summary: Fix the decimal literal parameter problem for arithmetic functions in Table Key: FLINK-10014 URL: https://issues.apache.org/jira/browse/FLINK-10014 Project

[jira] [Created] (FLINK-10009) Fix the casting problem for function TIMESTAMPADD in Table

2018-07-31 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10009: --- Summary: Fix the casting problem for function TIMESTAMPADD in Table Key: FLINK-10009 URL: https://issues.apache.org/jira/browse/FLINK-10009 Project: Flink

[jira] [Created] (FLINK-10008) Improve the LOG function in Table to support bases less than 1

2018-07-31 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-10008: --- Summary: Improve the LOG function in Table to support bases less than 1 Key: FLINK-10008 URL: https://issues.apache.org/jira/browse/FLINK-10008 Project: Flink

[jira] [Created] (FLINK-9977) Refine the docs for Table/SQL built-in functions

2018-07-26 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-9977: -- Summary: Refine the docs for Table/SQL built-in functions Key: FLINK-9977 URL: https://issues.apache.org/jira/browse/FLINK-9977 Project: Flink Issue Type

Re: Flink Query Optimizer

2018-07-13 Thread Xingcan Cui
optimization on large datasets or dynamic streams. You could first start from the Calcite query optimizer, and then try to make your own rules. Best, Xingcan > On Jul 14, 2018, at 11:55 AM, vino yang wrote: > > Hi Albert, > > First I guess the query optimizer you mentioned is ab

Re: [DISCUSS] Long-term goal of making flink-table Scala-free

2018-07-02 Thread Xingcan Cui
in a long-term. Thus as Timo suggested, keep the Scala codes in "flink-table-core" would be a compromise solution. 3) If the community makes the final decision, maybe any new features should be added in Java (regardless of the modules), in order to prevent the Scala codes from growing.

Re: Flink table api

2018-07-02 Thread Xingcan Cui
found here https://ci.apache.org/projects/flink/flink-docs-release-1.5/dev/table/tableApi.html#joins <https://ci.apache.org/projects/flink/flink-docs-release-1.5/dev/table/tableApi.html#joins>. Best, Xingcan > On Jul 2, 2018, at 4:49 PM, Amol S - iProgrammer > wrote: > >

Re: Field Grouping in Flink

2018-05-17 Thread Xingcan Cui
Hi Garvit, you can use the `keyBy()` method[1] to partition a stream like the field grouping in Storm. Best, Xingcan [1] https://ci.apache.org/projects/flink/flink-docs-master/dev/stream/operators/#datastream-transformations > On May 17, 2018, at 4:04 PM, Garvit Sharma wrote: >

Re: [ANNOUNCE] Two new committers: Xingcan Cui and Nico Kruber

2018-05-09 Thread Xingcan Cui
Thanks, everyone! It’s an honor which inspires me to devote more to our community. Regards, Xingcan > On May 10, 2018, at 2:06 AM, Peter Huang wrote: > > Congratulations Nico and Xingcan! > > On Wed, May 9, 2018 at 11:04 AM, Thomas Weise wrote: > >> Congrats! >&g

[jira] [Created] (FLINK-8897) Rowtime materialization causes "mismatched type" AssertionError

2018-03-08 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-8897: -- Summary: Rowtime materialization causes "mismatched type" AssertionError Key: FLINK-8897 URL: https://issues.apache.org/jira/browse/FLINK-8897 Proj

[jira] [Created] (FLINK-8880) Validate configurations for SQL Client

2018-03-06 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-8880: -- Summary: Validate configurations for SQL Client Key: FLINK-8880 URL: https://issues.apache.org/jira/browse/FLINK-8880 Project: Flink Issue Type: Sub-task

Re: Verifying watermarks in integration test

2018-03-01 Thread xingcan
assigners or the partitioning mechanisms used. Best, Xingcan > On 28 Feb 2018, at 5:46 AM, Thomas Weise wrote: > > Hi Xingcan, > > thanks, this is a good way of testing an individual operator. I had written > my own mock code to intercept source context and collect the results

Re: Verifying watermarks in integration test

2018-02-28 Thread Xingcan Cui
assigners or the partitioning mechanisms used. Best, Xingcan > On 28 Feb 2018, at 5:46 AM, Thomas Weise wrote: > > Hi Xingcan, > > thanks, this is a good way of testing an individual operator. I had written > my own mock code to intercept source context and collect the results

Re: Checkpointing Event Time Watermarks

2018-02-27 Thread Xingcan Cui
Hi Vijay, normally, maybe there’s no need to checkpoint the event times / watermarks since they are automatically generated based on the records. What’s your intention? Best, Xingcan > On 27 Feb 2018, at 8:50 PM, vijay kansal wrote: > > Hi All > > Is there a way to checkp

Re: [DISCUS] Flink SQL Client dependency management

2018-02-27 Thread Xingcan Cui
consider much about the dependencies. Best, Xingcan > On 27 Feb 2018, at 6:38 PM, Stephan Ewen wrote: > > My first intuition would be to go for approach #2 for the following reasons > > - I expect that in the long run, the scripts will not be that simple to > maintain. We

Re: Verifying watermarks in integration test

2018-02-21 Thread Xingcan Cui
Hi Thomas, some test cases in JoinHarnessTest <https://github.com/apache/flink/blob/release-1.4/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/runtime/harness/JoinHarnessTest.scala> show how to verify the emitted watermarks. Hope this helps. Best, Xingcan > On 21

[jira] [Created] (FLINK-8630) To support JSON schema to TypeInformation conversion

2018-02-10 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-8630: -- Summary: To support JSON schema to TypeInformation conversion Key: FLINK-8630 URL: https://issues.apache.org/jira/browse/FLINK-8630 Project: Flink Issue Type

Re: How to Join a dimension table in flink sql

2018-01-15 Thread Xingcan
ink-docs-release-1.4/dev/table/sql.html#joins>. Note that due to some reasons, the UDTF left outer join cannot support arbitrary conditions now. Hope that helps. Best, Xingcan On 15/01/2018 6:11 PM, XiangWei Huang wrote: Hi all, Is it possible to  join records read from a kafka stream with o

[jira] [Created] (FLINK-8407) Setting the parallelism after a partitioning operation should be forbidden

2018-01-10 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-8407: -- Summary: Setting the parallelism after a partitioning operation should be forbidden Key: FLINK-8407 URL: https://issues.apache.org/jira/browse/FLINK-8407 Project: Flink

[jira] [Created] (FLINK-8316) The CsvTableSink and the CsvInputFormat are not in sync

2017-12-23 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-8316: -- Summary: The CsvTableSink and the CsvInputFormat are not in sync Key: FLINK-8316 URL: https://issues.apache.org/jira/browse/FLINK-8316 Project: Flink Issue Type

[jira] [Created] (FLINK-8258) Enable query configuration for batch queries

2017-12-13 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-8258: -- Summary: Enable query configuration for batch queries Key: FLINK-8258 URL: https://issues.apache.org/jira/browse/FLINK-8258 Project: Flink Issue Type

[jira] [Created] (FLINK-8257) Unify the value checks for setParallelism()

2017-12-13 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-8257: -- Summary: Unify the value checks for setParallelism() Key: FLINK-8257 URL: https://issues.apache.org/jira/browse/FLINK-8257 Project: Flink Issue Type

Re: Test conflicts in JoinTest

2017-12-08 Thread Xingcan Cui
ll need to pay attention to it. Thanks, Xingcan On Fri, Dec 8, 2017 at 7:25 PM, Xingcan Cui wrote: > Hi all, > > Recently I'm trying to add some tests to > *org.apache.flink.table.api.stream.table.JoinTest*, but encountered a > strange problem. A test case could successfull

Test conflicts in JoinTest

2017-12-08 Thread Xingcan Cui
nt test cases since everything got fine when I changed their names (e.g., *ltime* => *lt* and *rtime* => *rt*) in one test case. Some global shared variables may be the cause. I wonder if anyone could give me some more specific clues about the problem. IMO, even with identical field names, the test cases should not interrelate with each other. Thanks, Xingcan

[jira] [Created] (FLINK-8094) Support other types for ExistingField rowtime extractor

2017-11-16 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-8094: -- Summary: Support other types for ExistingField rowtime extractor Key: FLINK-8094 URL: https://issues.apache.org/jira/browse/FLINK-8094 Project: Flink Issue Type

Re: [ANNOUNCE] New committer: Haohui Mai

2017-11-01 Thread Xingcan Cui
Congratulations! On Wed, Nov 1, 2017 at 9:37 PM, Kurt Young wrote: > Congrats and welcome on board! > > Best, > Kurt > > On Wed, Nov 1, 2017 at 8:15 PM, Hai Zhou wrote: > >> Congratulations! >> >> On 1. Nov 2017, at 10:13, Shaoxuan Wang wrote: >> >> Congratulations! >> >> On Wed, Nov 1, 2017 a

[jira] [Created] (FLINK-7865) Remove predicate restrictions on TableFunction left outer join

2017-10-18 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-7865: -- Summary: Remove predicate restrictions on TableFunction left outer join Key: FLINK-7865 URL: https://issues.apache.org/jira/browse/FLINK-7865 Project: Flink

[jira] [Created] (FLINK-7854) Reject lateral table outer joins with predicates in SQL

2017-10-16 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-7854: -- Summary: Reject lateral table outer joins with predicates in SQL Key: FLINK-7854 URL: https://issues.apache.org/jira/browse/FLINK-7854 Project: Flink Issue Type

[jira] [Created] (FLINK-7853) Reject table function outer joins with predicates in Table API

2017-10-16 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-7853: -- Summary: Reject table function outer joins with predicates in Table API Key: FLINK-7853 URL: https://issues.apache.org/jira/browse/FLINK-7853 Project: Flink

Re: [DISCUSS] Table API / SQL internal timestamp handling

2017-07-31 Thread Xingcan Cui
it is unnecessary to buffer so much data. That raises the question. What if the timestamps of the two streams are essentially “irreconcilable"? Best, Xingcan On Mon, Jul 31, 2017 at 10:42 PM, Shaoxuan Wang wrote: > Xingcan, > Watermark is the “estimate of completion”. User defines the

Re: [DISCUSS] Table API / SQL internal timestamp handling

2017-07-31 Thread Xingcan Cui
Hi Fabian, I got a similar question with Jark. Theoretically, the row times of two streams could be quite difference, e.g., one for today and the other one for yesterday. How can we align them? Best, Xingcan On Mon, Jul 31, 2017 at 9:04 PM, Fabian Hueske wrote: > Hi Jark, > >

Re: [DISCUSS] Table API / SQL internal timestamp handling

2017-07-27 Thread Xingcan Cui
tent, the randomness property determines that it should never be used in time-sensitive applications. I always believe in that all the information used for query evaluation should be acquired from data itself. Best, Xingcan On Thu, Jul 27, 2017 at 7:24 PM, Fabian Hueske wrote: > Hi Shaoxu

Re: [DISCUSS] Table API / SQL internal timestamp handling

2017-07-25 Thread Xingcan Cui
tween the old and new watermarks. Shall they be one-to-one mapping or the new watermarks could skip some timestamps? And (2) who is in charge of emitting the blocked watermarks, the operator or the process function? I'd like to hear from you. Best, Xingcan On Wed, Jul 26, 2017 at 10:40 A

[jira] [Created] (FLINK-7245) Enhance the operators to support holding back watermarks

2017-07-23 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-7245: -- Summary: Enhance the operators to support holding back watermarks Key: FLINK-7245 URL: https://issues.apache.org/jira/browse/FLINK-7245 Project: Flink Issue

[jira] [Created] (FLINK-6936) Add multiple targets support for custom partitioner

2017-06-16 Thread Xingcan Cui (JIRA)
Xingcan Cui created FLINK-6936: -- Summary: Add multiple targets support for custom partitioner Key: FLINK-6936 URL: https://issues.apache.org/jira/browse/FLINK-6936 Project: Flink Issue Type

Re: Proposal about inner join in Flink

2017-05-17 Thread Xingcan Cui
parallelism. Will it only be executed in a single thread? Thanks, Xingcan On Thu, May 18, 2017 at 11:40 AM, Hongyuhong wrote: > Hi Xingcan, > Thanks for the proposal. > I have glanced at the design document but not detailedly. The semantics of > Record-to-window Join is already in p

Proposal about inner join in Flink

2017-05-17 Thread Xingcan Cui
) thoughts about unifying the batch/stream query processing. I know there are lots of developers who are interested in this subject. Please share your ideas and all suggestions are welcome. Thanks, Xingcan

Re: Sliding Window - Weird behaviour

2017-04-13 Thread Xingcan Cui
processes execute independently and that's why the first record 1 triggered window accumulation in you example. Hope this helps, Xingcan On Thu, Apr 13, 2017 at 4:43 PM, madhairsilence wrote: > I have a datastream > 1,2,3,4,5,6,7 > > I applied a sliding countWindow as &g

Re: Question about the process order in stream aggregate

2017-04-12 Thread Xingcan Cui
Hi, @Radu @Stefano, sorry that I misunderstood it before. We considered the problem from different viewpoints. I agree that (ingestion) timestamp injection could be a good solution for this problem in some scenarios. Thanks. @Fabian, thanks for your explanation. That makes sense. Best, Xingcan

Re: Question about the process order in stream aggregate

2017-04-11 Thread Xingcan Cui
time.SqlFunctions.internalToTimestamp(0L); } if (false) { out.setField(2, null); } else { out.setField(2, result$16); } ... Could you please help me explain what's the 0L timestamp mean? Best, Xingcan On Tue, Apr 11, 2017 at 8:40 PM, Radu Tudoran wrote: > Hi Xingcan, > > If

Question about the process order in stream aggregate

2017-04-10 Thread Xingcan Cui
" and "Order(3L, "diaper", 3)" are out of order. Is that normal? BTW, when I run `orderA.keyBy(2).map{x => x.amount + 1}.print()`, the order for them can always be preserved. Thanks, Xingcan

Re: [DISCUSS] Gelly planning for release 1.3 and roadmap

2017-03-02 Thread Xingcan Cui
when to release them (maybe Flink will also do the auto-release detection when a dataset will not be accessed any more). Graph computing on stream is really attractive and maybe we should find some use cases first. I am not sure if this paper [1] (and the corresponding project [2]) will help. Bes

Re: [Dev] Issue related to using Flink DataSet methods

2017-03-01 Thread Xingcan Cui
Hi Pawan, @Fabian was right and I thought it was stream environment. Sorry for that. What do you mean by `read the available records of my datasource`? How do you implement the nextRecord() method in DASInputFormat? Best, Xingcan On Wed, Mar 1, 2017 at 4:45 PM, Fabian Hueske wrote: >

Re: [Dev] Issue related to using Flink DataSet methods

2017-02-28 Thread Xingcan Cui
Hi Pawan, in Flink, most of the methods for DataSet (including print()) will just add operators to the plan but not really run it. If the DASInputFormat has no error, you can run the plan by calling environment.execute(). Best, Xingcan On Wed, Mar 1, 2017 at 12:17 PM, Pawan Manishka Gunarathna

Re: [DISCUSS] Table API / SQL indicators for event and processing time

2017-02-28 Thread Xingcan Cui
as to dynamically designate it in a SQL before) Best, Xingcan On Wed, Mar 1, 2017 at 5:35 AM, Fabian Hueske wrote: > Hi Jincheng Sun, > > registering watermark functions for different attributes to allow each of > them to be used in a window is an interesting idea. > > However, watermark

  1   2   >