You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by GitBox <gi...@apache.org> on 2021/09/30 15:15:43 UTC

[GitHub] [carbondata] akashrn5 commented on a change in pull request #4222: [CARBONDATA-4292] Spatial index creation using spark dataframe

akashrn5 commented on a change in pull request #4222:
URL: https://github.com/apache/carbondata/pull/4222#discussion_r719427368



##########
File path: integration/spark/src/main/scala/org/apache/spark/sql/CarbonDataFrameWriter.scala
##########
@@ -82,6 +83,7 @@ class CarbonDataFrameWriter(sqlContext: SQLContext, val dataFrame: DataFrame) {
   }
 
   private def makeCreateTableString(schema: StructType, options: CarbonOption): String = {
+    val indexName = options.SPATIAL_INDEX.getOrElse("")

Review comment:
       ```suggestion
       val indexName = options.indexName
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@carbondata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org