[ 
https://issues.apache.org/jira/browse/FLINK-9737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660201#comment-16660201
 ] 

ASF GitHub Bot commented on FLINK-9737:
---------------------------------------

twalthr commented on a change in pull request #6897: [FLINK-9737] [FLINK-8880] 
[sql-client] Support defining temporal tables in environment files
URL: https://github.com/apache/flink/pull/6897#discussion_r227255346
 
 

 ##########
 File path: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/descriptors/DescriptorProperties.scala
 ##########
 @@ -185,6 +196,18 @@ class DescriptorProperties(normalizeKeys: Boolean = true) 
{
     putIndexedVariableProperties(key, 
propertySets.asScala.map(_.asScala.toMap))
   }
 
+  /**
+    * Adds an array of properties under a common key.
+    *
+    * The key consumer receives the array key and value for inserting the 
array element.
+    */
+  def putArray[E](key: String, values: JList[E], keyConsumer: 
BiConsumer[String, E]): Unit = {
 
 Review comment:
   Yes, you are right. This method was also one of the methods where I thought 
it would make sense to make the `put/get/validate` methods more modular. I'm 
fine with removing these changes for now and open a follow-up issue. The 
temporal tables don't support composite keys so far anyway.

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


> Allow to define Table Version Functions from SQL environment file
> -----------------------------------------------------------------
>
>                 Key: FLINK-9737
>                 URL: https://issues.apache.org/jira/browse/FLINK-9737
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>    Affects Versions: 1.5.0
>            Reporter: Piotr Nowojski
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>
> It should be possible to define TVF from SQL environment file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to