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-1687) Streaming file source/sink API is not in sync with the batch API
Date Wed, 20 May 2015 09:18:59 GMT

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

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

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

    https://github.com/apache/flink/pull/521#discussion_r30683561
  
    --- Diff: flink-staging/flink-streaming/flink-streaming-core/src/test/java/org/apache/flink/streaming/api/SourceAPITest.java
---
    @@ -0,0 +1,35 @@
    +/*
    + * 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.streaming.api;
    +
    +import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
    +import org.apache.flink.streaming.api.environment.StreamExecutionEnvironmentFactory;
    +import org.apache.flink.streaming.util.TestStreamEnvironment;
    +import org.junit.Test;
    +
    +public class SourceAPITest {
    +
    +	@Test
    +	public void sourceAPITest() throws Exception {
    +		StreamExecutionEnvironment env = new TestStreamEnvironment(4, 32);
    +		env.setBufferTimeout(1);
    +
    +		env.execute();
    --- End diff --
    
    what is this test testing?


> Streaming file source/sink API is not in sync with the batch API
> ----------------------------------------------------------------
>
>                 Key: FLINK-1687
>                 URL: https://issues.apache.org/jira/browse/FLINK-1687
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>            Reporter: Gábor Hermann
>            Assignee: Péter Szabó
>
> Streaming environment is missing file inputs like readFile, readCsvFile and also the
more general createInput function, and outputs like writeAsCsv and write. Streaming and batch
API should be consistent.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message