Skip to content

Commit

Permalink
Fix the compile issue when rebasing upstream velox to 11/7 (#3624)
Browse files Browse the repository at this point in the history
  • Loading branch information
JkSelf authored Nov 7, 2023
1 parent a14baf3 commit e3eff1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import org.apache.commons.lang3.StringUtils
import scala.sys.process._

class ListenerApiImpl extends ListenerApi {
private val ARROW_VERSION = "1300"
private val ARROW_VERSION = "1400"

override def onDriverStart(conf: SparkConf): Unit = {
// sql table cache serializer
Expand Down
8 changes: 4 additions & 4 deletions cpp/CMake/ConfigArrow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
# under the License.

if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
set(ARROW_SHARED_LIBRARY_SUFFIX ".1300.dylib")
set(ARROW_SHARED_LIBRARY_PARENT_SUFFIX ".1300.0.0.dylib")
set(ARROW_SHARED_LIBRARY_SUFFIX ".1400.dylib")
set(ARROW_SHARED_LIBRARY_PARENT_SUFFIX ".1400.0.0.dylib")
else()
set(ARROW_SHARED_LIBRARY_SUFFIX ".so.1300")
set(ARROW_SHARED_LIBRARY_PARENT_SUFFIX ".so.1300.0.0")
set(ARROW_SHARED_LIBRARY_SUFFIX ".so.1400")
set(ARROW_SHARED_LIBRARY_PARENT_SUFFIX ".so.1400.0.0")
endif()

set(ARROW_LIB_NAME "arrow")
Expand Down
2 changes: 0 additions & 2 deletions cpp/velox/compute/WholeStageResultIterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,6 @@ std::unordered_map<std::string, std::string> WholeStageResultIterator::getQueryC
getConfigValue(confMap_, kMinSpillRunSize, std::to_string(256 << 20));
configs[velox::core::QueryConfig::kSpillStartPartitionBit] =
getConfigValue(confMap_, kSpillStartPartitionBit, "29");
configs[velox::core::QueryConfig::kAggregationSpillPartitionBits] =
getConfigValue(confMap_, kSpillPartitionBits, "2");
configs[velox::core::QueryConfig::kJoinSpillPartitionBits] = getConfigValue(confMap_, kSpillPartitionBits, "2");
configs[velox::core::QueryConfig::kSpillableReservationGrowthPct] =
getConfigValue(confMap_, kSpillableReservationGrowthPct, "25");
Expand Down

0 comments on commit e3eff1d

Please sign in to comment.