You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "CHEN Zhongpu (Jira)" <ji...@apache.org> on 2023/02/22 03:06:00 UTC

[jira] [Created] (FLINK-31174) [Doc] Inconsistent data format between flink-training-repo and learn-flink doc

CHEN Zhongpu created FLINK-31174:
------------------------------------

             Summary: [Doc] Inconsistent data format between flink-training-repo and learn-flink doc
                 Key: FLINK-31174
                 URL: https://issues.apache.org/jira/browse/FLINK-31174
             Project: Flink
          Issue Type: Improvement
          Components: Documentation / Training
    Affects Versions: 1.16.1
            Reporter: CHEN Zhongpu


The data format specified in   [flink-training-repo|[https://github.com/apache/flink-training/tree/release-1.16]] shows that a TaixRide is either a start or an end one with the eventTime.

However, the Java code in [Data Pipelines & ETL|[https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/learn-flink/etl/]]  tried to get both "startTime" and "endTime". But in fact, those are not defined in flink-training-repo.
{code:java}
Interval rideInterval = new Interval(ride.startTime, ride.endTime); {code}
I think such inconsistency would puzzle new comers of Flink.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)