[
https://issues.apache.org/jira/browse/FLINK-21973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
xuhaiLong closed FLINK-21973.
-----------------------------
Resolution: Not A Bug
> Flink 1.12 has a column bug in creating views
> ---------------------------------------------
>
> Key: FLINK-21973
> URL: https://issues.apache.org/jira/browse/FLINK-21973
> Project: Flink
> Issue Type: Bug
> Reporter: xuhaiLong
> Priority: Major
>
> When I create view with the same column name, it use the positional
> mapping,is this a bug?
> val viewTable =
> """
> |CREATE VIEW ViewTest(
> | `userId`,
> | `item_id`,
> | `behavior`,
> | `item_name`,
> | `event_time`, `ptm`
> |) AS select user_id as userId, item_id, behavior, ptm, item_name,
> event_time from KafkaTable
> |""".stripMargin
>
> ptm -> item_name
--
This message was sent by Atlassian Jira
(v8.3.4#803005)