Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21193#discussion_r189208129
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/ColumnarBatchScan.scala 
---
    @@ -58,14 +59,14 @@ private[sql] trait ColumnarBatchScan extends 
CodegenSupport {
         }
         val valueVar = ctx.freshName("value")
         val str = s"columnVector[$columnVar, $ordinal, 
${dataType.simpleString}]"
    -    val code = s"${ctx.registerComment(str)}\n" + (if (nullable) {
    -      s"""
    +    val code = code"${ctx.registerComment(str)}\n" + (if (nullable) {
    --- End diff --
    
    the `\n` is not needed now, since we always add `\n` between code blocks.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to