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

    https://github.com/apache/spark/pull/20450#discussion_r165245334
  
    --- Diff: 
sql/core/src/main/java/org/apache/spark/sql/vectorized/ColumnVector.java ---
    @@ -215,10 +215,18 @@ public final ColumnarRow getStruct(int rowId) {
     
       /**
        * Returns the map type value for rowId.
    +   *
    +   * In Spark, map type value is basically a key data array and a value 
data array. A key from the
    +   * key array with a index and a value from the value array with the same 
index contribute to
    +   * an entry of this map type value.
    +   *
    +   * To support map type, implementations must construct an {@link 
ColumnarMap} and return it in
    --- End diff --
    
    Sure. LGTM.


---

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

Reply via email to