Github user davies commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11984#discussion_r58010740
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/GenerateColumnAccessor.scala
 ---
    @@ -114,6 +117,42 @@ object GenerateColumnAccessor extends 
CodeGenerator[Seq[DataType], ColumnarItera
           (createCode, extract + patch)
         }.unzip
     
    +    /*
    +     * 200 = 6000 bytes / 30 (up to 30 bytes per one call))
    +     * the maximum byte code size to be compiled for HotSpot is 8000.
    +     * We should keep less than 8000
    +     */
    +    val numberOfStatementsThreshold = 200
    +    val (initializerAccessorFuncs, initializerAccessorCalls, 
extractorFuncs, extractorCalls) =
    +      if (initializeAccessors.length <= numberOfStatementsThreshold) {
    --- End diff --
    
    we could always put them in groups


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to