Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Sep 9, 2024
1 parent 2110073 commit 51091b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/velox/compute/VeloxBackend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ void VeloxBackend::initConnector() {
ioThreads >= 0,
kVeloxIOThreads + " was set to negative number " + std::to_string(ioThreads) + ", this should not happen.");
if (ioThreads > 0) {
LOG(WARNING)
<< "Velox background IO threads is enabled. Which is highly unrecommended as of now, since it may cause"
<< " some unexpected issues like query crash or hanging. Please turn it off if you are unsure about"
<< " this option.";
ioExecutor_ = std::make_unique<folly::IOThreadPoolExecutor>(ioThreads);
}
velox::connector::registerConnector(std::make_shared<velox::connector::hive::HiveConnector>(
Expand Down

0 comments on commit 51091b6

Please sign in to comment.