[ 
https://issues.apache.org/jira/browse/BAHIR-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983918#comment-15983918
 ] 

ASF subversion and git services commented on BAHIR-111:
-------------------------------------------------------

Commit 3f7223f40812cacd1c4a43f4d74aad2b76d3822c in bahir-flink's branch 
refs/heads/master from [~ckadner]
[ https://git-wip-us.apache.org/repos/asf?p=bahir-flink.git;h=3f7223f ]

[BAHIR-111] Update imports after FLINK-4707

Since Flink version 1.2.0, the Table API has moved to a new package.
See [FLINK-4707]: "Move Table API to org.apache.flink.table"

Closes #15


> 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
>            Assignee: Christian Kadner
>            Priority: Minor
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to