salesforce / TransmogrifAI

TransmogrifAI (pronounced trăns-mŏgˈrə-fī) is an AutoML library for building modular, reusable, strongly typed machine learning workflows on Apache Spark with minimal hand-tuning
https://transmogrif.ai
BSD 3-Clause "New" or "Revised" License
2.24k stars 392 forks source link

Cherry-pick Fix Days.daysBetween int overflow (#471) #472

Closed winterslu closed 4 years ago

winterslu commented 4 years ago

(cherry picked from commit dc33adab195630f4a9b8ad33dcab97a7c3e88560)

winterslu commented 4 years ago

@gerashegalov @TuanNguyen27 FYI for review only, dont merge, dont update branch please...

gerashegalov commented 4 years ago

Please create a branch

git checkout -b fbad63d patch-fbad63d

and push it to the remote then target this PR to patch-fbad63d

codecov[bot] commented 4 years ago

Codecov Report

Merging #472 into master will decrease coverage by 9.33%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #472      +/-   ##
==========================================
- Coverage   86.97%   77.63%   -9.34%     
==========================================
  Files         341      345       +4     
  Lines       11507    12556    +1049     
  Branches      374      646     +272     
==========================================
- Hits        10008     9748     -260     
- Misses       1499     2808    +1309     
Impacted Files Coverage Δ
...ce/op/stages/impl/feature/DateListVectorizer.scala 98.01% <100.00%> (-1.00%) :arrow_down:
...force/op/stages/impl/feature/OPMapVectorizer.scala 97.81% <100.00%> (-0.02%) :arrow_down:
...a/com/salesforce/op/utils/date/DateTimeUtils.scala 100.00% <100.00%> (ø)
...om/salesforce/op/stages/impl/feature/OpNGram.scala 0.00% <0.00%> (-100.00%) :arrow_down:
...alesforce/op/stages/impl/feature/OpHashingTF.scala 0.00% <0.00%> (-100.00%) :arrow_down:
...lesforce/op/stages/impl/feature/LangDetector.scala 0.00% <0.00%> (-100.00%) :arrow_down:
...alesforce/op/stages/DefaultValueReaderWriter.scala 0.00% <0.00%> (-100.00%) :arrow_down:
...e/op/stages/impl/feature/TextMapLenEstimator.scala 0.00% <0.00%> (-100.00%) :arrow_down:
...tages/impl/feature/TimePeriodListTransformer.scala 0.00% <0.00%> (-100.00%) :arrow_down:
...mpl/feature/DecisionTreeNumericMapBucketizer.scala 0.00% <0.00%> (-93.88%) :arrow_down:
... and 56 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fbad63d...763771a. Read the comment docs.