You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/02/27 10:32:23 UTC

[GitHub] [flink] wuchong opened a new pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

wuchong opened a new pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236
 
 
   
   <!--
   *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
   
   *Please understand that we do not do this to make contributions to Flink a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.*
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue.
     
     - Name the pull request in the form "[FLINK-XXXX] [component] Title of the pull request", where *FLINK-XXXX* should be replaced by the actual issue number. Skip *component* if you are unsure about which is the best component.
     Typo fixes that have no associated JIRA issue should be named following this pattern: `[hotfix] [docs] Fix typo in event time introduction` or `[hotfix] [javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Make sure that the change passes the automated tests, i.e., `mvn clean verify` passes. You can set up Travis CI to do that following [this guide](https://flink.apache.org/contributing/contribute-code.html#open-a-pull-request).
   
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message (including the JIRA id)
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   ## What is the purpose of the change
   
   Fix schema of query and sink do not match when generic or POJO type is requested, e.g. `table.toAppendStream[MyPojo]`.
   
   ## Brief change log
   
   1. Generic type
     - Currently, we create a `LEGACY('RAW', ...)` type for generic type, however, after optimization, the type will be `RAW('MyPojo', ..)`. Then the type is mistach.
     - We should convert generic type info into `RAW(...)` at the begining.
   2.  POJO type
     - Currently, we infer sink schema from the PojoTypeInfo. However, the fields order may be mismatch with the query schema fields. 
     - We should generate sink schema using the types from PojoTypeInfo, but field order from query schema. 
   
   ## Verifying this change
   
   This change added a test which transforms a nested data type.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / **no**)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / **no**)
     - The serializers: (yes / **no** / don't know)
     - The runtime per-record code paths (performance sensitive): (yes / **no** / don't know)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
     - The S3 file system connector: (yes / **no** / don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes / **no**)
     - If yes, how is the feature documented? (**not applicable** / docs / JavaDocs / not documented)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7404df3a2130267c63a43d42398f08fd6ae09b0b Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150812081) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151556297",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5881",
       "triggerID" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151580589",
       "triggerID" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * ce440c8129607cd06f742fb0835da449f0456814 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/151556297) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875) 
   * ff034a88286bfc73d03ada3e74f4fb6b964cfffb Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/151580589) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5881) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386915554
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
+        case pj: PojoTypeInfo[_] => expandPojoTypeToSchema(pj, queryLogicalType)
+        case _ => DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      }
     } else {
       // atomic type
       TableSchema.builder().field("f0", requestedOutputType).build()
     }
   }
 
+  /**
 
 Review comment:
   There is not too much code can be shared (4 lines) and the logic is different: `SinkCodeGenerator` extracts a fields mapping, however, `TableSinkUtils` just extract the index.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386803945
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
+        case pj: PojoTypeInfo[_] => expandPojoTypeToSchema(pj, queryLogicalType)
+        case _ => DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      }
     } else {
       // atomic type
       TableSchema.builder().field("f0", requestedOutputType).build()
     }
   }
 
+  /**
 
 Review comment:
   BTW, don't reorder the nested data in `SinkCodeGenerator`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-593870419
 
 
   Thanks @JingsongLi , I updated the PR. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386802522
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
 
 Review comment:
   This is just for RawType? Can you add comment?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386970610
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
+        case pj: PojoTypeInfo[_] => expandPojoTypeToSchema(pj, queryLogicalType)
+        case _ => DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      }
     } else {
       // atomic type
       TableSchema.builder().field("f0", requestedOutputType).build()
     }
   }
 
+  /**
 
 Review comment:
   Just a minor suggestion.
   I not mean share codes, just put all pojo things together is better to understand.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * a82548bb1a4625f01ef9af16da11f6073832d957 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/151518548) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong merged pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong merged pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-594284462
 
 
   Travis is failed on flink-runtime-web which is not related to this changes. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386801819
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/codegen/SinkCodeGenerator.scala
 ##########
 @@ -83,8 +86,10 @@ object SinkCodeGenerator {
             inputRowType,
             inputTerm,
             inputFieldMapping = Option(mapping))
+        val outputBaseRowType = new BaseRowTypeInfo(
+          getCompositeTypes(pojo).map(fromTypeInfoToLogicalType): _*)
         val conversion = resultGenerator.generateConverterResultExpression(
-          inputRowType,
 
 Review comment:
   Ah... Yes, it is return type instead of inputType.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591899644
 
 
   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 (Fri Feb 28 21:49:46 UTC 2020)
   
   **Warnings:**
    * No documentation files were touched! Remember to keep the Flink docs up to date!
   
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-595066832
 
 
   Hi @JingsongLi , `LocalDateTime` will be converted into `DataTypes.TIMESTAMP(3).bridgedTo(LocalDateTime.class)`, so all the supported external types will not be converted into Raw type. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386897822
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
 
 Review comment:
   This is for Pojo type. We have to compare query schema with POJO sink schema by field names instead of field indexes. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] JingsongLi commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
JingsongLi commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-594416760
 
 
   Some concerns, will `legacyRawToTypeInfoRaw` convert supported types to Raw type? Like `LocalDateTime`?
   Maybe you can use blink converters first, and then use `legacyRawToTypeInfoRaw`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591899644
 
 
   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit 7404df3a2130267c63a43d42398f08fd6ae09b0b (Thu Feb 27 10:35:48 UTC 2020)
   
   **Warnings:**
    * No documentation files were touched! Remember to keep the Flink docs up to date!
   
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151556297",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * a82548bb1a4625f01ef9af16da11f6073832d957 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/151518548) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862) 
   * ce440c8129607cd06f742fb0835da449f0456814 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/151556297) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386897896
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
 
 Review comment:
   I will add a comment. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386917154
 
 

 ##########
 File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/utils/LegacyTypeInfoDataTypeConverter.java
 ##########
 @@ -181,6 +182,10 @@ else if (typeInfo instanceof CompositeType) {
 			return createLegacyType(LogicalTypeRoot.STRUCTURED_TYPE, typeInfo);
 		}
 
+		else if (typeInfo instanceof GenericTypeInfo) {
 
 Review comment:
   `LegacyTypeInfoDataTypeConverterTest` already covers RAW type, I updated the test result.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7404df3a2130267c63a43d42398f08fd6ae09b0b Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150812081) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685) 
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151556297",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5881",
       "triggerID" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151580589",
       "triggerID" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * ff034a88286bfc73d03ada3e74f4fb6b964cfffb Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/151580589) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5881) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-595066832
 
 
   Hi @JingsongLi , `LocalDateTime` will be converted into `DataTypes.TIMESTAMP(3).bridgedTo(LocalDateTime.class)`, so all the supported external types will not be converted into Raw type.  See `LegacyTypeInfoDataTypeConverter`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386801166
 
 

 ##########
 File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/utils/LegacyTypeInfoDataTypeConverter.java
 ##########
 @@ -181,6 +182,10 @@ else if (typeInfo instanceof CompositeType) {
 			return createLegacyType(LogicalTypeRoot.STRUCTURED_TYPE, typeInfo);
 		}
 
+		else if (typeInfo instanceof GenericTypeInfo) {
 
 Review comment:
   Can you add test to `LegacyTypeInfoDataTypeConverterTest`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7404df3a2130267c63a43d42398f08fd6ae09b0b Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150812081) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386916472
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
+        case pj: PojoTypeInfo[_] => expandPojoTypeToSchema(pj, queryLogicalType)
+        case _ => DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      }
     } else {
       // atomic type
       TableSchema.builder().field("f0", requestedOutputType).build()
     }
   }
 
+  /**
 
 Review comment:
   Besides, we have to keep the nested fields reordering in `TableSinkUtils` to make the simplest case `StreamTableEnvironmentITCase#testToAppendStreamWithPojoType` passed (no nested reordering required when code generation).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386802135
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/codegen/SinkCodeGenerator.scala
 ##########
 @@ -83,8 +86,10 @@ object SinkCodeGenerator {
             inputRowType,
             inputTerm,
             inputFieldMapping = Option(mapping))
+        val outputBaseRowType = new BaseRowTypeInfo(
+          getCompositeTypes(pojo).map(fromTypeInfoToLogicalType): _*)
 
 Review comment:
   It is pojo now, don't need `getCompositeTypes`.
   Just `RowType.of((0 until ct.getArity).map(ct.getTypeAt).toArray)`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * a82548bb1a4625f01ef9af16da11f6073832d957 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * a82548bb1a4625f01ef9af16da11f6073832d957 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/151518548) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386803247
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
+        case pj: PojoTypeInfo[_] => expandPojoTypeToSchema(pj, queryLogicalType)
+        case _ => DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      }
     } else {
       // atomic type
       TableSchema.builder().field("f0", requestedOutputType).build()
     }
   }
 
+  /**
 
 Review comment:
   Can you extract pojo mapping in `SinkCodeGenerator` to here too? Both are for POJO reorder.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151556297",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * ce440c8129607cd06f742fb0835da449f0456814 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/151556297) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151556297",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5881",
       "triggerID" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151580589",
       "triggerID" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * ff034a88286bfc73d03ada3e74f4fb6b964cfffb Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/151580589) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5881) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r385041279
 
 

 ##########
 File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/utils/LegacyTypeInfoDataTypeConverter.java
 ##########
 @@ -181,6 +182,10 @@ else if (typeInfo instanceof CompositeType) {
 			return createLegacyType(LogicalTypeRoot.STRUCTURED_TYPE, typeInfo);
 		}
 
+		else if (typeInfo instanceof GenericTypeInfo) {
+			return DataTypes.RAW(typeInfo).bridgedTo(typeInfo.getTypeClass());
 
 Review comment:
   Please help to check this change. cc @twalthr 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#discussion_r386914676
 
 

 ##########
 File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/sinks/TableSinkUtils.scala
 ##########
 @@ -189,13 +190,45 @@ object TableSinkUtils {
       queryLogicalType,
       withChangeFlag)
     if (LogicalTypeChecks.isCompositeType(requestedOutputType.getLogicalType)) {
-      DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      fromDataTypeToTypeInfo(requestedOutputType) match {
+        case pj: PojoTypeInfo[_] => expandPojoTypeToSchema(pj, queryLogicalType)
+        case _ => DataTypeUtils.expandCompositeTypeToSchema(requestedOutputType)
+      }
     } else {
       // atomic type
       TableSchema.builder().field("f0", requestedOutputType).build()
     }
   }
 
+  /**
 
 Review comment:
   Unfortunately, we can't reorder the nested data in `SinkCodeGenerator` for now. Because the `ExprCodeGenerator` only accetps the top-level `mapping`. If we want to support reorder nested data, `ExprCodeGenerator` requires a major refactoring. I will leave that as a future work and it is not a big requirement as of right now (it's hard to construct a nested named row for now). 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7404df3a2130267c63a43d42398f08fd6ae09b0b Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150812081) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685) 
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7404df3a2130267c63a43d42398f08fd6ae09b0b UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * a82548bb1a4625f01ef9af16da11f6073832d957 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/151518548) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862) 
   * ce440c8129607cd06f742fb0835da449f0456814 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7404df3a2130267c63a43d42398f08fd6ae09b0b Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/150812081) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685) 
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-593870432
 
 
   Thanks @JingsongLi , I updated the PR. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * a82548bb1a4625f01ef9af16da11f6073832d957 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/151518548) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
wuchong commented on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-592370151
 
 
   @flinkbot run travis

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * fd488f5cf0bf428170cb72cf434e01780cac8ef7 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/150821616) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689) 
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11236: [FLINK-16269][FLINK-16108][table-planner-blink] Fix schema of query and sink do not match when generic or POJO type is requested
URL: https://github.com/apache/flink/pull/11236#issuecomment-591902160
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5685",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150812081",
       "triggerID" : "7404df3a2130267c63a43d42398f08fd6ae09b0b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "c2e5a4fb73a7b2aca22e914e57b36bc3128bb966",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/150821616",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "fd488f5cf0bf428170cb72cf434e01780cac8ef7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5689",
       "triggerID" : "592370151",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5862",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151518548",
       "triggerID" : "a82548bb1a4625f01ef9af16da11f6073832d957",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/flink-ci/flink/builds/151556297",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ce440c8129607cd06f742fb0835da449f0456814",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875",
       "triggerID" : "ce440c8129607cd06f742fb0835da449f0456814",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ff034a88286bfc73d03ada3e74f4fb6b964cfffb",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * c2e5a4fb73a7b2aca22e914e57b36bc3128bb966 UNKNOWN
   * ce440c8129607cd06f742fb0835da449f0456814 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/151556297) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5875) 
   * ff034a88286bfc73d03ada3e74f4fb6b964cfffb UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services