Skip to content

Commit

Permalink
fix double quote in index (vesoft-inc#2258)
Browse files Browse the repository at this point in the history
Co-authored-by: jiahao_liu <[email protected]>
Co-authored-by: yaphet <[email protected]>
Co-authored-by: dangleptr <[email protected]>
  • Loading branch information
4 people authored Aug 5, 2020
1 parent 812deb2 commit 5e74ead
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ object SparkClientGenerator {

private[this] val BATCH_INSERT_TEMPLATE = "INSERT %s %s(%s) VALUES %s"
private[this] val INSERT_VALUE_TEMPLATE = "%s: (%s)"
private[this] val INSERT_VALUE_TEMPLATE_WITH_POLICY = "%s(\"%s\"): (%s)"
private[this] val INSERT_VALUE_TEMPLATE_WITH_POLICY = "%s(%s): (%s)"
private[this] val ENDPOINT_TEMPLATE = "%s(\"%s\")"
private[this] val EDGE_VALUE_WITHOUT_RANKING_TEMPLATE = "%s->%s: (%s)"
private[this] val EDGE_VALUE_WITHOUT_RANKING_TEMPLATE_WITH_POLICY = "%s->%s: (%s)"
Expand Down Expand Up @@ -297,7 +297,6 @@ object SparkClientGenerator {
fields.asScala.keys.toList
}

val vertexIndex = sourceProperties.indexOf(vertex)
val nebulaProperties = properties.mkString(",")
val data = createDataSource(spark, pathOpt, tagConfig)

Expand Down

0 comments on commit 5e74ead

Please sign in to comment.