Skip to content

Commit

Permalink
fix and test (apache#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-mo authored and JkSelf committed Jul 12, 2023
1 parent 16655ed commit 894cf91
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ep/build-velox/src/get_velox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -exu

VELOX_REPO=https://github.com/oap-project/velox.git
VELOX_BRANCH=main
VELOX_REPO=https://github.com/rui-mo/velox.git
VELOX_BRANCH=wip_type
VELOX_HOME=""

#Set on run gluten on HDFS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class GlutenParquetIOSuite extends ParquetIOSuite with GlutenSQLTestsBaseTrait {
withParquetFile(data) { path =>
val errMsg = intercept[Exception](spark.read.schema(readSchema).parquet(path).collect())
.getMessage
assert(errMsg.contains(
"BaseVector::compatibleKind(BaseVector::typeKind(), source->typeKind())"))
assert(errMsg.contains("BaseVector::compatibleKind(outputType->childAt(i)->kind(), " +
"requestedType->childAt(i)->kind())"))
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class GlutenParquetIOSuite extends ParquetIOSuite with GlutenSQLTestsBaseTrait {
val errMsg = intercept[Exception](spark.read.schema(readSchema).parquet(path).collect())
.getMessage
assert(errMsg.contains(
"BaseVector::compatibleKind(BaseVector::typeKind(), source->typeKind())"))
"BaseVector::compatibleKind(outputType->childAt(i)->kind(), " +
"requestedType->childAt(i)->kind())"))
}
}
}

0 comments on commit 894cf91

Please sign in to comment.