Grant Henke has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12083


Change subject: [spark] Add a format alias of “kudu”
......................................................................

[spark] Add a format alias of “kudu”

Implements the spark DataSourceRegister on the
kudu-spark DefaultSource to allow the use of
the alias “kudu” when using the Kudu format.

This patch also updates the documentation examples
to use the new aliased syntax given that is the Spark
defacto approach.

Additionally the old package object that was
effectively an alias for the longer format syntax
is marked as deprecated. This syntax doesn’t match
other spark examples and sources and could be
confusing.

Change-Id: I6bb2c7314652456b2f0fa3c4a110ef156503ef92
---
M docs/developing.adoc
M 
java/kudu-spark-tools/src/main/scala/org/apache/kudu/spark/tools/ImportExportFiles.scala
M 
java/kudu-spark-tools/src/main/scala/org/apache/kudu/spark/tools/IntegrationTestBigLinkedList.scala
A 
java/kudu-spark/src/main/resources/META-INF/services/org.apache.spark.sql.sources.DataSourceRegister
M java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/DefaultSource.scala
M java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/package.scala
M 
java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/DefaultSourceTest.scala
M 
java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/KuduContextTest.scala
M java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/StreamingTest.scala
9 files changed, 101 insertions(+), 59 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/83/12083/1
--
To view, visit http://gerrit.cloudera.org:8080/12083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6bb2c7314652456b2f0fa3c4a110ef156503ef92
Gerrit-Change-Number: 12083
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>

Reply via email to