-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GLUTEN-2956][VL] Support Spark NullType #2996
Conversation
backends-velox/src/main/scala/io/glutenproject/backendsapi/velox/VeloxValidator.scala
Outdated
Show resolved
Hide resolved
b9f8731
to
a46c317
Compare
@jackylee-ch, please have a test to see whether there is any other issue. |
/Benchmark Velox |
===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
|
a46c317
to
3b9f459
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
passed customer test
As this PR depends on a patch for velox, let's wait for velox upstream contribution and velox code rebase. |
@@ -1220,6 +1223,17 @@ arrow::Status VeloxShuffleWriter::splitFixedWidthValueBuffer(const velox::RowVec | |||
case arrow::MapType::type_id: | |||
case arrow::ListType::type_id: | |||
break; | |||
case arrow::NullType::type_id: { | |||
std::shared_ptr<arrow::Buffer> validityBuffer = nullptr; | |||
ARROW_RETURN_NOT_OK(pool_->allocate(validityBuffer, arrow::bit_util::BytesForBits(newSize))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this piece of code needs to be updated to work with main branch
3b9f459
to
85c41e2
Compare
f019ba1
to
a327792
Compare
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This PR was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it is still valid. Thanks. |
@PHILO-HE what's the status of this PR? Is the PR submited to upstream Velox? |
which PR in velox? |
Hi @FelixYBW, we have 3 velox PRs for this. One is merged, two are still in progress. |
a327792
to
e9c131c
Compare
e9c131c
to
0a0ae07
Compare
Run Gluten Clickhouse CI |
0c35899
to
9b06ad5
Compare
Run Gluten Clickhouse CI |
9b06ad5
to
73f4afe
Compare
Run Gluten Clickhouse CI |
2 similar comments
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
710c2dc
to
1e2230e
Compare
This reverts commit d664256.
Run Gluten Clickhouse CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@PHILO-HE 8769 isn't merged yet. is it impact anything? |
===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
|
What changes were proposed in this pull request?
Spark's NullType can be mapped to substrait's nothing type and velox's UnknownType. And we also need some code changes in Velox to support this type.
(Fixes: #2956)
How was this patch tested?
Existing Spark UTs & new UTs to be added.