[
https://issues.apache.org/jira/browse/BAHIR-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982402#comment-15982402
]
ASF GitHub Bot commented on BAHIR-111:
--------------------------------------
GitHub user ckadner opened a pull request:
https://github.com/apache/bahir-flink/pull/15
[BAHIR-111] Correcting imports of o.a.f.table.api.*
Issue link: [BAHIR-111: IntelliJ reports compilation error for
flink-connector-netty](https://issues.apache.org/jira/browse/BAHIR-111)
This change addresses the following compilation error in IntelliJ:
```
Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1
warning in 4s 337ms
Warning:scalac: there was one feature warning; re-run with -feature for
details
.../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
Error:Error:line (22)object table is not a member of package
org.apache.flink.api.scala
import org.apache.flink.api.scala.table._
Error:Error:line (23)object table is not a member of package
org.apache.flink.api
import org.apache.flink.api.table.TableEnvironment
Error:Error:line (45)not found: value TableEnvironment
val tEnv = TableEnvironment.getTableEnvironment(env)
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ckadner/bahir-flink patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bahir-flink/pull/15.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #15
----
commit 68d22c4cfd694cfbb1f4c80d5f1c4d0a4ae39521
Author: Christian Kadner <[email protected]>
Date: 2017-04-25T05:51:48Z
[BAHIR-111] Correcting imports of o.a.f.table.api.*
----
> IntelliJ reports compilation error for flink-connector-netty
> ------------------------------------------------------------
>
> Key: BAHIR-111
> URL: https://issues.apache.org/jira/browse/BAHIR-111
> Project: Bahir
> Issue Type: Bug
> Components: Build, Flink Streaming Connectors
> Environment: Mac OS Sierra: 10.12.3 (16D32)
> IntelliJ IDEA 2016.3.5
> JRE: 1.8.0_112-release-408-b6 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Maven 3.3.9
> Scala 2.11.8
> Reporter: Christian Kadner
> Priority: Minor
>
> In *IntelliJ*:
> - _File > New > Project from Version Control > GitHub >_ Repo URL:
> _"https://github.com/apache/bahir-flink.git"_
> - in the pop-up in the right bottom corner that says *"Non-managed pom.xml
> file found"*, click *"Add as Maven Project"*
> - in _Project Settings > Project_:
> -- _Project SDK_: Java 1.8
> -- _Language Level_: 8 (Lambdas, type annotations etc)
> - _Build > Build Project_
> *Compile output:*
> {code:Java}
> Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1
> warning in 4s 337ms
> Warning:scalac: there was one feature warning; re-run with -feature for
> details
> .../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
> Error:Error:line (22)object table is not a member of package
> org.apache.flink.api.scala
> import org.apache.flink.api.scala.table._
> Error:Error:line (23)object table is not a member of package
> org.apache.flink.api
> import org.apache.flink.api.table.TableEnvironment
> Error:Error:line (45)not found: value TableEnvironment
> val tEnv = TableEnvironment.getTableEnvironment(env)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)