Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NEUpanning committed Oct 9, 2024
1 parent 5ad1c69 commit e55f2ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/velox/compute/WholeStageResultIterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,8 @@ std::unordered_map<std::string, std::string> WholeStageResultIterator::getQueryC
// Enable Spark legacy date formatter if spark.sql.legacy.timeParserPolicy is set to 'LEGACY'.
if (veloxCfg_->get<std::string>(kSparkLegacyTimeParserPolicy, "") == "LEGACY") {
configs[velox::core::QueryConfig::kSparkLegacyDateFormatter] = "true";
} else {
configs[velox::core::QueryConfig::kSparkLegacyDateFormatter] = "false";
}

} catch (const std::invalid_argument& err) {
Expand Down

0 comments on commit e55f2ea

Please sign in to comment.