[jira] [Created] (FLINK-18443) The operator name select: (ip, ts, count, environment.access AS access, environment.brand AS brand, sid, params.adid AS adid, eventid) exceeded the 80 characters length limit and was truncated

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18443) The operator name select: (ip, ts, count, environment.access AS access, environment.brand AS brand, sid, params.adid AS adid, eventid) exceeded the 80 characters length limit and was truncated

Shang Yuanchun (Jira)
mzz created FLINK-18443:
---------------------------

             Summary: The operator name select: (ip, ts, count, environment.access AS access, environment.brand AS brand, sid, params.adid AS adid, eventid) exceeded the 80 characters length limit and was truncated
                 Key: FLINK-18443
                 URL: https://issues.apache.org/jira/browse/FLINK-18443
             Project: Flink
          Issue Type: Bug
          Components: API / DataStream
    Affects Versions: 1.9.0
            Reporter: mzz


*Schema:*

{code:java}
.withSchema(new Schema()
 .field("ip", Types.STRING())
 .field("ts", Types.STRING())
 .field("procTime", Types.SQL_TIMESTAMP).proctime()
 .field("environment", schemaEnvironment)
 .field("advs", ObjectArrayTypeInfo.getInfoFor(new Array[Row](0).getClass,
  Types.ROW(Array("count","sid", "eventid","params"),
  Array[TypeInformation[_]](Types.STRING(),Types.STRING(),
  Types.STRING(),Types.ROW(Array("adid","adtype","ecpm"),Array[TypeInformation[_]] (Types.STRING(),Types.STRING(),Types.STRING()))))))
)
{code}

*when execute this sql*:

{code:java}
val sql =
      """
        |SELECT
        |ip,
        |ts,
        |params.ad,
        |params.adtype,
        |eventid,
        |procTime
        |FROM aggs_test
        |CROSS JOIN UNNEST(advs) AS t (`count`,sid, eventid,params)
        |""".stripMargin
{code}

*I got a warning,and the console keeps brushing this warning,no normal printout*

{code:java}
09:38:38,694 WARN  org.apache.flink.metrics.MetricGroup                          - The operator name correlate: table(explode($cor0.advs)), select: ip, ts, procTime, advs, sid, eventid, params exceeded the 80 characters length limit and was truncated.

{code}

*But after I change it to this way, although I occasionally brush this Warn, it can be output normally。I change the 'params' type from Types.ROW to Types.STRING*。

{code:java}
 .field("advs", ObjectArrayTypeInfo.getInfoFor(new Array[Row](0).getClass, Types.ROW(Array("count", "sid", "eventid", "params"),
          Array[TypeInformation[_]](Types.STRING(), Types.STRING(), Types.STRING(), Types.STRING()))))
{code}













--
This message was sent by Atlassian Jira
(v8.3.4#803005)