[GitHub] flink pull request #3039: [FLINK-5280] Update TableSource to support nested ...

2016-12-23 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/3039#discussion_r93758640 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/schema/FlinkTable.scala --- @@ -44,14 +44,14 @@ abstract class FlinkTable[T

[GitHub] flink pull request #3039: [FLINK-5280] Update TableSource to support nested ...

2016-12-23 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/3039#discussion_r93755631 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala --- @@ -535,4 +509,74 @@ object TableEnvironment

[GitHub] flink pull request #3038: [FLINK-5385] [core] Add a help function to create ...

2016-12-22 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/3038#discussion_r93594267 --- Diff: flink-core/src/main/java/org/apache/flink/types/Row.java --- @@ -113,4 +113,30 @@ public boolean equals(Object o) { public int hashCode

[GitHub] flink pull request #3038: [FLINK-5385] [core] Add a help function to create ...

2016-12-21 Thread wuchong
GitHub user wuchong opened a pull request: https://github.com/apache/flink/pull/3038 [FLINK-5385] [core] Add a help function to create Row Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration. If

[GitHub] flink issue #3020: [FLINK-5348] [core] Support custom field names for RowTyp...

2016-12-21 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/3020 Thank you @fhueske , I think your points are very good. And I changed my code according to your suggestions. --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] flink pull request #3020: [FLINK-5348] [core] Support custom field names for...

2016-12-21 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/3020#discussion_r93566506 --- Diff: flink-core/src/main/java/org/apache/flink/api/java/typeutils/RowTypeInfo.java --- @@ -54,6 +76,152 @@ public RowTypeInfo(TypeInformation... types

[GitHub] flink pull request #3020: [FLINK-5348] [core] Support custom field names for...

2016-12-21 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/3020#discussion_r93566058 --- Diff: flink-core/src/main/java/org/apache/flink/api/java/typeutils/RowTypeInfo.java --- @@ -54,6 +76,152 @@ public RowTypeInfo(TypeInformation... types

[GitHub] flink pull request #3027: [FLINK-5358] add RowTypeInfo exctraction in TypeEx...

2016-12-19 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/3027#discussion_r93159119 --- Diff: flink-core/src/test/java/org/apache/flink/api/java/typeutils/TypeExtractorTest.java --- @@ -345,8 +346,22 @@ public CustomType cross(CustomType

[GitHub] flink pull request #3027: [FLINK-5358] add RowTypeInfo exctraction in TypeEx...

2016-12-19 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/3027#discussion_r93159264 --- Diff: flink-core/src/test/java/org/apache/flink/api/java/typeutils/TypeExtractorTest.java --- @@ -345,8 +346,22 @@ public CustomType cross(CustomType

[GitHub] flink issue #3020: [FLINK-5348] [core] Support custom field names for RowTyp...

2016-12-16 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/3020 Hi @tonycox , the field names of RowTypeInfo are guaranteed to be unique. So I think `getFieldIndex ` is fine with it. Do you have special case which `getFieldIndex` give a wrong result ? --- If

[GitHub] flink pull request #3020: [FLINK-5348] [core] Support custom field names for...

2016-12-16 Thread wuchong
GitHub user wuchong opened a pull request: https://github.com/apache/flink/pull/3020 [FLINK-5348] [core] Support custom field names for RowTypeInfo Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration

[GitHub] flink issue #2968: [FLINK-5187] [core] Create analog of Row and RowTypeInfo ...

2016-12-12 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2968 Hi @fhueske , thanks for reviewing. I have addressed the comments. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project

[GitHub] flink pull request #2968: [FLINK-5187] [core] Create analog of Row and RowTy...

2016-12-12 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2968#discussion_r91953233 --- Diff: flink-core/src/main/java/org/apache/flink/types/Row.java --- @@ -0,0 +1,110 @@ +/* + * Licensed to the Apache Software Foundation (ASF

[GitHub] flink issue #2968: [FLINK-5187] [core] Create analog of Row and RowTypeInfo ...

2016-12-12 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2968 Hi @tonycox , I agree we should move `RowCsvInputFormat` also. But I think it would be better to do that in another JIRA like FLINK-5188. Let's keep this PR simple so that it can be in befor

[GitHub] flink pull request #2968: [FLINK-5187] [core] Create analog of Row and RowTy...

2016-12-12 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2968#discussion_r91902644 --- Diff: flink-core/src/main/java/org/apache/flink/types/Row.java --- @@ -0,0 +1,110 @@ +/* + * Licensed to the Apache Software Foundation (ASF

[GitHub] flink pull request #2978: [FLINK-5304] [table] Change method name from cross...

2016-12-09 Thread wuchong
GitHub user wuchong opened a pull request: https://github.com/apache/flink/pull/2978 [FLINK-5304] [table] Change method name from crossApply to join in Table API Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into

[GitHub] flink pull request #2968: [FLINK-5187] [core] Create analog of Row and RowTy...

2016-12-09 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2968#discussion_r91690748 --- Diff: flink-core/src/main/java/org/apache/flink/api/java/typeutils/RowTypeInfo.java --- @@ -0,0 +1,202 @@ +/* + * Licensed to the Apache

[GitHub] flink issue #2968: [FLINK-5187] [core] Create analog of Row and RowTypeInfo ...

2016-12-08 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2968 Hi @tonycox , thanks for your reviewing. I addressed some of your comments. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] flink pull request #2968: [FLINK-5187] [core] Create analog of Row and RowTy...

2016-12-08 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2968#discussion_r91652189 --- Diff: flink-core/src/main/java/org/apache/flink/api/java/typeutils/runtime/RowComparator.java --- @@ -0,0 +1,698 @@ +/* + * Licensed to the

[GitHub] flink pull request #2968: [FLINK-5187] [core] Create analog of Row and RowTy...

2016-12-08 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2968#discussion_r91652223 --- Diff: flink-core/src/main/java/org/apache/flink/api/java/typeutils/runtime/RowComparator.java --- @@ -0,0 +1,698 @@ +/* + * Licensed to the

[GitHub] flink pull request #2968: [FLINK-5187] [core] Create analog of Row and RowTy...

2016-12-08 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2968#discussion_r91652178 --- Diff: flink-core/src/main/java/org/apache/flink/api/java/typeutils/RowTypeInfo.java --- @@ -0,0 +1,176 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #2968: [FLINK-5187] [core] Create analog of Row and RowTy...

2016-12-08 Thread wuchong
GitHub user wuchong opened a pull request: https://github.com/apache/flink/pull/2968 [FLINK-5187] [core] Create analog of Row and RowTypeInfo and RowCompator in core Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list

[GitHub] flink pull request #2956: [FLINK-5223] [doc] Add documentation of UDTF in Ta...

2016-12-07 Thread wuchong
GitHub user wuchong opened a pull request: https://github.com/apache/flink/pull/2956 [FLINK-5223] [doc] Add documentation of UDTF in Table API & SQL Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into considera

[GitHub] flink issue #2653: [FLINK-4469] [table] Add support for user defined table f...

2016-12-06 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2653 Thanks @twalthr , I will add the documentation ASAP. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] flink issue #2653: [FLINK-4469] [table] Add support for user defined table f...

2016-12-05 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2653 Hi @fhueske @twalthr , I have updated the PR, please review it again when you are available. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] flink pull request #2938: [FLINK-4692] [tableApi] Add tumbling group-windows...

2016-12-05 Thread wuchong
GitHub user wuchong opened a pull request: https://github.com/apache/flink/pull/2938 [FLINK-4692] [tableApi] Add tumbling group-windows for batch tables Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-12-01 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r90583213 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/TableFunctionCall.scala --- @@ -0,0 +1,110 @@ +/* + * Licensed to

[GitHub] flink pull request #2921: [FLINK-5185] [Table API & SQL] Decouple BatchTable...

2016-12-01 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2921#discussion_r90582677 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchTableSourceScan.scala --- @@ -32,18 +31,20 @@ class

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-12-01 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r90582259 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/TableFunction.scala --- @@ -0,0 +1,121 @@ +/* + * Licensed

[GitHub] flink pull request #2921: [FLINK-5185] [Table API & SQL] Decouple BatchTable...

2016-12-01 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2921#discussion_r90576889 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchTableSourceScan.scala --- @@ -32,18 +31,20 @@ class

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-12-01 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r90478025 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/codegen/CodeGenerator.scala --- @@ -334,18 +337,33 @@ class CodeGenerator

[GitHub] flink issue #2653: [FLINK-4469] [table] Add support for user defined table f...

2016-11-30 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2653 Hi @fhueske @twalthr , could you have a look at this PR again ? I have fix the conflicts again and squashed the commits. --- If your project is set up for it, you can reply to this email and have

[GitHub] flink issue #2810: [FLINK-3848] Add ProjectableTableSource interface and tra...

2016-11-28 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2810 Hi @tonycox , thanks for the update. I'm thinking of an idea that `StreamProjectableTableSourceScan` seems duplicate with `StreamTableSourceScan`, why not reuse the `StreamTableSourceScan` wi

[GitHub] flink issue #2653: [FLINK-4469] [table] Add support for user defined table f...

2016-11-28 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2653 Hi @fhueske @twalthr , I have addressed all the comments and made the following changes: 1. Forbid TableFunction implemented by Scala object, since the `collect` is called on a singleton

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89670370 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/dataSet/BatchProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671607 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/datastream/StreamProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671603 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/dataSet/BatchProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89246478 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/sources/ProjectableTableSource.scala --- @@ -0,0 +1,32

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671537 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/StreamProjectableTableSourceScan.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671731 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/datastream/StreamProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671523 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchProjectableTableSourceScan.scala --- @@ -0,0 +1,74

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671437 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/dataSet/BatchProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671462 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchProjectableTableSourceScan.scala --- @@ -0,0 +1,74

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671175 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/dataSet/BatchProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89670435 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/dataSet/BatchProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89246193 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/StreamProjectableTableSourceScan.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671556 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchProjectableTableSourceScan.scala --- @@ -0,0 +1,74

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671180 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/datastream/StreamProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671736 --- Diff: flink-libraries/flink-table/src/test/scala/org/apache/flink/api/scala/batch/TableSourceITCase.scala --- @@ -131,6 +101,33 @@ class

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89670471 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/datastream/StreamProjectableTableSourceScanRule.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671544 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/StreamProjectableTableSourceScan.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89246096 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/StreamProjectableTableSourceScan.scala --- @@ -0,0

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-26 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89671128 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/sources/CsvTableSource.scala --- @@ -102,11 +107,43 @@ class CsvTableSource

[GitHub] flink issue #2810: [FLINK-3848] Add ProjectableTableSource interface and tra...

2016-11-25 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2810 Hi @tonycox , the overall change looks good to me. I will do more thorough review in this weekend. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] flink issue #2653: [FLINK-4469] [table] Add support for user defined table f...

2016-11-22 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2653 Regarding to the mixing parser Expression and Logical Node, how about to create a `LogicalParser` which is used to parse string to LogicalNode ? This can separate expressions and logical nodes, and

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-22 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r89124951 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/utils/UserDefinedFunctionUtils.scala --- @@ -162,24 +191,107

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-22 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r89124491 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/utils/UserDefinedFunctionUtils.scala --- @@ -162,24 +191,107

[GitHub] flink issue #2810: [FLINK-3848] Add ProjectableTableSource interface and tra...

2016-11-22 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2810 Hi @tonycox , the [`RowCsvInputFormat`](https://github.com/apache/flink/blob/master/flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/runtime/io/RowCsvInputFormat.scala#L100

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-22 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89090976 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchTableProject.scala --- @@ -0,0 +1,67

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-22 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r89091052 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/sources/ProjectableTableSource.scala --- @@ -0,0 +1,32

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-21 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r88869401 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchTableProject.scala --- @@ -0,0 +1,67

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-21 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r88844164 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchTableProject.scala --- @@ -0,0 +1,67

[GitHub] flink issue #2758: [FLINK-4260] Support specifying ESCAPE character in LIKE ...

2016-11-20 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2758 Great ! The PR looks good to me now, thank you for your contribution ! +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] flink issue #2758: [FLINK-4260] Support specifying ESCAPE character in LIKE ...

2016-11-20 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2758 The Travis CI has failed because of `BuiltInMethods` line length, could you fix this ? ``` [INFO] --- scalastyle-maven-plugin:0.8.0:check (default) @ flink-table_2.10 --- error

[GitHub] flink issue #2758: [FLINK-4260] Support specifying ESCAPE character in LIKE ...

2016-11-20 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2758 It would be great if you can rebase your branch and resolve the conflict. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-20 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r88796985 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/runtime/aggregate/IncrementalAggregateReduceFunction.scala --- @@ -0,0 +1,69

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-19 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r88778110 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/runtime/aggregate/IncrementalAggregateReduceFunction.scala --- @@ -0,0 +1,69

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-18 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88622767 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/TableFunction.scala --- @@ -0,0 +1,119 @@ +/* + * Licensed

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-18 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88617248 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/validate/FunctionCatalog.scala --- @@ -47,13 +52,50 @@ class FunctionCatalog

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-18 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88617192 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/table.scala --- @@ -611,6 +612,130 @@ class Table

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-18 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88617047 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/schema/FlinkTableFunctionImpl.scala --- @@ -0,0 +1,77

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-18 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88615712 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/DataSetCorrelate.scala --- @@ -0,0 +1,136

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-18 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88614416 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/logical/call.scala --- @@ -0,0 +1,169 @@ +/* + * Licensed to

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-18 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88614200 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/utils/UserDefinedFunctionUtils.scala --- @@ -162,24 +191,107

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r88591860 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/StreamTableProject.scala --- @@ -0,0 +1,67

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r88592516 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchTableProject.scala --- @@ -0,0 +1,67

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r88609838 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/sources/ProjectableTableSource.scala --- @@ -0,0 +1,32

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r88591928 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/dataSet/BatchTableSourceProjectRule.scala --- @@ -0,0 +1,81

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r88591967 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/datastream/StreamTableSourceProjectRule.scala --- @@ -0,0 +1,82

[GitHub] flink pull request #2810: [FLINK-3848] Add ProjectableTableSource interface ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2810#discussion_r88591760 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/dataset/BatchTableProject.scala --- @@ -0,0 +1,67

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88594602 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/java/table/BatchTableEnvironment.scala --- @@ -162,4 +165,24 @@ class

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88594496 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/utils/TableSqlFunction.scala --- @@ -0,0 +1,99

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88594489 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/utils/TableSqlFunction.scala --- @@ -0,0 +1,99

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88594410 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/java/table/StreamTableEnvironment.scala --- @@ -164,4 +167,24 @@ class

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88594421 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/codegen/CodeGenerator.scala --- @@ -542,11 +563,14 @@ class CodeGenerator

[GitHub] flink issue #2653: [FLINK-4469] [table] Add support for user defined table f...

2016-11-17 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2653 Thank you @fhueske @twalthr for the review, I will update the PR in this weekend. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88593490 --- Diff: flink-libraries/flink-table/pom.xml --- @@ -154,6 +154,10 @@ under the License. maven-shade-plugin

[GitHub] flink issue #2653: [FLINK-4469] [table] Add support for user defined table f...

2016-11-17 Thread wuchong
Github user wuchong commented on the issue: https://github.com/apache/flink/pull/2653 Hi @fhueske , you mentioned two ways to reduce IT cases. One is comparing the logical plans of two tables, this can reduce Java IT cases. Another is using `TableTestBase` tool to write unit tests

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88406551 --- Diff: flink-libraries/flink-table/src/test/java/org/apache/flink/api/java/batch/UserDefinedTableFunctionITCase.java --- @@ -0,0 +1,201

[GitHub] flink pull request #2653: [FLINK-4469] [table] Add support for user defined ...

2016-11-17 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2653#discussion_r88406527 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/functions/TableFunction.scala --- @@ -0,0 +1,119 @@ +/* + * Licensed

[GitHub] flink pull request #2758: [FLINK-4260] Support specifying ESCAPE character i...

2016-11-15 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2758#discussion_r87993759 --- Diff: flink-libraries/flink-table/src/test/java/org/apache/flink/api/java/batch/sql/SqlITCase.java --- @@ -118,4 +119,39 @@ public void testJoin

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87693820 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/DataStreamAggregate.scala --- @@ -103,19 +103,12

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87693902 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/runtime/aggregate/AggregateUtil.scala --- @@ -61,25 +61,108 @@ object

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87693746 --- Diff: flink-libraries/flink-table/src/test/scala/org/apache/flink/api/scala/stream/table/AggregationsITCase.scala --- @@ -177,6 +177,58 @@ class

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87693718 --- Diff: flink-libraries/flink-table/src/test/scala/org/apache/flink/api/scala/stream/table/AggregationsITCase.scala --- @@ -177,6 +177,58 @@ class

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87693848 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/runtime/aggregate/AggregateUtil.scala --- @@ -61,25 +61,108 @@ object

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87706978 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/DataStreamAggregate.scala --- @@ -135,50 +130,124

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87708469 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/runtime/aggregate/AggregateUtil.scala --- @@ -61,25 +61,108 @@ object

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87707411 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/DataStreamAggregate.scala --- @@ -194,9 +263,10

[GitHub] flink pull request #2792: [FLINK-4937] [Table] Add incremental group window ...

2016-11-13 Thread wuchong
Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2792#discussion_r87707098 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/nodes/datastream/DataStreamAggregate.scala --- @@ -135,50 +130,124

<    1   2   3   4   5   6   7   >