Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial add TableStore streaming source #366

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

okingniko
Copy link
Contributor

Initial add TableStore streaming source

@CLAassistant
Copy link

CLAassistant commented Oct 11, 2019

CLA assistant check
All committers have signed the CLA.

@@ -18,7 +18,7 @@
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_${scala.binary.version}</artifactId>
<scope>provided</scope>
<scope>provided</scope>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -0,0 +1,9 @@
version=2.0.0-RC5
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file can be deleted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -0,0 +1,13 @@
package org.apache.spark.sql.aliyun.tablestore
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing license header

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all files add license header

jCols.obj.map { case (name, jvalue) =>
(name, jvalue.values.asInstanceOf[Map[String, String]])
jCols.obj.map {
case (name, jvalue) =>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: previous code style is just ok

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkout to the previous version

Comment on lines 27 to 29
)(@transient val sqlContext: SQLContext) extends Sink with Logging {
)(@transient val sqlContext: SQLContext)
extends Sink
with Logging {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: keep the previous code style here and other places

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment on lines 21 to 24
import com.alicloud.openservices.tablestore.model.tunnel.internal.{
CheckpointRequest,
GetCheckpointRequest
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: keep in same line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@uncleGen uncleGen added this to the v1.8.0 milestone Oct 12, 2019
@okingniko okingniko force-pushed the master-2.x branch 2 times, most recently from cbddf67 to f4d3636 Compare October 14, 2019 01:25
@uncleGen
Copy link
Collaborator

LGTM,thanks

@uncleGen uncleGen merged commit 0730cfa into aliyun:master-2.x Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants