~/talk

Discovering Types (from Strings) with Cats and Shapeless

Talkat Typelevel Summit Oslo 2016 · on Wednesday, 2016-05-04· [scala, data-engineering]
links:none on file
slides:none on file

Builds a schema discovery pipeline that takes one CSV column of strings and guesses concrete types using Cats and Shapeless rather than macros It implements parsers that return Option[T] for String Double Date etc and preserves those types by storing parsers in an HList of Parsers and invoking a Poly function to run them The pipeline also aggregates categorical counts by folding single entry maps with a Map monoid aggregation and demonstrates the approach works end to end in the provided REPL code

AI-written summary · about

  1. 0:00Introduction
  2. 0:18The problem
  3. 1:00Data scientists love strings
  4. 2:19Heuristics
  5. 3:00Demo
  6. 3:15Explanation
  7. 3:28Parser
  8. 5:46Shapeless
  9. 7:06Pars
  10. 7:52Strings
  11. 12:23SemiGroups
  12. 13:09Combine
  13. 14:11MonoID
  14. 14:46Complete Code
  15. 15:04Implicit Parameters
  16. 15:44Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.