Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
508965e6
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
508965e6
编写于
7月 05, 2016
作者:
T
twalthr
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-4111] [table] Flink Table & SQL doesn't work in very simple example
This closes #2209.
上级
cc9ee2cc
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
85 addition
and
131 deletion
+85
-131
flink-libraries/flink-cep-scala/pom.xml
flink-libraries/flink-cep-scala/pom.xml
+0
-1
flink-libraries/flink-gelly-scala/pom.xml
flink-libraries/flink-gelly-scala/pom.xml
+0
-1
flink-libraries/flink-table/pom.xml
flink-libraries/flink-table/pom.xml
+78
-126
flink-scala-shell/pom.xml
flink-scala-shell/pom.xml
+0
-1
flink-scala/pom.xml
flink-scala/pom.xml
+0
-1
flink-streaming-scala/pom.xml
flink-streaming-scala/pom.xml
+0
-1
pom.xml
pom.xml
+7
-0
未找到文件。
flink-libraries/flink-cep-scala/pom.xml
浏览文件 @
508965e6
...
...
@@ -98,7 +98,6 @@ under the License.
<plugin>
<groupId>
net.alchim31.maven
</groupId>
<artifactId>
scala-maven-plugin
</artifactId>
<version>
3.2.2
</version>
<executions>
<execution>
<goals>
...
...
flink-libraries/flink-gelly-scala/pom.xml
浏览文件 @
508965e6
...
...
@@ -83,7 +83,6 @@ under the License.
<plugin>
<groupId>
net.alchim31.maven
</groupId>
<artifactId>
scala-maven-plugin
</artifactId>
<version>
3.1.4
</version>
<executions>
<!-- Run scala compiler in the process-resources phase, so that dependencies on
scala classes can be resolved later in the (Java) compile phase -->
...
...
flink-libraries/flink-table/pom.xml
浏览文件 @
508965e6
...
...
@@ -36,55 +36,62 @@ under the License.
<!-- core dependencies -->
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-scala_2.10
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-streaming-scala_2.10
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-reflect
</artifactId>
</dependency>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-library
</artifactId>
</dependency>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-compiler
</artifactId>
</dependency>
<dependency>
<groupId>
org.codehaus.janino
</groupId>
<artifactId>
janino
</artifactId>
<version>
2.7.5
</version>
</dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.calcite
</groupId>
<artifactId>
calcite-core
</artifactId>
<version>
1.7.0
</version>
<exclusions>
<exclusion>
<groupId>
org.apache.calcite.avatica
</groupId>
<artifactId>
avatica-metrics
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-core
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-annotations
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.google.protobuf
</groupId>
<artifactId>
protobuf-java
</artifactId>
</exclusion>
<exclusion>
<groupId>
org.apache.httpcomponents
</groupId>
<artifactId>
httpclient
</artifactId>
</exclusion>
<exclusion>
<groupId>
org.apache.httpcomponents
</groupId>
<artifactId>
httpcore
</artifactId>
</exclusion>
<exclusion>
<groupId>
commons-dbcp
</groupId>
<artifactId>
commons-dbcp
</artifactId>
</exclusion>
<exclusion>
<groupId>
org.pentaho
</groupId>
<artifactId>
pentaho-aggdesigner-algorithm
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</dependency>
<!-- test dependencies -->
...
...
@@ -110,14 +117,6 @@ under the License.
<type>
test-jar
</type>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-streaming-java_2.10
</artifactId>
<version>
${project.version}
</version>
<scope>
test
</scope>
<type>
test-jar
</type>
</dependency>
</dependencies>
<build>
...
...
@@ -126,7 +125,6 @@ under the License.
<plugin>
<groupId>
net.alchim31.maven
</groupId>
<artifactId>
scala-maven-plugin
</artifactId>
<version>
3.1.4
</version>
<executions>
<!-- Run scala compiler in the process-resources phase, so that dependencies on
scala classes can be resolved later in the (Java) compile phase -->
...
...
@@ -134,6 +132,7 @@ under the License.
<id>
scala-compile-first
</id>
<phase>
process-resources
</phase>
<goals>
<goal>
add-source
</goal>
<goal>
compile
</goal>
</goals>
</execution>
...
...
@@ -148,80 +147,52 @@ under the License.
</goals>
</execution>
</executions>
<configuration>
<jvmArgs>
<jvmArg>
-Xms128m
</jvmArg>
<jvmArg>
-Xmx512m
</jvmArg>
</jvmArgs>
<compilerPlugins
combine.children=
"append"
>
<compilerPlugin>
<groupId>
org.scalamacros
</groupId>
<artifactId>
paradise_${scala.version}
</artifactId>
<version>
${scala.macros.version}
</version>
</compilerPlugin>
</compilerPlugins>
</configuration>
</plugin>
<!-- Eclipse Integration -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-eclipse-plugin
</artifactId>
<version>
2.8
</version>
<configuration>
<downloadSources>
true
</downloadSources>
<projectnatures>
<projectnature>
org.scala-ide.sdt.core.scalanature
</projectnature>
<projectnature>
org.eclipse.jdt.core.javanature
</projectnature>
</projectnatures>
<buildcommands>
<buildcommand>
org.scala-ide.sdt.core.scalabuilder
</buildcommand>
</buildcommands>
<classpathContainers>
<classpathContainer>
org.scala-ide.sdt.launching.SCALA_CONTAINER
</classpathContainer>
<classpathContainer>
org.eclipse.jdt.launching.JRE_CONTAINER
</classpathContainer>
</classpathContainers>
<excludes>
<exclude>
org.scala-lang:scala-library
</exclude>
<exclude>
org.scala-lang:scala-compiler
</exclude>
</excludes>
<sourceIncludes>
<sourceInclude>
**/*.scala
</sourceInclude>
<sourceInclude>
**/*.java
</sourceInclude>
</sourceIncludes>
</configuration>
</plugin>
<!-- Adding scala source directories to build path -->
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<version>
1.7
</version>
<artifactId>
maven-shade-plugin
</artifactId>
<executions>
<!-- Add src/main/scala to eclipse build path -->
<execution>
<id>
add-source
</id>
<phase>
generate-sources
</phase>
<goals>
<goal>
add-source
</goal>
</goals>
<id>
shade-flink
</id>
<configuration>
<sources>
<source>
src/main/scala
</source>
</sources>
</configuration>
</execution>
<!-- Add src/test/scala to eclipse build path -->
<execution>
<id>
add-test-source
</id>
<phase>
generate-test-sources
</phase>
<goals>
<goal>
add-test-source
</goal>
</goals>
<configuration>
<sources>
<source>
src/test/scala
</source>
</sources>
<filters>
<filter>
<excludes>
<exclude>
org-apache-calcite-jdbc.properties
</exclude>
<exclude>
mozilla/**
</exclude>
<exclude>
codegen/**
</exclude>
<exclude>
google/**
</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<includes
combine.children=
"append"
>
<include>
org.apache.calcite:*
</include>
<include>
org.apache.calcite.avatica:*
</include>
<include>
net.hydromatic:*
</include>
</includes>
</artifactSet>
<relocations>
<!-- We currently don't relocate slf4j as we have "logger not found"
warnings otherwise during runtime -->
<!--<relocation>
<pattern>org.slf4j</pattern>
<shadedPattern>org.apache.flink.shaded.calcite.org.slf4j</shadedPattern>
</relocation>-->
<relocation>
<pattern>
com.fasterxml.jackson
</pattern>
<shadedPattern>
org.apache.flink.shaded.calcite.com.fasterxml.jackson
</shadedPattern>
</relocation>
<relocation>
<pattern>
com.google
</pattern>
<shadedPattern>
org.apache.flink.shaded.calcite.com.google
</shadedPattern>
</relocation>
<relocation>
<pattern>
org.eigenbase
</pattern>
<shadedPattern>
org.apache.flink.shaded.calcite.org.eigenbase
</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
...
...
@@ -239,23 +210,4 @@ under the License.
</plugins>
</build>
<profiles>
<profile>
<id>
scala-2.10
</id>
<activation>
<property>
<!-- this is the default scala profile -->
<name>
!scala-2.11
</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>
org.scalamacros
</groupId>
<artifactId>
quasiquotes_${scala.binary.version}
</artifactId>
<version>
${scala.macros.version}
</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
flink-scala-shell/pom.xml
浏览文件 @
508965e6
...
...
@@ -95,7 +95,6 @@ under the License.
<plugin>
<groupId>
net.alchim31.maven
</groupId>
<artifactId>
scala-maven-plugin
</artifactId>
<version>
3.1.4
</version>
<executions>
<!-- Run scala compiler in the process-resources phase, so that dependencies on
scala classes can be resolved later in the (Java) compile phase -->
...
...
flink-scala/pom.xml
浏览文件 @
508965e6
...
...
@@ -110,7 +110,6 @@ under the License.
<plugin>
<groupId>
net.alchim31.maven
</groupId>
<artifactId>
scala-maven-plugin
</artifactId>
<version>
3.1.4
</version>
<executions>
<!-- Run scala compiler in the process-resources phase, so that dependencies on
scala classes can be resolved later in the (Java) compile phase -->
...
...
flink-streaming-scala/pom.xml
浏览文件 @
508965e6
...
...
@@ -106,7 +106,6 @@ under the License.
<plugin>
<groupId>
net.alchim31.maven
</groupId>
<artifactId>
scala-maven-plugin
</artifactId>
<version>
3.1.4
</version>
<executions>
<!-- Run scala compiler in the process-resources phase, so that dependencies on
scala classes can be resolved later in the (Java) compile phase -->
...
...
pom.xml
浏览文件 @
508965e6
...
...
@@ -1245,6 +1245,13 @@ under the License.
<outputEncoding>
UTF-8
</outputEncoding>
</configuration>
</plugin>
<!-- set scala maven plugin version -->
<plugin>
<groupId>
net.alchim31.maven
</groupId>
<artifactId>
scala-maven-plugin
</artifactId>
<version>
3.2.2
</version>
</plugin>
</plugins>
</pluginManagement>
</build>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录