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/10 08:01:20 UTC
[GitHub] [flink] JingsongLi opened a new pull request #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
JingsongLi opened a new pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047
## What is the purpose of the change
Discussion in: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-Improve-TableFactory-td36647.html
Vote in: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/VOTE-Improve-TableFactory-to-add-Context-td37211.html
Motivation:
Now the main needs and problems are:
Connector can't get TableConfig[1], and some behaviors really need to be
controlled by the user's table configuration. In the era of catalog, we
can't put these config in connector properties, which is too inconvenient.
A context class also allows for future modifications without touching the TableFactory interface again.
## Brief change log
1. Interface modification for table factories
2. Apply new interface in blink planner.
## Verifying this change
`CatalogTableITCase.testTableSourceSinkFactory`
## 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)
- 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 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 a change in pull request #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377458562
##########
File path: flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/factories/TableFactoryUtil.java
##########
@@ -103,4 +103,15 @@
return Optional.empty();
}
+ /**
Review comment:
I'll push another commit to `Support create table source/sink by context in legacy planner`
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380523394
##########
File path: flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/factories/StreamTableSourceFactory.java
##########
@@ -39,7 +39,20 @@
* @param properties normalized properties describing a stream table source.
* @return the configured stream table source.
*/
- StreamTableSource<T> createStreamTableSource(Map<String, String> properties);
+ default StreamTableSource<T> createStreamTableSource(Map<String, String> properties) {
+ return null;
+ }
+
+ /**
+ * Creates and configures a {@link StreamTableSource} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table source.
+ * @return the configured table source.
+ */
+ default StreamTableSource<T> createStreamTableSource(Context context) {
Review comment:
OK, I will remove this method.
----------------------------------------------------------------
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 #11047: [FLINK-15912][table]
Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r379996777
##########
File path: flink-connectors/flink-connector-hive/src/test/java/org/apache/flink/connectors/hive/HiveTableFactoryTest.java
##########
@@ -78,9 +83,39 @@ public void testGenericTable() throws Exception {
Optional<TableFactory> opt = catalog.getTableFactory();
assertTrue(opt.isPresent());
HiveTableFactory tableFactory = (HiveTableFactory) opt.get();
- TableSource tableSource = tableFactory.createTableSource(path, table);
+ TableSource tableSource = tableFactory.createTableSource(new TableSourceFactory.Context() {
+ @Override
+ public ObjectIdentifier getObjectIdentifier() {
+ return ObjectIdentifier.of("mycatalog", "mydb", "mytable");
+ }
+
+ @Override
+ public CatalogTable getTable() {
+ return table;
+ }
+
+ @Override
+ public ReadableConfig getConfiguration() {
+ return new Configuration();
+ }
+ });
assertTrue(tableSource instanceof StreamTableSource);
- TableSink tableSink = tableFactory.createTableSink(path, table);
+ TableSink tableSink = tableFactory.createTableSink(new TableSinkFactory.Context() {
Review comment:
Can we introduce a `TableSinkFactoryContextImpl` class to reduce so many anonymous classes?
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
* 2db873816bdf108a21f5405d1d7fbbcba4ef164c 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 edited a comment on issue #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584551301
We can wait this one: https://github.com/apache/flink/pull/11055 , to be more cleaner.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377451955
##########
File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/factories/TableSinkFactory.java
##########
@@ -53,4 +55,39 @@
return createTableSink(table.toProperties());
}
+ /**
+ * Creates and configures a {@link TableSink} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table sink.
+ * @return the configured table sink.
+ */
+ default TableSink<T> createTableSink(Context context) {
+ return createTableSink(
+ context.getObjectIdentifier().toObjectPath(),
+ context.getTable());
+ }
+
+ /**
+ * Context of table sink creation. Contains table information and
+ environment information.
+ */
+ interface Context {
+
+ /**
+ * @return full identifier of the given {@link CatalogTable}.
+ */
+ ObjectIdentifier getObjectIdentifier();
+
+ /**
+ * @return table {@link CatalogTable} instance.
+ */
+ CatalogTable getTable();
+
+ /**
+ * @return readable config of this table environment.
Review comment:
Add a description that the configuration gives the factory instance the ability to access `TableConfig#getConfiguration()` which holds the current TableEnvironment session configurations.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380000855
##########
File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/factories/TableSinkFactory.java
##########
@@ -40,7 +42,9 @@
* @param properties normalized properties describing a table sink.
* @return the configured table sink.
*/
- TableSink<T> createTableSink(Map<String, String> properties);
+ default TableSink<T> createTableSink(Map<String, String> properties) {
Review comment:
I think we can also deprecate this method now, as what we do for `TableSink#getOutputType` when `getConsumedDataType` is introduced.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff 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 closed pull request #11047: [FLINK-15912][table]
Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong closed pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149414269 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:daf7fda9ab89377adcf5888beebe379300c4140e Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149456383 TriggerType:PUSH TriggerID:daf7fda9ab89377adcf5888beebe379300c4140e
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
* 2db873816bdf108a21f5405d1d7fbbcba4ef164c Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149414269) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267)
* daf7fda9ab89377adcf5888beebe379300c4140e Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149456383)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380009489
##########
File path: flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/utils/TestContextTableFactory.scala
##########
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.table.utils
+
+import org.apache.flink.configuration.{ConfigOption, ConfigOptions}
+import org.apache.flink.table.factories.{StreamTableSinkFactory, StreamTableSourceFactory, TableFactoryUtil, TableSinkFactory, TableSourceFactory}
+import org.apache.flink.table.sinks.TableSink
+import org.apache.flink.table.sources.TableSource
+
+import org.junit.Assert
+
+import java.{lang, util}
+
+/**
+ * Test [[TableSourceFactory]] and [[TableSinkFactory]] for context.
+ */
+class TestContextTableFactory[T]
+ extends StreamTableSourceFactory[T] with StreamTableSinkFactory[T] {
+
+ val needContain: ConfigOption[lang.Boolean] =
+ ConfigOptions.key("need.contain").booleanType().defaultValue(false)
+ var hasInvokedSource = false
+ var hasInvokedSink = false
+
+ override def requiredContext(): util.Map[String, String] = {
+ throw new UnsupportedOperationException
+ }
+
+ override def supportedProperties(): util.List[String] = {
+ throw new UnsupportedOperationException
+ }
+
+ override def createTableSource(context: TableSourceFactory.Context): TableSource[T] = {
+ Assert.assertTrue(context.getConfiguration.get(needContain))
+ hasInvokedSource = true
+ TableFactoryUtil.findAndCreateTableSource(context)
+ }
+
+ override def createTableSink(context: TableSinkFactory.Context): TableSink[T] = {
+ Assert.assertTrue(context.getConfiguration.get(needContain))
Review comment:
Would be better to verify the `ObjectIdentifier` too.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380519273
##########
File path: flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/factories/StreamTableSourceFactory.java
##########
@@ -39,7 +39,20 @@
* @param properties normalized properties describing a stream table source.
* @return the configured stream table source.
*/
- StreamTableSource<T> createStreamTableSource(Map<String, String> properties);
+ default StreamTableSource<T> createStreamTableSource(Map<String, String> properties) {
+ return null;
+ }
+
+ /**
+ * Creates and configures a {@link StreamTableSource} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table source.
+ * @return the configured table source.
+ */
+ default StreamTableSource<T> createStreamTableSource(Context context) {
Review comment:
Yes. `StreamTableSourceFactory` should be deprecated. It is confused why there is a `StreamTableSourceFactory` and `TableSourceFactory`. But for compatibility, users can still use `StreamTableSourceFactory` but indicate users to use `TableSource<T> createTableSource(context)`.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r379999056
##########
File path: flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/CatalogTableImpl.java
##########
@@ -81,4 +81,31 @@ public CatalogBaseTable copy() {
return descriptor.asMap();
}
+
+ /**
+ * Construct a {@link CatalogTableImpl} from complete properties that contains table schema.
+ */
+ public static CatalogTableImpl fromProperties(Map<String, String> properties) {
+ Map<String, String> newProperties = new HashMap<>(properties);
+ TableSchema tableSchema = getSchema(newProperties);
+ schemaToProperties(tableSchema).keySet().forEach(newProperties::remove);
Review comment:
I think we can add a method to `DescriptorProperties#removeKeyPrefix(String prefix)` to drop schema properties. This can also be used in other place.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377458333
##########
File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/batch/sql/SinkTest.scala
##########
@@ -70,24 +69,82 @@ class SinkTest extends TableTestBase {
}
@Test
- def testCatalogTableSink(): Unit = {
- val schemaBuilder = new TableSchema.Builder()
- schemaBuilder.fields(Array("i"), Array(DataTypes.INT()))
- val schema = schemaBuilder.build()
- val sink = util.createCollectTableSink(schema.getFieldNames, Array(INT))
- val catalog = Mockito.spy(new GenericInMemoryCatalog("dummy"))
- val factory = Mockito.mock(classOf[TableSinkFactory[_]])
- Mockito.when[Optional[_]](catalog.getTableFactory).thenReturn(Optional.of(factory))
- Mockito.when[TableSink[_]](factory.createTableSink(
- ArgumentMatchers.any(), ArgumentMatchers.any())).thenReturn(sink)
- util.tableEnv.registerCatalog(catalog.getName, catalog)
- util.tableEnv.useCatalog(catalog.getName)
- val catalogTable = new CatalogTableImpl(schema, Map[String, String]().asJava, "")
- catalog.createTable(new ObjectPath("default", "tbl"), catalogTable, false)
- util.tableEnv.sqlQuery("select 1").insertInto("tbl")
+ def testTableSourceSinkFactory(): Unit = {
+ val factory = new TestContextTableFactory
+ util.tableEnv.getConfig.getConfiguration.setBoolean(factory.needContain, true)
+ util.tableEnv.registerCatalog("cat", new GenericInMemoryCatalog("default") {
Review comment:
Yes, you are right, but I want to modify this step by step.
The previous method `createTableSink(ObjectPath tablePath, CatalogTable table)` is only work in `createTableSinkForCatalogTable` too.
after these commits looks good to you, I will create following commit to fix this.
What do you think?
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149414269 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:daf7fda9ab89377adcf5888beebe379300c4140e Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149456383 TriggerType:PUSH TriggerID:daf7fda9ab89377adcf5888beebe379300c4140e
Hash:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149570715 TriggerType:PUSH TriggerID:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d
Hash:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5295 TriggerType:PUSH TriggerID:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
* 2db873816bdf108a21f5405d1d7fbbcba4ef164c Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149414269) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267)
* daf7fda9ab89377adcf5888beebe379300c4140e Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149456383)
* eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149570715) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5295)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149414269 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:daf7fda9ab89377adcf5888beebe379300c4140e Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:daf7fda9ab89377adcf5888beebe379300c4140e
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
* 2db873816bdf108a21f5405d1d7fbbcba4ef164c Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149414269) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267)
* daf7fda9ab89377adcf5888beebe379300c4140e 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 a change in pull request #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377474439
##########
File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/batch/sql/SinkTest.scala
##########
@@ -70,24 +69,82 @@ class SinkTest extends TableTestBase {
}
@Test
- def testCatalogTableSink(): Unit = {
- val schemaBuilder = new TableSchema.Builder()
- schemaBuilder.fields(Array("i"), Array(DataTypes.INT()))
- val schema = schemaBuilder.build()
- val sink = util.createCollectTableSink(schema.getFieldNames, Array(INT))
- val catalog = Mockito.spy(new GenericInMemoryCatalog("dummy"))
- val factory = Mockito.mock(classOf[TableSinkFactory[_]])
- Mockito.when[Optional[_]](catalog.getTableFactory).thenReturn(Optional.of(factory))
- Mockito.when[TableSink[_]](factory.createTableSink(
- ArgumentMatchers.any(), ArgumentMatchers.any())).thenReturn(sink)
- util.tableEnv.registerCatalog(catalog.getName, catalog)
- util.tableEnv.useCatalog(catalog.getName)
- val catalogTable = new CatalogTableImpl(schema, Map[String, String]().asJava, "")
- catalog.createTable(new ObjectPath("default", "tbl"), catalogTable, false)
- util.tableEnv.sqlQuery("select 1").insertInto("tbl")
+ def testTableSourceSinkFactory(): Unit = {
+ val factory = new TestContextTableFactory
+ util.tableEnv.getConfig.getConfiguration.setBoolean(factory.needContain, true)
+ util.tableEnv.registerCatalog("cat", new GenericInMemoryCatalog("default") {
Review comment:
I'll modify these things by multi commits.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380005079
##########
File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/utils/TestContextTableFactory.scala
##########
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.table.planner.plan.utils
+
+import org.apache.flink.configuration.{ConfigOption, ConfigOptions}
+import org.apache.flink.table.factories.{StreamTableSinkFactory, StreamTableSourceFactory, TableFactoryUtil, TableSinkFactory, TableSourceFactory}
+import org.apache.flink.table.sinks.{StreamTableSink, TableSink}
+import org.apache.flink.table.sources.{StreamTableSource, TableSource}
+
+import org.junit.Assert
+
+import java.{lang, util}
+
+/**
+ * Test [[TableSourceFactory]] and [[TableSinkFactory]] for context.
+ */
+class TestContextTableFactory[T]
+ extends StreamTableSourceFactory[T] with StreamTableSinkFactory[T] {
+
+ val needContain: ConfigOption[lang.Boolean] =
+ ConfigOptions.key("need.contain").booleanType().defaultValue(false)
+ var hasInvokedSource = false
+ var hasInvokedSink = false
+
+ override def createStreamTableSource(
+ properties: util.Map[String, String]): StreamTableSource[T] = {
+ throw new UnsupportedOperationException
Review comment:
Can be removed now, to verify this method is not requried to override anymore.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380450846
##########
File path: flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/factories/StreamTableSourceFactory.java
##########
@@ -39,7 +39,20 @@
* @param properties normalized properties describing a stream table source.
* @return the configured stream table source.
*/
- StreamTableSource<T> createStreamTableSource(Map<String, String> properties);
+ default StreamTableSource<T> createStreamTableSource(Map<String, String> properties) {
+ return null;
+ }
+
+ /**
+ * Creates and configures a {@link StreamTableSource} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table source.
+ * @return the configured table source.
+ */
+ default StreamTableSource<T> createStreamTableSource(Context context) {
Review comment:
if user use `TableSource`, there is no need to use `StreamTableSourceFactory`..
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377454733
##########
File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/batch/sql/SinkTest.scala
##########
@@ -70,24 +69,82 @@ class SinkTest extends TableTestBase {
}
@Test
- def testCatalogTableSink(): Unit = {
- val schemaBuilder = new TableSchema.Builder()
- schemaBuilder.fields(Array("i"), Array(DataTypes.INT()))
- val schema = schemaBuilder.build()
- val sink = util.createCollectTableSink(schema.getFieldNames, Array(INT))
- val catalog = Mockito.spy(new GenericInMemoryCatalog("dummy"))
- val factory = Mockito.mock(classOf[TableSinkFactory[_]])
- Mockito.when[Optional[_]](catalog.getTableFactory).thenReturn(Optional.of(factory))
- Mockito.when[TableSink[_]](factory.createTableSink(
- ArgumentMatchers.any(), ArgumentMatchers.any())).thenReturn(sink)
- util.tableEnv.registerCatalog(catalog.getName, catalog)
- util.tableEnv.useCatalog(catalog.getName)
- val catalogTable = new CatalogTableImpl(schema, Map[String, String]().asJava, "")
- catalog.createTable(new ObjectPath("default", "tbl"), catalogTable, false)
- util.tableEnv.sqlQuery("select 1").insertInto("tbl")
+ def testTableSourceSinkFactory(): Unit = {
+ val factory = new TestContextTableFactory
+ util.tableEnv.getConfig.getConfiguration.setBoolean(factory.needContain, true)
+ util.tableEnv.registerCatalog("cat", new GenericInMemoryCatalog("default") {
Review comment:
This only guarantees one of the paths, i.e. via `TableFactoryUtil#createTableSinkForCatalogTable`, which is only used by Hive. However, the another path is not covered, i.e. via `CatalogSourceTable#findAndCreateTableSource` which is used by most users.
Maybe you can upgrade the existing `TestCollectionTableFactory` to use the new interface and expose a session configuration, e.g. `collection.is-bounded`, the flag will be accessed via `Context#getConfiguration` and pass to the created `CollectionTableSource`.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377460951
##########
File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/batch/sql/SinkTest.scala
##########
@@ -70,24 +69,82 @@ class SinkTest extends TableTestBase {
}
@Test
- def testCatalogTableSink(): Unit = {
- val schemaBuilder = new TableSchema.Builder()
- schemaBuilder.fields(Array("i"), Array(DataTypes.INT()))
- val schema = schemaBuilder.build()
- val sink = util.createCollectTableSink(schema.getFieldNames, Array(INT))
- val catalog = Mockito.spy(new GenericInMemoryCatalog("dummy"))
- val factory = Mockito.mock(classOf[TableSinkFactory[_]])
- Mockito.when[Optional[_]](catalog.getTableFactory).thenReturn(Optional.of(factory))
- Mockito.when[TableSink[_]](factory.createTableSink(
- ArgumentMatchers.any(), ArgumentMatchers.any())).thenReturn(sink)
- util.tableEnv.registerCatalog(catalog.getName, catalog)
- util.tableEnv.useCatalog(catalog.getName)
- val catalogTable = new CatalogTableImpl(schema, Map[String, String]().asJava, "")
- catalog.createTable(new ObjectPath("default", "tbl"), catalogTable, false)
- util.tableEnv.sqlQuery("select 1").insertInto("tbl")
+ def testTableSourceSinkFactory(): Unit = {
+ val factory = new TestContextTableFactory
+ util.tableEnv.getConfig.getConfiguration.setBoolean(factory.needContain, true)
+ util.tableEnv.registerCatalog("cat", new GenericInMemoryCatalog("default") {
Review comment:
But without a test to cover the new interface, we have no idea whether it works as expected.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149414269 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:daf7fda9ab89377adcf5888beebe379300c4140e Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149456383 TriggerType:PUSH TriggerID:daf7fda9ab89377adcf5888beebe379300c4140e
Hash:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/149570715 TriggerType:PUSH TriggerID:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
* 2db873816bdf108a21f5405d1d7fbbcba4ef164c Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149414269) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267)
* daf7fda9ab89377adcf5888beebe379300c4140e Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149456383)
* eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/149570715)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380001446
##########
File path: flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/factories/StreamTableSourceFactory.java
##########
@@ -39,7 +39,20 @@
* @param properties normalized properties describing a stream table source.
* @return the configured stream table source.
*/
- StreamTableSource<T> createStreamTableSource(Map<String, String> properties);
+ default StreamTableSource<T> createStreamTableSource(Map<String, String> properties) {
+ return null;
+ }
+
+ /**
+ * Creates and configures a {@link StreamTableSource} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table source.
+ * @return the configured table source.
+ */
+ default StreamTableSource<T> createStreamTableSource(Context context) {
Review comment:
Do we need this interface?
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377452118
##########
File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/factories/TableSinkFactory.java
##########
@@ -53,4 +55,39 @@
return createTableSink(table.toProperties());
}
+ /**
+ * Creates and configures a {@link TableSink} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table sink.
+ * @return the configured table sink.
+ */
+ default TableSink<T> createTableSink(Context context) {
Review comment:
Should we deprecate the other `createTableSink` and `createTableSource` interfaces?
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 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 a change in pull request #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380448321
##########
File path: flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/factories/StreamTableSourceFactory.java
##########
@@ -48,4 +61,12 @@
default TableSource<T> createTableSource(Map<String, String> properties) {
return createStreamTableSource(properties);
}
+
+ /**
+ * Only create a stream table source.
+ */
+ @Override
+ default TableSource<T> createTableSource(Context context) {
+ return createStreamTableSource(context);
Review comment:
indicate users to implement `createStreamTableSource(context)`?
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377458723
##########
File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/factories/TableSinkFactory.java
##########
@@ -53,4 +55,39 @@
return createTableSink(table.toProperties());
}
+ /**
+ * Creates and configures a {@link TableSink} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table sink.
+ * @return the configured table sink.
+ */
+ default TableSink<T> createTableSink(Context context) {
Review comment:
I don't know... we can deprecate `createTableSink(ObjectPath, CatalogTable)`. 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380009278
##########
File path: flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/utils/TestContextTableFactory.scala
##########
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.table.utils
+
+import org.apache.flink.configuration.{ConfigOption, ConfigOptions}
+import org.apache.flink.table.factories.{StreamTableSinkFactory, StreamTableSourceFactory, TableFactoryUtil, TableSinkFactory, TableSourceFactory}
+import org.apache.flink.table.sinks.TableSink
+import org.apache.flink.table.sources.TableSource
+
+import org.junit.Assert
+
+import java.{lang, util}
+
+/**
+ * Test [[TableSourceFactory]] and [[TableSinkFactory]] for context.
+ */
+class TestContextTableFactory[T]
+ extends StreamTableSourceFactory[T] with StreamTableSinkFactory[T] {
+
+ val needContain: ConfigOption[lang.Boolean] =
+ ConfigOptions.key("need.contain").booleanType().defaultValue(false)
Review comment:
Can we give a more literal name for the key? e.g.
```scala
val REQUIRED_KEY: ConfigOption[lang.Boolean] = ConfigOptions
.key("testing.required.key").booleanType().defaultValue(false)
```
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380001365
##########
File path: flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/factories/StreamTableSourceFactory.java
##########
@@ -48,4 +61,12 @@
default TableSource<T> createTableSource(Map<String, String> properties) {
return createStreamTableSource(properties);
}
+
+ /**
+ * Only create a stream table source.
+ */
+ @Override
+ default TableSource<T> createTableSource(Context context) {
+ return createStreamTableSource(context);
Review comment:
We should validate the return value of `createStreamTableSource` is not null. If is null, we should throw an exception to indicate users to implement `createTableSource(context)`, because `createStreamTableSource(Map)` is default implemented now, and users may not override it.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/149392860)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380004457
##########
File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/batch/sql/TableFactoryTest.scala
##########
@@ -0,0 +1,78 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.table.planner.plan.batch.sql
+
+import org.apache.flink.table.catalog.GenericInMemoryCatalog
+import org.apache.flink.table.factories.TableFactory
+import org.apache.flink.table.planner.plan.utils.TestContextTableFactory
+import org.apache.flink.table.planner.utils.TableTestBase
+
+import org.junit.{Assert, Test}
+
+import java.util.Optional
+
+class TableFactoryTest extends TableTestBase {
Review comment:
We can merge this test and the streaming test into one using `Parameterized` test.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377452557
##########
File path: flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/factories/TableFactoryUtil.java
##########
@@ -103,4 +103,15 @@
return Optional.empty();
}
+ /**
Review comment:
We should make sure `TableSinkFactory#createTableSink(context)` is the only entry to be invoked by the planner. However, the above `createTableSinkForCatalogTable` method still calling the old `createTableSink` method in old planner.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380447021
##########
File path: flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/factories/StreamTableSourceFactory.java
##########
@@ -39,7 +39,20 @@
* @param properties normalized properties describing a stream table source.
* @return the configured stream table source.
*/
- StreamTableSource<T> createStreamTableSource(Map<String, String> properties);
+ default StreamTableSource<T> createStreamTableSource(Map<String, String> properties) {
+ return null;
+ }
+
+ /**
+ * Creates and configures a {@link StreamTableSource} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table source.
+ * @return the configured table source.
+ */
+ default StreamTableSource<T> createStreamTableSource(Context context) {
Review comment:
But he can still use the `TableSource<T> createTableSource(context)` interface.
----------------------------------------------------------------
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 #11047: [FLINK-15912][table]
Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584551301
We can wait this one: https://github.com/apache/flink/pull/11055
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380000717
##########
File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/factories/TableSinkFactory.java
##########
@@ -49,8 +53,46 @@
* @param table {@link CatalogTable} instance.
* @return the configured table sink.
*/
+ @Deprecated
Review comment:
Please add a deprecate javadoc to explain the deprecated reason and which method is recommended.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149414269 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
* 2db873816bdf108a21f5405d1d7fbbcba4ef164c Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149414269) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
<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 #11047: [FLINK-15912][table]
Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584000143
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 86c4939042e8af2da1ac1e5900225f4f0310fa04 (Mon Feb 10 08:03:11 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149414269 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:daf7fda9ab89377adcf5888beebe379300c4140e Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149456383 TriggerType:PUSH TriggerID:daf7fda9ab89377adcf5888beebe379300c4140e
Hash:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/149570715 TriggerType:PUSH TriggerID:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d
Hash:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5295 TriggerType:PUSH TriggerID:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
* 2db873816bdf108a21f5405d1d7fbbcba4ef164c Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149414269) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267)
* daf7fda9ab89377adcf5888beebe379300c4140e Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149456383)
* eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/149570715) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5295)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148340324 TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148547890 TriggerType:PUSH TriggerID:52bc7dcf579ef6e5e466ec93451cbf56451b1d41
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:a307994428657e1025786975b7cf11544afa3ab8 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148567327 TriggerType:PUSH TriggerID:a307994428657e1025786975b7cf11544afa3ab8
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:4749ac089576b36668e412acdbe56f55b4ffbdc6 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148576458 TriggerType:PUSH TriggerID:4749ac089576b36668e412acdbe56f55b4ffbdc6
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148711047 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:8c7c673b8bf46297d499db5725c127986533c8ff Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119 TriggerType:PUSH TriggerID:8c7c673b8bf46297d499db5725c127986533c8ff
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149097149 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:b1f4018140c5b3b881de6da6d5f69422a4b09831 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200 TriggerType:PUSH TriggerID:b1f4018140c5b3b881de6da6d5f69422a4b09831
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/149392860 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:342826120f528c06b9b811e4218a33ee3e4ba2d6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263 TriggerType:PUSH TriggerID:342826120f528c06b9b811e4218a33ee3e4ba2d6
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:2db873816bdf108a21f5405d1d7fbbcba4ef164c Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149414269 TriggerType:PUSH TriggerID:2db873816bdf108a21f5405d1d7fbbcba4ef164c
Hash:daf7fda9ab89377adcf5888beebe379300c4140e Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/149456383 TriggerType:PUSH TriggerID:daf7fda9ab89377adcf5888beebe379300c4140e
Hash:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148340324) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5041)
* 52bc7dcf579ef6e5e466ec93451cbf56451b1d41 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148547890) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5093)
* a307994428657e1025786975b7cf11544afa3ab8 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148567327) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5104)
* 4749ac089576b36668e412acdbe56f55b4ffbdc6 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148576458) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5106)
* 8c7c673b8bf46297d499db5725c127986533c8ff Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148711047) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5119)
* b1f4018140c5b3b881de6da6d5f69422a4b09831 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149097149) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5200)
* 342826120f528c06b9b811e4218a33ee3e4ba2d6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/149392860) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5263)
* 2db873816bdf108a21f5405d1d7fbbcba4ef164c Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149414269) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5267)
* daf7fda9ab89377adcf5888beebe379300c4140e Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/149456383)
* eba92d7d11c5de1a6e948e5e649fe2714bfe1f0d 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 a change in pull request #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r380445524
##########
File path: flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/factories/StreamTableSourceFactory.java
##########
@@ -39,7 +39,20 @@
* @param properties normalized properties describing a stream table source.
* @return the configured stream table source.
*/
- StreamTableSource<T> createStreamTableSource(Map<String, String> properties);
+ default StreamTableSource<T> createStreamTableSource(Map<String, String> properties) {
+ return null;
+ }
+
+ /**
+ * Creates and configures a {@link StreamTableSource} based on the given
+ {@link Context}.
+ *
+ * @param context context of this table source.
+ * @return the configured table source.
+ */
+ default StreamTableSource<T> createStreamTableSource(Context context) {
Review comment:
Somebody implements `StreamTableSourceFactory` looks like need this method.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:a9125de0859c43262d41c4cecee53ceeb807cf27 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:a9125de0859c43262d41c4cecee53ceeb807cf27
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
* a9125de0859c43262d41c4cecee53ceeb807cf27 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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#issuecomment-584007380
<!--
Meta data
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/148149333 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:86c4939042e8af2da1ac1e5900225f4f0310fa04 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991 TriggerType:PUSH TriggerID:86c4939042e8af2da1ac1e5900225f4f0310fa04
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148181501 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
Hash:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000 TriggerType:PUSH TriggerID:18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea
-->
## CI report:
* 86c4939042e8af2da1ac1e5900225f4f0310fa04 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/148149333) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4991)
* 18beb9a3c1ed78a6cbc1bc5ba9f96b51bbf8eeea Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148181501) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5000)
<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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377463034
##########
File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/batch/sql/SinkTest.scala
##########
@@ -70,24 +69,82 @@ class SinkTest extends TableTestBase {
}
@Test
- def testCatalogTableSink(): Unit = {
- val schemaBuilder = new TableSchema.Builder()
- schemaBuilder.fields(Array("i"), Array(DataTypes.INT()))
- val schema = schemaBuilder.build()
- val sink = util.createCollectTableSink(schema.getFieldNames, Array(INT))
- val catalog = Mockito.spy(new GenericInMemoryCatalog("dummy"))
- val factory = Mockito.mock(classOf[TableSinkFactory[_]])
- Mockito.when[Optional[_]](catalog.getTableFactory).thenReturn(Optional.of(factory))
- Mockito.when[TableSink[_]](factory.createTableSink(
- ArgumentMatchers.any(), ArgumentMatchers.any())).thenReturn(sink)
- util.tableEnv.registerCatalog(catalog.getName, catalog)
- util.tableEnv.useCatalog(catalog.getName)
- val catalogTable = new CatalogTableImpl(schema, Map[String, String]().asJava, "")
- catalog.createTable(new ObjectPath("default", "tbl"), catalogTable, false)
- util.tableEnv.sqlQuery("select 1").insertInto("tbl")
+ def testTableSourceSinkFactory(): Unit = {
+ val factory = new TestContextTableFactory
+ util.tableEnv.getConfig.getConfiguration.setBoolean(factory.needContain, true)
+ util.tableEnv.registerCatalog("cat", new GenericInMemoryCatalog("default") {
Review comment:
As I mentioned above, this test doesn't cover another path, i.e. `CatalogSourceTable#findAndCreateTableSource`.
----------------------------------------------------------------
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 #11047:
[FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
Posted by GitBox <gi...@apache.org>.
JingsongLi commented on a change in pull request #11047: [FLINK-15912][table] Add Context to TableSourceFactory and TableSinkFactory
URL: https://github.com/apache/flink/pull/11047#discussion_r377461934
##########
File path: flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/batch/sql/SinkTest.scala
##########
@@ -70,24 +69,82 @@ class SinkTest extends TableTestBase {
}
@Test
- def testCatalogTableSink(): Unit = {
- val schemaBuilder = new TableSchema.Builder()
- schemaBuilder.fields(Array("i"), Array(DataTypes.INT()))
- val schema = schemaBuilder.build()
- val sink = util.createCollectTableSink(schema.getFieldNames, Array(INT))
- val catalog = Mockito.spy(new GenericInMemoryCatalog("dummy"))
- val factory = Mockito.mock(classOf[TableSinkFactory[_]])
- Mockito.when[Optional[_]](catalog.getTableFactory).thenReturn(Optional.of(factory))
- Mockito.when[TableSink[_]](factory.createTableSink(
- ArgumentMatchers.any(), ArgumentMatchers.any())).thenReturn(sink)
- util.tableEnv.registerCatalog(catalog.getName, catalog)
- util.tableEnv.useCatalog(catalog.getName)
- val catalogTable = new CatalogTableImpl(schema, Map[String, String]().asJava, "")
- catalog.createTable(new ObjectPath("default", "tbl"), catalogTable, false)
- util.tableEnv.sqlQuery("select 1").insertInto("tbl")
+ def testTableSourceSinkFactory(): Unit = {
+ val factory = new TestContextTableFactory
+ util.tableEnv.getConfig.getConfiguration.setBoolean(factory.needContain, true)
+ util.tableEnv.registerCatalog("cat", new GenericInMemoryCatalog("default") {
Review comment:
What do you mean? Is this not a test cover?
----------------------------------------------------------------
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