Grant Henke has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/12083 Reviewed-by: Mike Percy <[email protected]> Tested-by: Kudu Jenkins --- 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, 109 insertions(+), 63 deletions(-) Approvals: Mike Percy: Looks good to me, approved Kudu Jenkins: Verified -- 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: merged Gerrit-Change-Id: I6bb2c7314652456b2f0fa3c4a110ef156503ef92 Gerrit-Change-Number: 12083 Gerrit-PatchSet: 4 Gerrit-Owner: Grant Henke <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Hao Hao <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Mike Percy <[email protected]>
