flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7209) Support DataView in Java and Scala Tuples and case classes or as the accumulator of AggregateFunction itself
Date Wed, 05 Dec 2018 07:28:00 GMT

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

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

dianfu opened a new pull request #7237: [FLINK-7209] [table] Support DataView in Tuple and
Case Class as the ACC type of AggregateFunction
URL: https://github.com/apache/flink/pull/7237
 
 
   ## What is the purpose of the change
   
   *This pull request adds support of DataView in Tuple and Case Class as the accumulator
type of AggregateFunction*
   
   ## Brief change log
   
     - *Updates UserDefinedFunctionUtils#removeStateViewFieldsFromAccTypeInfo to process TupleTypeInfo
and CaseClassTypeInfo for DataView*
     - *Updates MapViewTypeInfo and ListViewTypeInfo to use NullSerializer for serialization
when state backend is used*
   
   ## Verifying this change
   
   This change added tests and can be verified as follows:
   
     - *Updated tests of AggregateITCase#testGroupAggregateWithStateBackend*
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing,
Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (not applicable)
   

----------------------------------------------------------------
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:
users@infra.apache.org


> Support DataView in Java and Scala Tuples and case classes or as the accumulator of AggregateFunction
itself
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-7209
>                 URL: https://issues.apache.org/jira/browse/FLINK-7209
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API &amp; SQL
>            Reporter: kaibo.zhou
>            Assignee: Dian Fu
>            Priority: Major
>              Labels: pull-request-available
>
> Support DataView in Java and Scala Tuples and case classes or as the accumulator of AggregateFunction
itself.
> e.g.
> {code}
> public class MyAgg extends AggregateFunction<String, Tuple2<String, MapView>>
> {code}
> or
> {code}
> case class MyAcc(str: String, map: MapView)
> {code}



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

Mime
View raw message