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-5795) Improve “UDTF" to support constructor with parameter.
Date Thu, 16 Feb 2017 05:07:42 GMT

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

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

Github user wuchong commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3330#discussion_r101446163
  
    --- Diff: flink-libraries/flink-table/src/test/scala/org/apache/flink/table/runtime/dataset/DataSetUserDefinedFunctionITCase.scala
---
    @@ -0,0 +1,75 @@
    +/*
    + * 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.runtime.dataset
    +
    +import org.apache.flink.api.scala._
    +import org.apache.flink.types.Row
    +import org.apache.flink.table.api.scala.batch.utils.TableProgramsClusterTestBase
    +import org.apache.flink.table.api.scala.batch.utils.TableProgramsTestBase.TableConfigMode
    +import org.apache.flink.table.api.scala._
    +import org.apache.flink.table.api.TableEnvironment
    +import org.apache.flink.table.utils._
    +import org.apache.flink.test.util.TestBaseUtils
    +import org.junit.Test
    +import org.junit.runner.RunWith
    +import org.junit.runners.Parameterized
    +
    +import scala.collection.JavaConverters._
    +import scala.collection.mutable
    +
    +@RunWith(classOf[Parameterized])
    +class DataSetUserDefinedFunctionITCase (
    --- End diff --
    
    This class can go into `org.apache.flink.table.runtime.dataset.DataSetCorrelateITCase`


> Improve “UDTF" to support constructor with parameter.
> -----------------------------------------------------
>
>                 Key: FLINK-5795
>                 URL: https://issues.apache.org/jira/browse/FLINK-5795
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>            Reporter: sunjincheng
>            Assignee: sunjincheng
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message