Chao Sun created SPARK-35867:
--------------------------------

             Summary: Enable vectorized read for 
VectorizedPlainValuesReader.readBooleans
                 Key: SPARK-35867
                 URL: https://issues.apache.org/jira/browse/SPARK-35867
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Chao Sun


Currently we decode PLAIN encoded booleans as follow:
{code:java}
  public final void readBooleans(int total, WritableColumnVector c, int rowId) {
    // TODO: properly vectorize this
    for (int i = 0; i < total; i++) {
      c.putBoolean(rowId + i, readBoolean());
    }
  }
{code}

Ideally we should vectorize this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to