Skip to content

Commit

Permalink
[VL] Update Velox Version (2024_07_25-1) (apache#6584)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer authored and binwei committed Jul 29, 2024
1 parent 751fa83 commit 7b1fcd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ep/build-velox/src/get_velox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
set -exu

VELOX_REPO=https://github.com/oap-project/velox.git
VELOX_BRANCH=2024_07_25
VELOX_BRANCH=2024_07_25-1
VELOX_HOME=""

OS=`uname -s`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import org.apache.spark.sql.catalyst.expressions.codegen.GenerateUnsafeProjectio
import org.apache.spark.sql.catalyst.parser.LegacyTypeStringParser
import org.apache.spark.sql.catalyst.util.DateTimeUtils
import org.apache.spark.sql.errors.QueryExecutionErrors
import org.apache.spark.sql.execution.WholeStageCodegenExec
import org.apache.spark.sql.execution.datasources._
import org.apache.spark.sql.execution.vectorized.{OffHeapColumnVector, OnHeapColumnVector}
import org.apache.spark.sql.internal.SQLConf
Expand Down Expand Up @@ -215,8 +216,8 @@ class ParquetFileFormat extends FileFormat with DataSourceRegister with Logging
} else {
val conf = sparkSession.sessionState.conf
conf.parquetVectorizedReaderEnabled && conf.wholeStageEnabled &&
schema.length <= conf.wholeStageMaxNumFields &&
schema.forall(_.dataType.isInstanceOf[AtomicType])
ParquetUtils.isBatchReadSupportedForSchema(conf, schema) &&
!WholeStageCodegenExec.isTooManyFields(conf, schema)
}
}

Expand Down

0 comments on commit 7b1fcd8

Please sign in to comment.