[
https://issues.apache.org/jira/browse/FLINK-7302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108649#comment-16108649
]
ASF GitHub Bot commented on FLINK-7302:
---------------------------------------
Github user zhangminglei commented on the issue:
https://github.com/apache/flink/pull/4424
@fhueske Thank you for your reply. Yes, I am always on the newest master
branch every time I write code. What you said about causes that issue reason,
it is did defined in ```org.apache.flink.table.utils._```. **But** the error is
that ```UserDefinedFunctionTestUtils``` imports twice in the same scope. If we
drop ```_``` and import specific class, we can get rid of this error. In
```import org.apache.flink.table.utils._``` package, there is a class called
```UserDefinedFunctionTestUtils``` and aslo in
```org.apache.flink.table.runtime.utils```, there is an object called
```UserDefinedFunctionTestUtils```. So, that is directly leading to the
compiler can not distinguish which one we want to choose.
BTW, I dont down what the reaction to this on Linux or Mac. I can not
afford a Mac, so I think i can found this error. Lol.
Yes. Recenly, I also found it seems that we have a new review code way like
#4444 . OKay. I will follow the rule next time opening a PR.
Thanks again,
Minglei.
> Failed to run CorrelateITCase class under windows environment
> -------------------------------------------------------------
>
> Key: FLINK-7302
> URL: https://issues.apache.org/jira/browse/FLINK-7302
> Project: Flink
> Issue Type: Bug
> Components: Table API & SQL
> Environment: Windows 7
> Reporter: mingleizhang
> Assignee: mingleizhang
>
> Error:(220, 5) reference to UserDefinedFunctionTestUtils is ambiguous;
> it is imported twice in the same scope by
> import org.apache.flink.table.utils._
> and import org.apache.flink.table.runtime.utils._
> UserDefinedFunctionTestUtils.setJobParameters(env, Map("word_separator"
> -> "#"))
> Error:(240, 5) reference to UserDefinedFunctionTestUtils is ambiguous;
> it is imported twice in the same scope by
> import org.apache.flink.table.utils._
> and import org.apache.flink.table.runtime.utils._
> UserDefinedFunctionTestUtils.setJobParameters(
> Error:(107, 5) reference to UserDefinedFunctionTestUtils is ambiguous;
> it is imported twice in the same scope by
> import org.apache.flink.table.utils._
> and import org.apache.flink.table.runtime.utils._
> UserDefinedFunctionTestUtils.setJobParameters(env, Map("word_separator"
> -> " "))
> Error:(129, 5) reference to UserDefinedFunctionTestUtils is ambiguous;
> it is imported twice in the same scope by
> import org.apache.flink.table.utils._
> and import org.apache.flink.table.runtime.utils._
> UserDefinedFunctionTestUtils.setJobParameters(
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)